Gimp-Forum.net
Building GIMP 2.10 from source on OSX fails on “gimp-debug-tool-2.0” - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Installation and usage (https://www.gimp-forum.net/Forum-Installation-and-usage)
+---- Forum: OSX (https://www.gimp-forum.net/Forum-OSX)
+---- Thread: Building GIMP 2.10 from source on OSX fails on “gimp-debug-tool-2.0” (/Thread-Building-GIMP-2-10-from-source-on-OSX-fails-on-%E2%80%9Cgimp-debug-tool-2-0%E2%80%9D)



Building GIMP 2.10 from source on OSX fails on “gimp-debug-tool-2.0” - ausrius - 05-11-2018

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


RE: Building GIMP 2.10 from source on OSX fails on “gimp-debug-tool-2.0” - rich2005 - 05-12-2018

Not many (none) OSX users here and even fewer who compile there own anywhere.

You will be better off asking on the developer mailing list, subscribe here

https://mail.gnome.org/mailman/listinfo/gimp-developer-list

and to view the type of topics (but not post) look here for an examples

http://www.gimpusers.com/forums/gimp-developer


RE: Building GIMP 2.10 from source on OSX fails on “gimp-debug-tool-2.0” - ausrius - 05-12-2018

Thank you for your reply. Actually I have solved the problem just now. Everything should have worked just fine despite for that debug tool. I do not actually really need debug tool so I was glad to skip it. I have run make command with -k flag which keeps on building even if an error occurs. Luckily there were no other errors so after building and installing it runs just fine on my MacBook.