[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: non-gui tools uisng gui classes?
From: |
Ingolf Jandt |
Subject: |
Re: non-gui tools uisng gui classes? |
Date: |
Wed, 15 Nov 2006 17:10:10 +0100 |
User-agent: |
GNUMail (Version 1.2.0) |
If I import <AppKit/NSImage.h> do I also need to specify an extra
library to
link against? I'm getting this error...
Yes. I hope that adding sth. like
yourtool_TOOL_LIBS += -lgnustep-gui $(SYSTEM_LIBS)
to your GNUmakefile will be enough. You may also have to create your
own autorelease pool.
(beginning of main: CREATE_AUTORELEASE_POOL(pool); end of main:
RELEASE(pool); )
Also have a look at:
http://www.nabble.com/How-to-Build-a-Tool-that-uses-NSApplication...-t2580070.html
Ingolf