On 1 Nov 2006, at 00:22, [EMAIL PROTECTED] 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.


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to