help-gnustep
[Top][All Lists]
Advanced

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

problem in compiling in windows


From: ychong7
Subject: problem in compiling in windows
Date: Sun, 11 Jan 2009 04:54:57 +0000 (UTC)

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];
}


reply via email to

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