当我尝试通过运行来构建 Assimp 时build_ios.sh
,它告诉我:
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/...
我尝试更改and DEVROOT
,因为这似乎是从中生成 etc 的内容,但它仍然给我同样的错误。build_ios.sh
IPHONE_xxxx_TOOLCHAIN.cmake
CMAKE_C_COMPILER