Issues while trying to build libraries using cmake
Hi All,
When I try to build using cmake a sample program. I receive below error. Please assist.
-- Building for: NMake Makefiles
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: C:/cygwin64/bin/gcc.exe
CMake Error: Generator: execution of make failed. Make command was: "nmake" "/NO LOGO" "cmTC_15d2a\fast"
-- Check for working C compiler: C:/cygwin64/bin/gcc.exe -- broken
CMake Error at C:/Program Files/CMake/share/cmake-3.7/Modules/CMakeTestCCompiler .cmake:51 (message):
The C compiler "C:/cygwin64/bin/gcc.exe" is not able to compile a simple
test program.
It fails with the following output:
Change Dir: C:/cygwin64/home/Viral Shah/test/CMakeFiles/CMakeTmp
Run Build Command:"nmake" "/NOLOGO" "cmTC_15d2a\fast"
Generator: execution of make failed. Make command was: "nmake" "/NOLOGO"
"cmTC_15d2a\fast"
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:4 (project)
-- Configuring incomplete, errors occurred!
See also "C:/cygwin64/home/Viral Shah/test/CMakeFiles/CMakeOutput.log".
See also "C:/cygwin64/home/Viral Shah/test/CMakeFiles/CMakeError.log".
Thanks in advance.