2012-08-03 36 views
1

嗨即時在iPad 23克IOS 5.1.1 無論如何,我試圖通過編寫THEOS一個應用程序,這是我找到的HelloWorld目錄中生成文件,並通過終端問題 i型使 它說它編譯但當時它給我這個錯誤西奧斯問題的g ++ darwin9

/bin/sh: /usr/bin/arm-apple-darwin9-g++: no such file ir directory 
    make [2] : *** [obj/main.mm.o] Error 127 
    make [1] : *** [internal-tool-all_] Error 2 
    make: *** [helloworld.all.tool.variables] Error 2 

使用這個狄奧模板

Choose template: 4 (iphone/tool) 
    Project Name: helloworld 
    Package Name: com.memyself.helloworld 
    Author Maintainer Name: me myself 

我得到它找臂蘋果darwin9-G ++在/ usr/bin中(我掰apple-darwin9-C++ in該目錄) 但那是什麼,我在哪裏得到?哦,這些錯誤是什麼,我沒有得到它在所有幫助

回答

0

這很容易, 從這裏下載libgcc包http://apt.saurik.com/cydia/debs/libgcc_4.2-20080410-1-6_iphoneos-arm.deb,然後安裝它。之後,從Cydia安裝GNU C編譯器,並記住將標頭放在var/theos/include目錄中。祝你好運!

+0

非常感謝你 – 2012-08-18 01:05:33

+0

現在我找到了。/bin/sh:/ usr/theos/bin/ldid:可執行文件中的CPU類型不正確 make [2]:*** [obj/helloworld]錯誤126 make [1]:*** [internal-tool-all_ ]錯誤2 make:*** [helloworld.all.tool.variables]錯誤2 – 2012-08-18 01:49:01