discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Help, please.


From: Germán Arias
Subject: Re: Help, please.
Date: Mon, 20 Sep 2010 18:25:35 -0600

Look here:

http://www.gnustep.it/nicola/Tutorials/FirstGUIApplication/index.html


On lun, 2010-09-20 at 14:08 -0500, Charles J Campbell (ccampbll) wrote:
> 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
> Discuss-gnustep@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep




reply via email to

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