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.
 


 


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to