|
From: | Richard Frith-Macdonald |
Subject: | Re: How to Build a Tool that uses NSApplication... |
Date: | Mon, 6 Nov 2006 07:17:54 +0000 |
On 1 Nov 2006, at 00:22, lloyd.sargent@gmail.com wrote:
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'
You haven't linked the gui library ... if you look at the GNUmakefile.premable in the gui Tools subdirectory you can see how this is done for the standard gui tools used in GNUstep.
[Prev in Thread] | Current Thread | [Next in Thread] |