problem in compiling in windows

[email protected] Sun, 11 Jan 2009 04:54:57 +0000 (UTC)
Newsgroups gmane.comp.lib.gnustep.user
Message-ID <42002293.924931231649697735.JavaMail.root@sz0132a.westchester.pa.mail.comcast.net>

Hi, 



I am new to Objective C.  I tried compiling the problem below and got the error message.  I am using MINGW32 



" hello.m:1:25: objc/object.h: No such file or directory 

   hello.m6: error: cannot find interface declaration for 'Object, superclass of 'Hello' 





THks 



######## 



Problem Example 



#include <objc/object.h> 
#include <stdio.h> 


@interface Hello : Object 
{ } 
+ world; 
@end 


@implementation Hello 
+ world 
{ 
  puts("Hello world !"); 
} 
@end 


main() 
{ 
  [Hello world]; 
}

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