當我嘗試通過運行build_ios.sh
建立Assimp,它告訴我:你如何設置CMAKE_C_COMPILER和CMAKE_CXX_COMPILER來爲iOS構建Assimp?
CMake Error: your C compiler: "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc" was not found. Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
我需要的路徑什麼是是:
/Applications/XCode.app/Contents/Developer/Platforms/...
我試過在build_ios.sh
和IPHONE_xxxx_TOOLCHAIN.cmake
改變DEVROOT
,因爲這就是CMAKE_C_COMPILER
等似乎產生,但它仍然給我同樣的錯誤。
你找到一個解決辦法? – MatterGoal 2013-04-21 16:26:05