[Top][All Lists]

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

new users question (continued...)

From: Lloyd Dupont
Subject: new users question (continued...)
Date: Wed, 20 Apr 2005 16:53:17 +1000

I finally get some very simple ObjectiveC prgram working
So I though Let's try to use foundation!
I setup the very simple following environment variables
set PATH=D:\GNUstep\Development\msys\1.0\bin;D:\GNUstep\Development\msys\1.0\mingw\bin;%PATH%
set OBJC_INCLUDE_PATH=D:\GNUstep\System\Library\Headers
then I tryed to compile this very simple program:
#import <Foundation/Foundation.h>
// gcc deux.m -Wno-import -lobjc -o deux.exe
 NSString * uh = @"Hello FoundationKit";
 NSLog(@"some NSLogging %@", uh);
unfortunately at the compilation stage I get this error:
deux.m: In function `main':
deux.m:6: cannot find interface declaration for `NXConstantString'
deux.m:7: cannot find interface declaration for `NXConstantString'
very annoying considering I only used standart headers!
Anyway, if someone read that, let me ask again on how to ship a GNUstep base program without installing GNUstep, but just the required DLLs.... any though? links? ideas?
----- Original Message -----
Sent: Wednesday, April 20, 2005 4:19 PM
Subject: new users question

Hi All!
I haven't used C/GCC/ObjectiveC/etc... in a while.
Now I just have to install and run GNUstep on windows and get some problems.
I downloaded and ran the GNUstep-base-1.10.1-gui-0.9.4.exe package.
it decompres itself in the a directory with plenty stuff, but set no path or otherwise.
I try to compile a simple .m file  but the GCC path was not set (I set it manuall to set PATH=D:\GNUstep\Development\msys\1.0\bin;D:\GNUstep\Development\msys\1.0\mingw\bin;%PATH%) but then the include path was not correct, etc...
where could I find these paths?
isn't there a shell script//bat file somewhere setting the correct system variable?
what if I want to deliver a simple ObjectiveC application without installing the whole GNUstep distribution, what should I do?

Discuss-gnustep mailing list

reply via email to

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