我已經下載了「Irrlicht SDK 1.7.2」'在我的Mac上使用它,但是當我點擊「Build and Run」並且完成後,它找不到應用程序。C/C++ irrlicht與Mac/xcode
它說:
CompileC 編譯/ MacOSX.build /調試/ libIrrlicht.a.build /目標正常/ I386/CIrrDeviceMacOSX.o /irrlicht-1.7.2/source/Irrlicht/ MacOSX /../ MacOSX/CIrrDeviceMacOSX.mm normal i386 objective-C++ com.apple.compilers.gcc.4_2 cd /irrlicht-1.7.2/source/Irrlicht/MacOSX setenv LANG en_US.US-ASCII /Developer/usr/bin/gcc-4.2 -x objective-C++ -arch i386 -fmessage-length = 0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -isysroot/Developer/SDKs/MacOSX10 .6.sdk -mmacosx-version-min = 10.6 -gd warf-2 -I/irrlicht-1.7.2/source/Irrlicht/MacOSX/build/MacOSX.build/Debug/libIrrlicht.a.build/Irrlicht.hmap -F/irrlicht-1.7.2/source/Irrlicht/MacOSX/build/Debug -I/irrlicht-1.7.2/source/Irrlicht/MacOSX/build/Debug/include -I ../../../ include -I/irrlicht-1.7.2/source/Irrlicht/MacOSX /build/MacOSX.build/Debug/libIrrlicht.a.build/DerivedSources/i386 -I/irrlicht-1.7.2/source/Irrlicht/MacOSX/build/MacOSX.build/Debug/libIrrlicht.a.build/DerivedSources -DMACOSX -D_DEBUG -include /var/folders/w1/w1PRCRMnFk4CJv-F4-en5E+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MacOSX_Prefix-euovvscioydyedfabnweyxahsnjx/MacOSX_Prefix.pch -c/irrlicht- 1.7.2/source/Irrlicht/MacOSX /../ MacOSX/CIrrDeviceMacOSX.mm -o /irrlicht-1.7.2/source/Irrlicht/MacOSX/build/MacOSX.build/Debug/libIrrlicht.a.build/Objects- normal/i386/CIrrDeviceMacOSX.o
/irrlicht-1.7.2/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm: 在成員函數 '布爾IRR :: CIrrDeviceMacOSX :: CreateWindow的()': /irrlicht-1.7.2 /source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:575: 警告:'CGDisplayBestModeForParameters'已棄用(聲明於 /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework /Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:487) /irrlicht-1.7.2/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:575: 警告:'CGDisplayBestModeForParameters'已棄用(聲明在 /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Fra meworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:487) /irrlicht-1.7.2/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:578: 警告:'CGDisplayCurrentMode'已棄用(聲明爲 /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:507) /irrlicht-1.7.2/source/Irrlicht/MacOSX/ ../MacOSX/CIrrDeviceMacOSX.mm:578: 警告:'CGDisplayCurrentMode'已棄用(聲明於 /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/ Headers/CGDirectDisplay.h:507) /irrlicht-1.7.2/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:582: 警告:'CGDisplaySwitchToMode'是de預先聲明( /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:512) /irrlicht-1.7.2/source/ Irrlicht/MacOSX /../ MacOSX/CIrrDeviceMacOSX.mm:582: 警告:'CGDisplaySwitchToMode'已棄用(聲明於 /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ CoreGraphics.framework/Headers/CGDirectDisplay.h:512) /irrlicht-1.7.2/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX。mm:614: 警告:'CGLSetFullScreen'已棄用(聲明於 /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:70) /irrlicht-1.7 .2/source/Irrlicht/MacOSX /../ MacOSX/CIrrDeviceMacOSX.mm:614: 警告:'CGLSetFullScreen'已棄用(聲明於 /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenGL .framework/Headers/OpenGL.h:70) /irrlicht-1.7.2/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm: 在成員函數'virtual void irr :: CIrrDeviceMacOSX :: setWindowCaption( const wchar_t *)': /irrlicht-1.7.2/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:888: 警告:'stringWithCString:length:'已棄用(聲明爲 /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:385) /irrlicht-1.7.2/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX .mm: 在成員函數 'void IRR :: CIrrDeviceMacOSX :: setMouseLocation(INT, INT)': /irrlicht-1.7.2/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:1050: 警告: 'CGSetLocalEventsSuppressionInterval' 被棄用(聲明/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h:373 在 ) /Irrlicht的-1.7.2/source/Irrlicht/MacOSX /../ MacOSX/CIrrDeviceMacOSX.mm:1050: 警告:'CGSetLocalEventsSuppressionInterval'是de (聲明爲 ,地址爲 /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h:373) /irrlicht-1.7.2/source /Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm: 在成員函數'virtual irr :: video :: IVideoModeList * irr :: CIrrDeviceMacOSX :: getVideoModeList()'中: /irrlicht-1.7.2/source/ Irrlicht/MacOSX /../ MacOSX/CIrrDeviceMacOSX.mm:1452: 警告:'CGDisplayAvailableModes'已棄用(聲明於 /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ CoreGraphics.framework/Headers/CGDirectDisplay.h:481) /irrlicht-1.7.2/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:1452: 警告: 'CGDisplayAvailableModes' 被棄用(在 /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:481聲明)
構建成功26警告
路徑中沒有可啓動的可執行文件。
/Irrlicht的SDK 1.7.2 /來源/ Irrlicht的/ MacOSX的/生成/調試/ HelloWorld_dbg.app
我搜索了HelloWorld_dbg.app
,但無法找到它。我不認爲它是創建的。
是什麼呢?請參閱http://stackoverflow.com/faq#questions – 2011-12-30 11:15:24
下次您在多個論壇上發帖時,請確保您不要從其他網站(用戶名,帖子數等)複製廢話並正確設置您的問題所以。 – Bart 2011-12-30 11:20:06