使用VS2010在调试模式下为.pdb编译正确的连接器1.1.7

时间:2019-01-09 11:23:36

标签: c++ boost cmake

在VS2010 x86上以调试模式编译的正确设置吗?

我已经设置了:

set MYSQL_DIR=C:\Program Files (x86)\MySQL\MySQL Server 5.7
set BOOST_INCLUDE_DIRS=C:\local\boost_1_61_0
and used this command:
cmake -G "Visual Studio 10 2010"
我正在使用cmake版本3.13.2
But it show:
-- Looking for strtold
-- Looking for strtold - not found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for strtoll
-- Looking for strtoll - not found
-- Looking for strtoul
-- Looking for strtoul - found
-- Looking for strtoull
-- Looking for strtoull - not found
-- Looking for strtoimax
-- Looking for strtoimax - not found
-- Looking for strtoumax
-- Looking for strtoumax - not found

and:
CMake Warning (dev) in driver/CMakeLists.txt:
  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

缺少什么?

0 个答案:

没有答案