help-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSObject errors compiling Objective-C programs


From: Mehul N. Sanghvi
Subject: Re: NSObject errors compiling Objective-C programs
Date: Mon, 10 Oct 2005 11:30:13 -0400
User-agent: Thunderbird 1.4 (Windows/20050908)

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: mehul.sanghvi@gmail.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]