RSS/Atom feed Twitter
Site is read-only, email is disabled

GIMP Git gimp_too_cursors_get_resource error MacOS

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

12 of 12 messages available
Toggle history

Please log in to manage your subscriptions.

GIMP Git gimp_too_cursors_get_resource error MacOS Partha Bagchi 07 Jun 15:28
  GIMP Git gimp_too_cursors_get_resource error MacOS Michael Natterer 08 Jun 06:56
   GIMP Git gimp_too_cursors_get_resource error MacOS Partha Bagchi 08 Jun 10:36
    GIMP Git gimp_too_cursors_get_resource error MacOS Michael Natterer 08 Jun 10:42
     GIMP Git gimp_too_cursors_get_resource error MacOS Partha Bagchi 13 Jun 13:42
      GIMP Git gimp_too_cursors_get_resource error MacOS Michael Natterer 13 Jun 16:33
       GIMP Git gimp_too_cursors_get_resource error MacOS Partha Bagchi 13 Jun 16:47
        GIMP Git gimp_too_cursors_get_resource error MacOS Michael Natterer 13 Jun 17:31
         GIMP Git gimp_too_cursors_get_resource error MacOS Michael Natterer 13 Jun 17:33
          GIMP Git gimp_too_cursors_get_resource error MacOS Michael Natterer 13 Jun 17:37
           GIMP Git gimp_too_cursors_get_resource error MacOS Partha Bagchi 13 Jun 17:54
            GIMP Git gimp_too_cursors_get_resource error MacOS Partha Bagchi 14 Jun 03:00
Partha Bagchi
2018-06-07 15:28:19 UTC (almost 6 years ago)

GIMP Git gimp_too_cursors_get_resource error MacOS

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.

Thanks,
Partha

Michael Natterer
2018-06-08 06:56:28 UTC (almost 6 years ago)

GIMP Git gimp_too_cursors_get_resource error MacOS

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

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

--Mitch

Partha Bagchi
2018-06-08 10:36:05 UTC (almost 6 years ago)

GIMP Git gimp_too_cursors_get_resource error MacOS

On Fri, Jun 8, 2018 at 2:56 AM Michael Natterer 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. :)

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

Michael Natterer
2018-06-08 10:42:25 UTC (almost 6 years ago)

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

Partha Bagchi
2018-06-13 13:42:42 UTC (almost 6 years ago)

GIMP Git gimp_too_cursors_get_resource error MacOS

On Fri, Jun 8, 2018 at 6:42 AM Michael Natterer wrote:

On Fri, 2018-06-08 at 06:36 -0400, Partha Bagchi wrote:

On Fri, Jun 8, 2018 at 2:56 AM Michael Natterer 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.

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?

Thanks, Partha

Michael Natterer
2018-06-13 16:33:23 UTC (almost 6 years ago)

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

On Fri, 2018-06-08 at 06:36 -0400, Partha Bagchi wrote:

On Fri, Jun 8, 2018 at 2:56 AM Michael Natterer 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

Partha Bagchi
2018-06-13 16:47:52 UTC (almost 6 years ago)

GIMP Git gimp_too_cursors_get_resource error MacOS

On Wed, Jun 13, 2018 at 12:33 PM Michael Natterer wrote:

On Wed, 2018-06-13 at 09:42 -0400, Partha Bagchi wrote:

On Fri, Jun 8, 2018 at 6:42 AM Michael Natterer wrote:

On Fri, 2018-06-08 at 06:36 -0400, Partha Bagchi wrote:

On Fri, Jun 8, 2018 at 2:56 AM Michael Natterer 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 :)

That's good to know from my perspective too! :)

Then we have to remove Line 134 from ./app/Makefile.am. Otherwise, GIMP won't compile. Do you agree?

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.

Ahh, yes, OK. Since it's reading the devicerc from GIMP 2.10.2.

Regards,
Mitch

Thanks,
Partha

Michael Natterer
2018-06-13 17:31:22 UTC (almost 6 years ago)

GIMP Git gimp_too_cursors_get_resource error MacOS

On Wed, 2018-06-13 at 12:47 -0400, Partha Bagchi wrote:

On Wed, Jun 13, 2018 at 12:33 PM Michael Natterer wrote:

On Wed, 2018-06-13 at 09:42 -0400, Partha Bagchi wrote:

On Fri, Jun 8, 2018 at 6:42 AM Michael Natterer wrote:

On Fri, 2018-06-08 at 06:36 -0400, Partha Bagchi wrote:

On Fri, Jun 8, 2018 at 2:56 AM Michael Natterer 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 :)

That's good to know from my perspective too! :)

Then we have to remove Line 134 from ./app/Makefile.am. Otherwise, GIMP
won't compile. Do you agree?

If we remove that line, we don't have cursors at all, it simply won't link in the file that's not referenced from anywhere, on linux, gcc and standard ld.

Regards, Mitch

Michael Natterer
2018-06-13 17:33:51 UTC (almost 6 years ago)

GIMP Git gimp_too_cursors_get_resource error MacOS

On Wed, 2018-06-13 at 19:31 +0200, Michael Natterer wrote:

On Wed, 2018-06-13 at 12:47 -0400, Partha Bagchi wrote:

On Wed, Jun 13, 2018 at 12:33 PM Michael Natterer wrote:

On Wed, 2018-06-13 at 09:42 -0400, Partha Bagchi wrote:

On Fri, Jun 8, 2018 at 6:42 AM Michael Natterer

wrote:

On Fri, 2018-06-08 at 06:36 -0400, Partha Bagchi wrote:

On Fri, Jun 8, 2018 at 2:56 AM Michael Natterer 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 :)

That's good to know from my perspective too! :)

Then we have to remove Line 134 from ./app/Makefile.am. Otherwise, GIMP
won't compile. Do you agree?

If we remove that line, we don't have cursors at all, it simply won't link in the file that's not referenced from anywhere, on linux, gcc and standard ld.

Sent too early...

Does the linker error happend for gimp-console or gimp?

Michael Natterer
2018-06-13 17:37:54 UTC (almost 6 years ago)

GIMP Git gimp_too_cursors_get_resource error MacOS

On Wed, 2018-06-13 at 19:33 +0200, Michael Natterer wrote:

On Wed, 2018-06-13 at 19:31 +0200, Michael Natterer wrote:

On Wed, 2018-06-13 at 12:47 -0400, Partha Bagchi wrote:

On Wed, Jun 13, 2018 at 12:33 PM Michael Natterer

wrote:

On Wed, 2018-06-13 at 09:42 -0400, Partha Bagchi wrote:

On Fri, Jun 8, 2018 at 6:42 AM Michael Natterer

wrote:

On Fri, 2018-06-08 at 06:36 -0400, Partha Bagchi wrote:

On Fri, Jun 8, 2018 at 2:56 AM Michael Natterer 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 :)

That's good to know from my perspective too! :)

Then we have to remove Line 134 from ./app/Makefile.am. Otherwise,
GIMP
won't compile. Do you agree?

If we remove that line, we don't have cursors at all, it simply won't link in the file that's not referenced from anywhere, on linux, gcc and standard ld.

Sent too early...

Does the linker error happend for gimp-console or gimp?

Well... git pull :)

Partha Bagchi
2018-06-13 17:54:19 UTC (almost 6 years ago)

GIMP Git gimp_too_cursors_get_resource error MacOS

On Wed, Jun 13, 2018 at 1:37 PM Michael Natterer wrote:

On Wed, 2018-06-13 at 19:33 +0200, Michael Natterer wrote:

On Wed, 2018-06-13 at 19:31 +0200, Michael Natterer wrote:

On Wed, 2018-06-13 at 12:47 -0400, Partha Bagchi wrote:

On Wed, Jun 13, 2018 at 12:33 PM Michael Natterer

wrote:

On Wed, 2018-06-13 at 09:42 -0400, Partha Bagchi wrote:

On Fri, Jun 8, 2018 at 6:42 AM Michael Natterer

wrote:

On Fri, 2018-06-08 at 06:36 -0400, Partha Bagchi wrote:

On Fri, Jun 8, 2018 at 2:56 AM Michael Natterer 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 :)

That's good to know from my perspective too! :)

Then we have to remove Line 134 from ./app/Makefile.am. Otherwise,
GIMP
won't compile. Do you agree?

If we remove that line, we don't have cursors at all, it simply won't link in the file that's not referenced from anywhere, on linux, gcc and standard ld.

Sent too early...

Does the linker error happend for gimp-console or gimp?

I think gimp-console, but I'll have to check again tonight and will let you know.

Well... git pull :)

Will do. :) Thanks!

Partha Bagchi
2018-06-14 03:00:28 UTC (almost 6 years ago)

GIMP Git gimp_too_cursors_get_resource error MacOS

On Wed, Jun 13, 2018 at 1:54 PM Partha Bagchi wrote:

On Wed, Jun 13, 2018 at 1:37 PM Michael Natterer wrote:

On Wed, 2018-06-13 at 19:33 +0200, Michael Natterer wrote:

On Wed, 2018-06-13 at 19:31 +0200, Michael Natterer wrote:

On Wed, 2018-06-13 at 12:47 -0400, Partha Bagchi wrote:

On Wed, Jun 13, 2018 at 12:33 PM Michael Natterer

wrote:

On Wed, 2018-06-13 at 09:42 -0400, Partha Bagchi wrote:

On Fri, Jun 8, 2018 at 6:42 AM Michael Natterer

wrote:

On Fri, 2018-06-08 at 06:36 -0400, Partha Bagchi wrote:

On Fri, Jun 8, 2018 at 2:56 AM Michael Natterer 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 :)

That's good to know from my perspective too! :)

Then we have to remove Line 134 from ./app/Makefile.am. Otherwise,
GIMP
won't compile. Do you agree?

If we remove that line, we don't have cursors at all, it simply won't link in the file that's not referenced from anywhere, on linux, gcc and standard ld.

Sent too early...

Does the linker error happend for gimp-console or gimp?

I think gimp-console, but I'll have to check again tonight and will let you know.

Well... git pull :)

Will do. :) Thanks!

OK! You fixed it! Now it compiles. :)

Thanks!!