Re: [Gimp-developer] GIMP Git gimp_too_cursors_get_resource error MacOS



On Fri, 2018-06-08 at 06:36 -0400, Partha Bagchi wrote:
On Fri, Jun 8, 2018 at 2:56 AM Michael Natterer <mitch gimp org>
wrote:

On Thu, 2018-06-07 at 11:28 -0400, Partha Bagchi wrote:
I get the following:

Undefined symbols for architecture x86_64:
  "_gimp_tool_cursors_get_resource", referenced from:
     -u command line option
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to
see
invocation)
make[3]: *** [gimp-console-2.99] Error 1


This is due to this line in ./app/Makefile

#\
# -Wl,-u,$(SYMPREFIX)gimp_tool_cursors_get_resource


I think this should not be there. After I comment it out, it
compiles
normally.

But you probably have no cursors :)


How do I verify that? Wouldn't I have had this issue when I was
compiling
GIMP 2.10? Little confused. :)

Cursor resource genration was changed in master, we now generate
them in the directory where they are compiled , but they have
to be linked in by force because nothing in the source references
the symbol.

Just check if you tools have different cursors.


The symbol must be there is the resource file was properly
generated.


I assume the resource file is ./app/widgets/gimp-tool-cursors.c? This
file
is identical to GIMP-2.10/cursors/gimp-tool-cursors.c. So, does that
mean
it was generated properly?

I also noticed that GIMP 2.10 Makfile.am didn't include that line
while
GIMP 2.99.1 does.


--Mitch


Thanks,
Partha


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]