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

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
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

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. :)

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 didn't include that line while
GIMP 2.99.1 does.



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