当我尝试通过运行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