discuss-gnustep
[Top][All Lists]
Advanced

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

Re: I can't build my project--"AppKit/NSApplication.h: No such file or d


From: David T. Shen
Subject: Re: I can't build my project--"AppKit/NSApplication.h: No such file or directory"
Date: Wed, 4 Feb 2009 18:19:39 -0800 (PST)

Thanks.

Got it. It's OK now.



Adam Fedor-5 wrote:
> 
> You have a typo.  It should be
> 
> mywindow_OBJC_FILES=main.m
> 
> 
> On Feb 3, 2009, at 11:46 PM, David T. Shen wrote:
> 
>>
>> 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.html
>> Sent from the GNUstep - General mailing list archive at Nabble.com.
>>
>>
>>
>> _______________________________________________
>> Discuss-gnustep mailing list
>> Discuss-gnustep@gnu.org
>> http://lists.gnu.org/mailman/listinfo/discuss-gnustep
> 
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep
> 
> 

-- 
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-tp21825274p21844019.html
Sent from the GNUstep - General mailing list archive at Nabble.com.





reply via email to

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