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



On Wed, 2018-06-13 at 09:42 -0400, Partha Bagchi wrote:
On Fri, Jun 8, 2018 at 6:42 AM Michael Natterer <mitch gimp org>
wrote:

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.

Sorry for the late response Mitch. Due to change in the App
structure, it

took me a while to create a MacOS app.

Anyway, I'm not exactly sure how to check if the tools have different
cursors.  Do you mean for instance that If I've selected the lasso
tool,
then the cursor turns to a lasso? In my case it does.

Then it's good :)

However, I do have the following message:

gimp_devices_restore: set default tool on loaded GimpDeviceInfo
without
tool options: Quartz Cursor
gimp_devices_restore: set default tool on loaded GimpDeviceInfo
without
tool options: Quartz Eraser
gimp_devices_restore: set default tool on loaded GimpDeviceInfo
without
tool options: Quartz Pen


There there's more to this?

No this should happen only when reading devicerc that was written by 
an older version, the messages just indicate that importing the old
format worked. Save devices once (or on each exit) and it will be
silent.

Regards,
Mitch



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