The C compiler identification is unknown The CXX compiler identification is unknown Check for working C compiler: C:/toolchain/bin/arm-linux-gnueabihf-gcc Check for working C compiler: C:/toolchain/bin/arm-linux-gnueabihf-gcc -- broken CMake Error at C:/Program Files/CMake/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake:51 (message): The C compiler "C:/toolchain/bin/arm-linux-gnueabihf-gcc" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/test18/CMakeFiles/CMakeTmp Run Build Command:"C:/MinGW/msys/1.0/bin/make.exe" "cmTC_e64a2/fast" /usr/bin/make -f CMakeFiles/cmTC_e64a2.dir/build.make CMakeFiles/cmTC_e64a2.dir/build make[1]: Entering directory `/c/test18/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e64a2.dir/testCCompiler.c.o C:/toolchain/bin/arm-linux-gnueabihf-gcc -o CMakeFiles/cmTC_e64a2.dir/testCCompiler.c.o -c C:/test18/CMakeFiles/CMakeTmp/testCCompiler.c C:/toolchain/bin/arm-linux-gnueabihf-gcc: C:/toolchain/bin/arm-linux-gnueabihf-gcc: cannot execute binary file make[1]: *** [CMakeFiles/cmTC_e64a2.dir/testCCompiler.c.o] Error 126 make[1]: Leaving directory `/c/test18/CMakeFiles/CMakeTmp' make: *** [cmTC_e64a2/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:16 (PROJECT) Configuring incomplete, errors occurred! See also "C:/test18/CMakeFiles/CMakeOutput.log". See also "C:/test18/CMakeFiles/CMakeError.log".