The C compiler "/usr/bin/cc" is not able to compile a simple test program.Ĭhange Dir: /cygdrive/c/Users/pmt037/Documents/proj/cpputest/CMakeFiles/CMakeTmp Check for working C compiler: /usr/bin/cc - brokenĬMake Error at /usr/share/cmake-2.8.11.2/Modules/CMakeTestCCompiler.cmake:61 (message): Check for working C compiler: /usr/bin/cc usr/share/cmake-2.8.11.2/Modules/CMakeSystemSpecificInformation.cmake:36 (include) Required version of CMake to 2.8.4 or higher. Set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is requiredĪt the top of your top-level CMakeLists.txt file or set the minimum (2) If you are developing this project, add the line In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead. Project may have been written under the assumption that Cygwin is WIN32. If later configuration or build errors occur then this Quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in (1) If you are just trying to build this project, ignore this warning or The CXX compiler identification is GNU 4.8.3ĬMake Warning at /usr/share/cmake-2.8.11.2/Modules/Platform/CYGWIN.cmake:15 (message):
The C compiler identification is GNU 4.8.3
autogen.sh: line 7: autoreconf: command not foundĪttempting method 2, I /cygdrive/c/Users/me/Documents/proj/cpputest "Building from source (unix-based, cygwin, MacOSX)". I see two methods to build, in README.md, under "Getting Started":ġ. I've installed gcc-g++, cmake, and make in Cygwin. I git cloned git:// /cpputest/cpputest.git. I can't build CppUTest in Cygwin 圆4 on Win7 圆4 (SP1).