[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help, please.
From: |
Fred Kiefer |
Subject: |
Re: Help, please. |
Date: |
Tue, 21 Sep 2010 09:06:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.11) Gecko/20100714 SUSE/3.0.6 Thunderbird/3.0.6 |
You did not include any attachement and if you ever do, could you please
type in (or copy and paste) what the error message was instead of
converting it into a ridicules format?
>From a short look at your code I would say that at least your make file
is wrong. The one you provide will work for a simple Objective-C program
not for a GNUstep application. Best to read the page that German pointed
you to.
Fred
Am 20.09.2010 21:08, schrieb Charles J Campbell (ccampbll):
> I'm having a problem with the installation of objectrive-c on a windows
> machine ande would appreciate any help you may giuve.
> I've attached a word document with a screen shot of my results. I will
> incoude all but the screen shot below:
> I’d appreciate help with this.
>
> I copied and entered the following as source.m
> #import<Foundation/Foundation.h>
> #import(AppKit/AppKit.h)
>
> int
> main(void)
> {
> NSAutoreleasePool *pool;
>
> pool = [NSAutoreleasePool new];
>
> [NSApplication sharedApplication];
>
> NSRunAlertPanel (@"Test",@"Hello from the GNUstep Appkit",nil,nil,nil);
>
> return 0;
> }
>
> And the following as GNUmakefile:
>
> include $(GNUSTEP_MAKEFILES)/common.make
>
> OBJC_PROGRAM_NAME = source
> source_OBJC_FILES = source.m
> source_Resource_Files =
>
> include $(GNUSTEP_MAKEFILES)/objc.make
>
> When I run make, I get
>
> I’d appreciate help with this.
> I copied and entered the following as source.m
> #import<Foundation/Foundation.h>
> #import(AppKit/AppKit.h)
>
> int
> main(void)
> {
> NSAutoreleasePool *pool;
>
> pool = [NSAutoreleasePool new];
>
> [NSApplication sharedApplication];
>
> NSRunAlertPanel (@"Test",@"Hello from the GNUstep Appkit",nil,nil,nil);
>
> return 0;
> }
>
> And the following as GNUmakefile:
>
> include $(GNUSTEP_MAKEFILES)/common.make
>
> OBJC_PROGRAM_NAME = source
> source_OBJC_FILES = source.m
> source_Resource_Files =
>
> include $(GNUSTEP_MAKEFILES)/objc.make
>
> When I run make, I get
>
> (the screen shot of the error message is in the atached word file)
>
> I seem to be able to run objective-c programs without the Foundation calls.
>
> Again, thanks for any help you can give.