尝试使用Boost 1.49和Visual Studio 2010构建Qpid 1.6 / C ++代理时构建失败

时间:2012-06-13 13:09:16

标签: c++ visual-studio-2010 boost cmake qpid

我正在尝试使用visual studio 2010构建Qpid(1.6)并且我坚持使用 以下错误。我遵循的步骤是基于 (Qpid_Root / CPP / INSTALL-WINDOWS)

但是,我使用的版本高于文档中描述的版本 (例如:boost:1.49.0,Visual Studio:2010 Professional,Python:2.7,Ruby:1.93)。有人曾经这样做过吗?

顺便说一下,我查了一下,而且,我的最终目标是为Qpid构建WCF绑定。

我遵循的步骤是:

  1. 安装cmake,python,ruby,
  2. 安装boost(路径:是C:/ Program Files / boost / boost_1_49_0)
  3. 构建boost(C:/ Program Files / boost / boost_1_49_0 / stage / lib包含 输出库)
  4. 将环境变量设置如下:

    • BOOST_ROOT = C:\ Program Files \ boost \ boost_1_49_0
    • BOOST_LIBRARYDIR = C:\ Program Files \ boost \ boost_1_49_0 \ stage \ lib
    • BOOST_INCLUDEDIR = C:\ Program Files \ boost \ boost_1_49_0
  5. 从命令提示符调用cmake(cmake -i -G“Visual Studio 2010”)

  6. 错误:

    CMake Error at C:/Program Files (x86)/CMake2.8/share/cmake-2.8/Modules/FindBoost.cmake:1200 (message):
      Unable to find the requested Boost libraries.
    
      Boost version: 1.49.0
    
      Boost include path: C:/Program Files/boost/boost_1_49_0
    
      The following Boost libraries could not be found:
    
          boost_filesystem
          boost_program_options
          boost_date_time
          boost_thread
          boost_unit_test_framework
          boost_regex
    
      No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to
    the   directory containing Boost libraries or BOOST_ROOT to the location of Boost.
    Call Stack (most recent call first):
      src/CMakeLists.txt:310 (find_package)
    

0 个答案:

没有答案