Re: NSObject errors compiling Objective-C programs
"Mehul N. Sanghvi" <[email protected]>
| Newsgroups | gmane.comp.lib.gnustep.user |
|---|---|
| Message-ID | <[email protected]> |
Richard Frith-Macdonald said the following on 10/10/2005 3:28 AM:
>
> You are building a standalone program which doesn't use the GNUstep base
> library ... as such, you can't have it usse anything in the base library
> (such as NSObject).
>
> This is probably not what you want.
>
> I guess you want to build a command-line tool using the base library ...
> for that your makefile needs to use TOOL_NAME rather than
> OBJC_PROGRAM_NAME, and include tool.make rather than objc.make
>
Richard, Saso,
That worked out just fine. Thanks for the help. My definition of
"standalone" was that it was independent of the AppKit, rather then the
whole of Foundation and AppKit. Doing what you suggested, has worked,
although now I get a "does not respond to `release'" warning at
compile time and runtime as well.
cheers,
mehul
--
Mehul N. Sanghvi
email: [email protected]