{"id":1217,"date":"2022-08-30T15:14:20","date_gmt":"2022-08-30T15:14:20","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/10\/switch-from-nmake-into-mingw-using-cygwin-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:14:20","modified_gmt":"2022-08-30T15:14:20","slug":"switch-from-nmake-into-mingw-using-cygwin-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/switch-from-nmake-into-mingw-using-cygwin-collection-of-common-programming-errors\/","title":{"rendered":"Switch from Nmake into MinGW using cygwin-Collection of common programming errors"},"content":{"rendered":"<p>How to use the MingW instead of the Nmake using cmake ???<\/p>\n<p>I have cygwin installed with Mingw, gcc, g++, and gdb installed on Windows 7 x64<\/p>\n<p>when I try this command :<\/p>\n<pre><code>cmake\n<\/code><\/pre>\n<p>I get a long error containing this:<\/p>\n<pre><code>-- Building for: NMake Makefiles\n-- The C compiler identification is unknown\n-- The CXX compiler identification is unknown\nCMake Error: your RC compiler: \"CMAKE_RC_COMPILER-NOTFOUND\" was not found.   Ple\nase set CMAKE_RC_COMPILER to a valid compiler path or name.\n-- Check for CL compiler version\n-- Check for CL compiler version - failed\n-- Check if this is a free VC compiler\n-- Check if this is a free VC compiler - yes\n-- Using FREE VC TOOLS, NO DEBUG available\n-- Check for working C compiler: cl\n\n  CMake will not be able to correctly generate this project.\nCall Stack (most recent call first):\n\n\n\nCMake Error: your C compiler: \"cl\" was not found.   Please set CMAKE_C_COMPILER\nto a valid compiler path or name.\nCMake Error: your CXX compiler: \"cl\" was not found.   Please set CMAKE_CXX_COMPI\nLER to a valid compiler path or name.\n-- Configuring incomplete, errors occurred!\n<\/code><\/pre>\n<ol>\n<li>\n<p>You should choose<\/p>\n<blockquote>\n<p>MinGW Makefiles.<\/p>\n<\/blockquote>\n<p>If <code>gcc<\/code> is not in path, you should choose<\/p>\n<blockquote>\n<p>Specify native compilers<\/p>\n<\/blockquote>\n<p>to point paths to compiler binaries.<\/p>\n<\/li>\n<\/ol>\n<p id=\"rop\"><small>Originally posted 2013-11-10 00:10:29. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>How to use the MingW instead of the Nmake using cmake ??? I have cygwin installed with Mingw, gcc, g++, and gdb installed on Windows 7 x64 when I try this command : cmake I get a long error containing this: &#8212; Building for: NMake Makefiles &#8212; The C compiler identification is unknown &#8212; The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1217","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1217"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1217\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}