I work platform: XP professional,
Environment:
GNUSTEP_INSTALLATION_DOMAIN=LOCAL
GNUSTEP_MAKEFILES=/GNUstep/System/Library/Makefiles
GNUSTEP_SYSTEM_ROOT=C:/GNUstep
and Path:
C:\GNUstep\bin
C:\GNUstep\local\bin
C:\GNUstep\mingw\bin
C:\GNUstep\GNUstep\Local\Tools
C:\GNUstep\GNUstep\System\Tools
I can build gorm and ProjectCenter, but I create an window with gorm, and
write the main.m, plist file, and GNUmake. but when I build it, I get the
error:
main.m:2:33: AppKit/NSApplication.h: No such file or directory
It must be some setting error, but I don't known.
this is the GNUmake:
#GNUmake
include $(GNUSTEP_MAKEFILES)/common.make
APP_NAME=mywindow
mywindow_HEADERS=
mywindow_OBJ_FILES=main.m
mywindow_RESOURCE_FILES=mywindow.plist mywindow.gorm
mywindow_MAIN_MODEL_FILE=mywindow.gorm
include $(GNUSTEP_MAKEFILES)/application.make
---
this is the main.m file:
#import <stdio.h>
#import <AppKit/NSApplication.h>
int main(int argc, const char* argv[] )
{
return NSApplicationMain(argc, argv);
}
--
View this message in context:
http://www.nabble.com/I-can%27t-build-my-project--%22AppKit-NSApplication.h%3A-No-such-file-or-directory%22-tp21825274p21825274.htmlSent from the GNUstep - General mailing list archive at Nabble.com.
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.orghttp://lists.gnu.org/mailman/listinfo/discuss-gnustep