X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TBC X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Tue, 7 Feb 2012 22:58:23 -0600 Message-ID: Subject: Re: make[4]: cl: Command not found From: Quinn Wood To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com When an application is made that was designed for a Unix-like operating system and the compiler (should, as cmake specifies that it is telling the compiler such) that it should be building using those tools, what could the issue be? The exact error and context are as follows: $ make Scanning dependencies of target genrev [ 0%] Building CXX object CMakeFiles/genrev.dir/src/tools/genrevision/genrevision.cpp.o Linking CXX executable genrev.exe [ 0%] Built target genrev Scanning dependencies of target revision.h [ 0%] Built target revision.h Scanning dependencies of target TBB_Project [ 0%] Creating directories for 'TBB_Project' [ 0%] No download step for 'TBB_Project' [ 0%] No patch step for 'TBB_Project' [ 0%] No update step for 'TBB_Project' [ 0%] No configure step for 'TBB_Project' [ 0%] Performing build step for 'TBB_Project' make[4]: cl: Command not found ../../build/common_rules.inc:60: recipe for target `concurrent_hash_map.obj' failed make[4]: *** [concurrent_hash_map.obj] Error 127 Makefile:40: recipe for target `tbb' failed make[3]: *** [tbb] Error 2 dep/tbb/CMakeFiles/TBB_Project.dir/build.make:101: recipe for target `dep/tbb/TBB_Project-prefix/src/TBB_Project-stamp/TBB_Project-build' failed make[2]: *** [dep/tbb/TBB_Project-prefix/src/TBB_Project-stamp/TBB_Project-build] Error 2 CMakeFiles/Makefile2:200: recipe for target `dep/tbb/CMakeFiles/TBB_Project.dir/all' failed make[1]: *** [dep/tbb/CMakeFiles/TBB_Project.dir/all] Error 2 Makefile:113: recipe for target `all' failed make: *** [all] Error 2 The cmake run is: $ cmake ../ -DPREFIX=/opt/mangos -DPCH=0 -DACE_USE_EXTERNAL=0 -DDEBUG=0 -DTBB_USE_EXTERNAL=0 -- The C compiler identification is GNU -- The CXX compiler identification is GNU CMake Warning at /usr/share/cmake-2.8.4/Modules/Platform/CYGWIN.cmake:15 (message): CMake no longer defines WIN32 on Cygwin! (1) If you are just trying to build this project, ignore this warning or quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in the CMake cache. If later configuration or build errors occur then this project may have been written under the assumption that Cygwin is WIN32. In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead. (2) If you are developing this project, add the line set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required at the top of your top-level CMakeLists.txt file or set the minimum required version of CMake to 2.8.4 or higher. Then teach your project to build on Cygwin without WIN32. Call Stack (most recent call first): /usr/share/cmake-2.8.4/Modules/CMakeSystemSpecificInformation.cmake:36 (INCLUDE) CMakeLists.txt:19 (project) -- Check for working C compiler: /usr/bin/gcc.exe -- Check for working C compiler: /usr/bin/gcc.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++.exe -- Check for working CXX compiler: /usr/bin/c++.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detected 32-bit platform. -- Found Git: /usr/bin/git.exe This script builds the application server. Options that can be used in order to configure the process: PREFIX: Path where the server should be installed to PCH: Use precompiled headers DEBUG: Debug mode To set an option simply type -D