![]() ![]() Set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) Set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) # For libraries and headers in the target directories Set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) # Search for programs in the build host directories SET(CMAKE_C_COMPILER_EXTERNAL_TOOLCHAIN $) SET(TOOLCHAIN "C:/Program Files (x86)/GNU Tools ARM Embedded/7 2018-q2-update") Configuring incomplete, errors occurred!ĬMake toolchain file (Toolchain-clang-arm.cmake): set(CMAKE_CROSSCOMPILING TRUE) (CMAKE_DIAGNOSE_UNSUPPORTED_CLANG) CMakeLists.txt:2 (PROJECT) Call Stack (most recent call first):Ĭ:/Users/user/scoop/apps/cmake/3.13.4/share/cmake-3.13/Modules/CMakeDetermineCCompiler.cmake:113 Furthermore, use the MSVCĬommand-line environment. Targets the MSVC ABI but has a GNU-like command-line interface. The C compiler identification is Clang 7.0.0 CMake Error at C:/Users/user/scoop/apps/cmake/3.13.4/share/cmake-3.13/Modules/CMakeDetermineCompilerId.cmake:802 When invoke CMake with the toolchain file below I get the following error.Ĭmake -DCMAKE_TOOLCHAIN_FILE=".\Src\Build\Toolchain-clang-arm.cmake" I created a toolchain file for CMake but it seems like there is an error or something missing which I'm unable to find. I'm trying to generate Ninja makefiles to cross compile a C++ project with Clang for an ARM Cortex A5 CPU.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |