discuss-gnustep
[Top][All Lists]
Advanced

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

Help, please.


From: Charles J Campbell (ccampbll)
Subject: Help, please.
Date: Mon, 20 Sep 2010 14:08:59 -0500

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.
 


 




reply via email to

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