错误:在Windows中使用MPI支持编译Boost

时间:2015-09-30 00:33:51

标签: c++ visual-studio boost mpi point-cloud-library

我正在尝试使用Microsoft Visual Studio 2015从源代码编译64位版本的Boost 1.57(www.boost.org),但我遇到了错误。我按照以下网站(https://gist.github.com/UnaNancyOwen/d879a41710e9c05025f8#file-boost1-56-0-md)的说明进行操作。我按照说明写了这封信,但我(而是)运行以下命令来构建:

C:\boost_1_57_0>b2.exe toolset = msvc-14.0 address-model = 64 --build-dir = build \ x64 install --prefix = "C: \ Program Files \ Boost" -j4

出现以下错误:

C:/boost_1_57_0/tools/build/src/tools\mpi.jam:251: syntax error at argument $(cluster_pack_path_native)
C:/boost_1_57_0/tools/build/src/tools\mpi.jam:252: syntax error at keyword {
libs\graph_parallel\build\Jamfile.v2:17: in modules.load
ERROR: rule "mpi.configured" unknown in module "Jamfile<C:\boost_1_57_0\libs\graph_parallel\build>".
C:/boost_1_57_0/tools/build/src/build\project.jam:311: in load-jamfile
C:/boost_1_57_0/tools/build/src/build\project.jam:64: in load
C:/boost_1_57_0/tools/build/src/build\project.jam:89: in load-used-projects
C:/boost_1_57_0/tools/build/src/build\project.jam:75: in load
C:/boost_1_57_0/tools/build/src/build\project.jam:145: in project.find
C:/boost_1_57_0/tools/build/src\build-system.jam:535: in load
C:\boost_1_57_0\tools\build\src/kernel\modules.jam:289: in import
C:\boost_1_57_0\tools\build\src/kernel/bootstrap.jam:139: in boost-build
C:\boost_1_57_0\boost-build.jam:17: in module scope

有什么想法?目标是让C ++ Point Cloud Library(PCL)适用于VS 2015.我有Windows 8.如果您需要更多详细信息,请告诉我......

0 个答案:

没有答案