delorie.com/archives/browse.cgi | search |
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: | <CAGJFqDVawU=P-XkmuVeuV21Rmp8f-wBWSrHw1__FBMUv07qvTA@mail.gmail.com> |
Subject: | Re: make[4]: cl: Command not found |
From: | Quinn Wood <woodq11 AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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<OPTION>=<VALUE> after 'cmake <srcs>'. For example: cmake .. -DDEBUG=1 -DPREFIX=/opt/mangos -- Using mysql-config: /usr/bin/mysql_config -- Found MySQL library: /usr/lib/libmysqlclient_r.dll.a -- Found MySQL headers: /usr/include/mysql -- Found OpenSSL library: /usr/lib/libssl.dll.a -- Found OpenSSL headers: /usr/include/openssl -- Found ZLIB: /usr/include (found version "1.2.5") application-Core revision : 2e2d6740cdb8756f70d58b77e8dca8063488d391 Install server to : /opt/application Use PCH : No Build in debug-mode : No (default) -- Configuring done -- Generating done -- Build files have been written to: /home/user/application/work/application/build With the application name changed to "application", and my username changed to "user". -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |