未找到提升库

时间:2017-07-09 19:22:58

标签: c++ windows boost

  boost_system
          boost_filesystem
          boost_thread
          boost_date_time
          boost_chrono
          boost_regex
          boost_serialization
          boost_program_options

  Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.
Call Stack (most recent call first):
  CMakeLists.txt:112 (find_package)

尝试构建一个Windows应用程序并在使用boost..i时遇到上述错误需要帮助来创建构建但遇到此错误... 我安装了visual studio 2017和cmake 3.8.2,升级版本为1_64_0。

经过多次尝试,我使用此链接https://public.kitware.com/Bug/view.php?id=11187  用http://www.cmake.org/pipermail/cmake/2007-May/014131.html

替换我的findboost.make文件

现在构建完成但没有创建.exe文件。

请帮助我了解构建过程以及缺少完成构建的步骤或配置

1 个答案:

答案 0 :(得分:0)

  

下载提升并解压缩并配置

     

3.1 Rub bootstrap.ksh

     

3.2运行b2.exe address-model = 32,64 --build-type = complete(大约需要2个小时)

     

3.3 Stage文件夹将在同一文件夹中更新

     

3.2设置以下变量

    BOOST_INCLUDEDIR D:\Softwares\boost_1_64_0      
    BOOST_LIBRARYDIR D:\Softwares\boost_1_64_0\stage\lib
    Boost_LIBRARIES D:\Softwares\boost_1_64_0\stage\lib