【发布时间】:2012-07-21 01:51:41
【问题描述】:
当我尝试通过运行 build_ios.sh 来构建 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 等的原因,但它仍然给我同样的错误。
【问题讨论】:
-
您找到解决方案了吗?