Basically I want to build a tool that does some processing of NSImages (but never displays them).
Okay, but when I use the following make file: include $(GNUSTEP_MAKEFILES)/common.make TOOL_NAME = ObjectiveC ObjectiveC_OBJC_FILES = ObjectiveC.m include $(GNUSTEP_MAKEFILES)/tool.make I get a bunch of linker messages: Making all for tool ObjectiveC... Linking tool ObjectiveC ... ./shared_obj/ObjectiveC.o: In function `main': ObjectiveC.m:(.text+0x5b4): undefined reference to `NSFontAttributeName' ObjectiveC.m:(.text+0x647): undefined reference to `NSForegroundColorAttributeName' ./shared_obj/ObjectiveC.o:(.data.rel+0x4): undefined reference to `__objc_class_name_NSApplication' ./shared_obj/ObjectiveC.o:(.data.rel+0x8): undefined reference to `__objc_class_name_NSWindow' ./shared_obj/ObjectiveC.o:(.data.rel+0xc): undefined reference to `__objc_class_name_NSView' ./shared_obj/ObjectiveC.o:(.data.rel+0x10): undefined reference to `__objc_class_name_NSImage' ./shared_obj/ObjectiveC.o:(.data.rel+0x1c): undefined reference to `__objc_class_name_NSFont' ./shared_obj/ObjectiveC.o:(.data.rel+0x20): undefined reference to `__objc_class_name_NSColor' ./shared_obj/ObjectiveC.o:(.data.rel+0x2c): undefined reference to `__objc_class_name_NSBitmapImageRep' collect2: ld returned 1 exit status make[1]: *** [shared_obj/ObjectiveC] Error 1 make: *** [ObjectiveC.all.tool.variables] Error 2 Well, it is obvious I need to add SOMETHING to tell it to link in some libraries... My question is what?!? As I say, this is purely a tool and will do zero (zip/nada) screen display. Any help would be appreciated! Lloyd _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
