2014-01-21 16 views
1

我正在嘗試運行cocos2d的應用程序,它顯示以下錯誤。如何解決此問題。謝謝如何安裝Cygwin make軟件包或定義GNUMAKE變量以指向Cocos2d

**** Build of configuration Default for project TestCpp **** 

bash D:/WorkSpaceOpengl/TestCpp/build_native.sh 
cygwin warning: 
    MS-DOS style path detected: D:\WorkSpaceOpengl\TestCpp 
    Preferred POSIX equivalent is: /cygdrive/d/WorkSpaceOpengl/TestCpp 
    CYGWIN environment variable option "nodosfilewarning" turns off this warning. 
    Consult the user's guide for more details about POSIX paths: 
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames 
NDK_ROOT = D:\Android\android-ndk-r8e 
COCOS2DX_ROOT = /cygdrive/d/WorkSpaceOpengl/TestCpp/../../../.. 
APP_ROOT = /cygdrive/d/WorkSpaceOpengl/TestCpp/.. 
APP_ANDROID_ROOT = /cygdrive/d/WorkSpaceOpengl/TestCpp 
Using prebuilt externals 
ERROR: Cannot find 'make' program. Please install Cygwin make package 
or define the GNUMAKE variable to point to it. 

**** Build Finished **** 

我搜索了在cygwin中安裝make有這麼多的軟件包可用。哪個軟件包可以解決我的問題? Here the link

+0

它告訴你的問題。安裝'make'。 – devnull

+0

感謝您response.Can你建議我如何安裝它。我與掙扎。 – user2634966

+0

運行cygwin安裝程序,並從開發類別中選擇'make'。 – devnull

回答

3

對於任何與此這裏仍然還有掙扎的步驟安裝使的cygwin:

  • 運行從下載cygwin的安裝程序。
  • 選擇鏡像後,會顯示您可以安裝的軟件包。
  • 選擇Devel軟件包(點擊它將從「默認」轉爲「安裝」
  • 當安裝完成後運行cmd和命令「bash」並檢查是否安裝運行「make -v」 。和你做。

希望這是有幫助的。