Khi tôi cố gắng xây dựng Assimp bằng cách chạy build_ios.sh
, nó nói với tôi:Làm thế nào để bạn đặt CMAKE_C_COMPILER và CMAKE_CXX_COMPILER để xây dựng Assimp cho iOS?
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.
Những gì tôi cần đường dẫn đến được là:
/Applications/XCode.app/Contents/Developer/Platforms/...
tôi đã cố gắng thay đổi DEVROOT
trong build_ios.sh
và IPHONE_xxxx_TOOLCHAIN.cmake
, bởi vì đó là những gì CMAKE_C_COMPILER
vv dường như được tạo ra từ, nhưng nó vẫn mang lại cho tôi những lỗi tương tự.
bạn có tìm thấy giải pháp không? – MatterGoal