나는 clion을 다운로드하고 jetbeans에서 제공하는 설치 가이드를 통해갔습니다 : https://www.jetbrains.com/help/clion/2016.3/quick-tutorial-on-configuring-clion-on-windows.html 환경으로 cygwin과 minGW를 모두 설정했지만 프로그램이 실행되지 않았습니다. 나는이 질문을했다 : How to setup Clion for compile and RUN는 clion에서 어떤 프로그램도 실행할 수 없습니다
나는 경로에있는 cygwin와 minGW의 전화 번호부를 역시 추가했다, 그러나 아직도 나는 나의 프로그램을 달릴 수 없다.
그것은이 긴 오류가 발생합니다 :
그것은 다음과 같은 출력 실패CMake Error at /cygdrive/c/Users/dell/.CLion2016.3/system/cygwin_cmake/share/cmake-3.6.3/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "/cygdrive/c/MinGW/bin/gcc.exe" is not able to compile a
simple test program.
다음 CLion 제품을 다운로드 할 때 나는 또한 몇 가지 문제에 직면
Change Dir: /cygdrive/c/Users/dell/Desktop/jetBeans/c_c++/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make.exe" "cmTC_2284f/fast"
/usr/bin/make -f CMakeFiles/cmTC_2284f.dir/build.make
CMakeFiles/cmTC_2284f.dir/build
make[1]: Entering directory
'/cygdrive/c/Users/dell/Desktop/jetBeans/c_c++/cmake-build-debug/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2284f.dir/testCCompiler.c.o
/cygdrive/c/MinGW/bin/gcc.exe -o
CMakeFiles/cmTC_2284f.dir/testCCompiler.c.o -c
/cygdrive/c/Users/dell/Desktop/jetBeans/c_c++/cmake-build-debug/CMakeFiles/CMakeTmp/testCCompiler.c
gcc.exe: error:
/cygdrive/c/Users/dell/Desktop/jetBeans/c_c++/cmake-build-debug/CMakeFiles/CMakeTmp/testCCompiler.c:
No such file or directory
gcc.exe: fatal error: no input files
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_2284f.dir/build.make:66:
CMakeFiles/cmTC_2284f.dir/testCCompiler.c.o] Error 1
make[1]: Leaving directory
'/cygdrive/c/Users/dell/Desktop/jetBeans/c_c++/cmake-build-debug/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_2284f/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
See also "/cygdrive/c/Users/dell/Desktop/jetBeans/c_c++/cmake-build-debug/CMakeFiles/CMakeOutput.log".
See also "/cygdrive/c/Users/dell/Desktop/jetBeans/c_c++/cmake-build-debug/CMakeFiles/CMakeError.log".
[Previous CMake output restored: 11-02-2017 04:45]
[ask]를 참조하십시오. 질문자가 질문 할 때 Q & A 사이트가 가장 효과적입니다. 당신이 그것을 놓친 경우에, 당신은 질문조차하지 않았다. – IInspectable
@IInspectable 미안하지만, 그냥 clion이 프로그램을 운영하기를 원합니다. 도와주세요. – ShubhamS