title: can't run any program in clion
body: <p>I downloaded clion and went through the setup up guide provided by jetbeans at : <a href="https://www.jetbrains.com/help/clion/2016.3/quick-tutorial-on-configuring-clion-on-windows.html" rel="nofollow noreferrer">https://www.jetbrains.com/help/clion/2016.3/quick-tutorial-on-configuring-clion-on-windows.html</a> 
  I tried setting up both cygwin and minGW as the environment but the program wouldn't run. I followed this question : <a href="https://stackoverflow.com/questions/33267305/how-to-setup-clion-for-compile-and-run">How to setup Clion for compile and RUN</a></p>
  
  <p>I have appended the directories of cygwin and minGW in path too but still i can't run my program.</p>
  
  <p>It raises a long error which is :</p>
  
  <pre><code>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.
  </code></pre>
  
  <p>It fails with the following output:</p>
  
  <pre><code>   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]
  </code></pre>