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

Building GIMP 2.10 from source on OSX fails on “gimp-debug-tool-2.0”

This discussion is connected to the gimp-user-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.

2018-05-11 19:41:59 UTC (over 6 years ago)
postings
2

Building GIMP 2.10 from source on OSX fails on “gimp-debug-tool-2.0”

I was trying to build GIMP 2.10 on OSX for a week now with no success. Most of the problems were all the different dependencies and such. While it took time all of it was solvable but now I think I came to an dead end. I have gone to the stage where I could finally run "make" and after some time of building different things it errors out on "gimp-debug-tool-2.0". Here is the output log:

Making all in app-tools CCLD gimp-debug-tool-2.0
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_NSString", referenced from: objc-class-ref in libappwidgets.a(gimpcriticaldialog.o) "_OBJC_CLASS_$_NSWorkspace", referenced from: objc-class-ref in libappwidgets.a(gimpcriticaldialog.o) "_objc_autoreleasePoolPop", referenced from: _gimp_critical_dialog_response in libappwidgets.a(gimpcriticaldialog.o) "_objc_autoreleasePoolPush", referenced from: _gimp_critical_dialog_response in libappwidgets.a(gimpcriticaldialog.o) "_objc_msgSend", referenced from:
_gimp_critical_dialog_response in libappwidgets.a(gimpcriticaldialog.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [gimp-debug-tool-2.0] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2

I have got similar errors when I was building Qt, OpenCv applications. The problem there was that libraries were missing and I solved it by providing paths to those libraries. But what could possibly be missing when building "gimp-debug-tool-2.0" which seems to be internal tool.

If somebody had any similar experience or has any clue/hint on how I could solve this problem and could point me to the right direction it would be very much appreciated.

Tanks in advance.

Partha Bagchi
2018-05-12 14:17:40 UTC (over 6 years ago)

Building GIMP 2.10 from source on OSX fails on “gimp-debug-tool-2.0”

You are missing Cocoa in your build. Seriously, building on OSX is not an easy task. But you don't have to take my word for it. :)

On Sat, May 12, 2018 at 10:10 AM ausrius wrote:

I was trying to build GIMP 2.10 on OSX for a week now with no success. Most of
the problems were all the different dependencies and such. While it took time
all of it was solvable but now I think I came to an dead end. I have gone to the
stage where I could finally run "make" and after some time of building different
things it errors out on "gimp-debug-tool-2.0". Here is the output log:

Making all in app-tools CCLD gimp-debug-tool-2.0
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_NSString", referenced from: objc-class-ref in libappwidgets.a(gimpcriticaldialog.o) "_OBJC_CLASS_$_NSWorkspace", referenced from: objc-class-ref in libappwidgets.a(gimpcriticaldialog.o) "_objc_autoreleasePoolPop", referenced from: _gimp_critical_dialog_response in libappwidgets.a(gimpcriticaldialog.o) "_objc_autoreleasePoolPush", referenced from: _gimp_critical_dialog_response in libappwidgets.a(gimpcriticaldialog.o) "_objc_msgSend", referenced from:
_gimp_critical_dialog_response in libappwidgets.a(gimpcriticaldialog.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [gimp-debug-tool-2.0] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2

I have got similar errors when I was building Qt, OpenCv applications. The problem there was that libraries were missing and I solved it by providing paths
to those libraries. But what could possibly be missing when building "gimp-debug-tool-2.0" which seems to be internal tool.

If somebody had any similar experience or has any clue/hint on how I could solve
this problem and could point me to the right direction it would be very much
appreciated.

Tanks in advance.

-- ausrius (via www.gimpusers.com/forums) _______________________________________________ gimp-user-list mailing list
List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list

2018-05-12 15:27:36 UTC (over 6 years ago)
postings
2

Building GIMP 2.10 from source on OSX fails on “gimp-debug-tool-2.0”

I was indeed missing cocoa, but it was not the cause of the problem. After installing cocoa I still got the same error. However as it was only the debug tool it was crashing on I decided to run make with -k falg which made cmake to continue on error. Luckily there were no other errors and after installing it worked just fine. Thank you for your reply. Attaching a screenshot as a proof that it finally runs on my MacBook.