我想知道为什么Cygwin的setup.exe提供CMake 1.6.2 和Boost 1.63.0 。如this帖子所述, Boost需要CMake 1.7.3 或更新才能正确找到。
我得到的警告几乎与链接的帖子相同。以下是具有最高可用版本的构建过程的输出:
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
CMake Warning at /usr/share/cmake-3.6.2/Modules/FindBoost.cmake:743 (message):
Imported targets not available for Boost version 106300
Call Stack (most recent call first):
/usr/share/cmake-3.6.2/Modules/FindBoost.cmake:842 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.6.2/Modules/FindBoost.cmake:1395 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:27 (find_package)
CMake Warning at /usr/share/cmake-3.6.2/Modules/FindBoost.cmake:743 (message):
Imported targets not available for Boost version 106300
Call Stack (most recent call first):
/usr/share/cmake-3.6.2/Modules/FindBoost.cmake:842 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.6.2/Modules/FindBoost.cmake:1395 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:27 (find_package)
-- Boost version: 1.63.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- Configuring done
-- Generating done
-- Build files have been written to: /cygdrive/c/Users/Foo/Desktop/Programming/Simple-Web-Server/build
为什么Cygwin会提供这些版本,因为它们似乎并不合适,这将是有趣的?或者他们是否融合在一起,我发现我的工具链存在个别问题?
PS:当然这些是警告但是make
因为下一个命令失败了。标题及其功能无法找到。
我建立在Win7,64位
非常感谢您提前!你的cmake newbei