Cygwin64 gnueabihf-gcc-4.9 compile error

I created a hello world c project and tried to build using gnueabihf-gcc-4.9 toolchain. But get the below error. In my project folder cmake-build-debug/CMakeFiles/CMakeTmp/testCCompiler.c  does not exist. How to solve this issue?

Command:"/usr/bin/make.exe" "cmTC_20e8b/fast"
/usr/bin/make -f CMakeFiles/cmTC_20e8b.dir/build.make CMakeFiles/cmTC_20e8b.dir/build
make[1]: Entering directory '/cygdrive/c/clion_workspace/helloworld/cmake-build-debug/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_20e8b.dir/testCCompiler.c.o
C:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-gcc-4.9.exe -o CMakeFiles/cmTC_20e8b.dir/testCCompiler.c.o -c /cygdrive/c/clion_workspace/helloworld/cmake-build-debug/CMakeFiles/CMakeTmp/testCCompiler.c
arm-linux-gnueabihf-gcc-4.9.exe: error: /cygdrive/c/clion_workspace/helloworld/cmake-build-debug/CMakeFiles/CMakeTmp/testCCompiler.c: No such file or directory
arm-linux-gnueabihf-gcc-4.9.exe: fatal error: no input files
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_20e8b.dir/build.make:66: CMakeFiles/cmTC_20e8b.dir/testCCompiler.c.o] Error 4

0

Hello! Please check access rights for /cygdrive/c/clion_workspace/helloworld/cmake-build-debug/CMakeFiles directory.

0

请先登录再写评论。