Boost C++ Libraries: Ticket #12626: Building boost with Python and MPI failed (MSVC) https://svn.boost.org/trac10/ticket/12626 <p> I don't which component is not working. </p> <p> I've checked out <a class="ext-link" href="https://github.com/boostorg/boost.git"><span class="icon">​</span>https://github.com/boostorg/boost.git</a> and create the configuration file: </p> <pre class="wiki">using python : 3.5 : E:/Work/Tools/python-3.5.2.3-portable32/python-3.5.2/python.exe : E:/Work/Tools/python-3.5.2.3-portable32/python-3.5.2/include : E:/Work/Tools/python-3.5.2.3-portable32/python-3.5.2/libs ; using mpi ; </pre><p> I've installed python 3.5 and Microsoft MPI v7.1 (and SDK). Now I try to build boost: </p> <pre class="wiki">b2.exe --user-config=user-config.jam -j 4 --toolset=msvc-12.0 --build-type=complete --build-dir=build-vc12-x86 -sBZIP2_SOURCE=E:\workspace\deps\bzip2\src -sBZIP2_BINARY=bzip2 -sBZIP2_INCLUDE=E:\workspace\deps\bzip2\install\include -sBZIP2_LIBPATH=E:\workspace\deps\bzip2\install\lib\Release -sZLIB_SOURCE=E:\workspace\deps\zlib\src -sZLIB_BINARY=zlib -sZLIB_INCLUDE=E:\workspace\deps\zlib\install\include -sZLIB_LIBPATH=E:\workspace\deps\zlib\install\lib architecture=x86 address-model=32 stage --stagedir=E:\workspace\install </pre><p> The result is: </p> <pre class="wiki">Performing configuration checks - 32-bit : yes (cached) - arm : no (cached) - mips1 : no (cached) - power : no (cached) - sparc : no (cached) - x86 : yes (cached) - symlinks supported : no (cached) - junctions supported : yes (cached) - hardlinks supported : yes (cached) - C++11 mutex : yes (cached) - Boost.Config Feature Check: cxx11_auto_declarations : yes (cached) - Boost.Config Feature Check: cxx11_constexpr : no (cached) - Boost.Config Feature Check: cxx11_defaulted_functions : yes (cached) - Boost.Config Feature Check: cxx11_final : yes (cached) - Boost.Config Feature Check: cxx11_hdr_tuple : yes (cached) - Boost.Config Feature Check: cxx11_lambdas : yes (cached) - Boost.Config Feature Check: cxx11_noexcept : no (cached) - Boost.Config Feature Check: cxx11_nullptr : yes (cached) - Boost.Config Feature Check: cxx11_rvalue_references : yes (cached) - Boost.Config Feature Check: cxx11_template_aliases : yes (cached) - Boost.Config Feature Check: cxx11_thread_local : no (cached) - Boost.Config Feature Check: cxx11_variadic_templates : yes (cached) - has_icu builds : no (cached) - iconv (libc) : no (cached) - iconv (separate) : no (cached) - icu : no (cached) - icu (lib64) : no (cached) - native-atomic-int32-supported : yes (cached) - message-compiler : yes (cached) - native-syslog-supported : no (cached) - pthread-supports-robust-mutexes : no (cached) - compiler-supports-visibility : no (cached) - compiler-supports-ssse3 : yes (cached) - compiler-supports-avx2 : yes (cached) - gcc visibility : no (cached) - long double support : yes (cached) warning: Skipping Boost.Locale library with threading=single. warning: Skipping Boost.Thread library with threading=single. warning: Skipping Boost.Wave library with threading=single. error: Name clash for '&lt;pE:\workspace\install\lib&gt;mpi.pyd' error: error: Tried to build the target twice, with property sets having error: these incompatible properties: error: error: - &lt;debug-symbols&gt;on &lt;inlining&gt;off &lt;library&gt;object(file-target)@12756 &lt;library&gt;object(file-target)@12758 &lt;library&gt;object(file-target)@12760 &lt;library&gt;object(file-target)@12774 &lt;library&gt;object(file-target)@12776 &lt;library&gt;object(file-target)@12778 &lt;library&gt;object(file-target)@6809 &lt;library&gt;object(file-target)@6811 &lt;library&gt;object(file-target)@6813 &lt;library&gt;object(file-target)@6919 &lt;library&gt;object(file-target)@6921 &lt;library&gt;object(file-target)@6923&lt;library&gt;object(searched-lib-target)@12605 &lt;optimization&gt;off &lt;runtime-debugging&gt;on &lt;variant&gt;debug &lt;xdll-path&gt;/E:/workspace/src/build-vc12-x86/boost/bin.v2/libs/mpi/build/msvc-12.0/debug/threading-multi &lt;xdll-path&gt;/E:/workspace/src/build-vc12-x86/boost/bin.v2/libs/python/build/msvc-12.0/debug/threading-multi &lt;xdll-path&gt;/E:/workspace/src/build-vc12-x86/boost/bin.v2/libs/serialization/build/msvc-12.0/debug/threading-multi error: - &lt;debug-symbols&gt;off &lt;define&gt;NDEBUG &lt;inlining&gt;full &lt;library&gt;object(file-target)@16291 &lt;library&gt;object(file-target)@16293 &lt;library&gt;object(file-target)@16360 &lt;library&gt;object(file-target)@16362 &lt;library&gt;object(file-target)@19297 &lt;library&gt;object(file-target)@19299 &lt;library&gt;object(file-target)@19312 &lt;library&gt;object(file-target)@19314 &lt;library&gt;object(searched-lib-target)@19202 &lt;optimization&gt;speed &lt;runtime-debugging&gt;off &lt;variant&gt;release &lt;xdll-path&gt;/E:/workspace/src/build-vc12-x86/boost/bin.v2/libs/mpi/build/msvc-12.0/release/threading-multi &lt;xdll-path&gt;/E:/workspace/src/build-vc12-x86/boost/bin.v2/libs/python/build/msvc-12.0/release/threading-multi &lt;xdll-path&gt;/E:/workspace/src/build-vc12-x86/boost/bin.v2/libs/serialization/build/msvc-12.0/release/threading-multi error: error: Please make sure to have consistent requirements for these error: properties everywhere in your project, especially for install error: targets. </pre><p> I can build boost by removing <em>using mpi</em> or <em>using python</em>. </p> <p> using python: OK </p> <p> using mpi: OK </p> <p> using python + using mpi: error </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12626 Trac 1.4.3 John Maddock Thu, 29 Dec 2016 11:32:43 GMT component changed; owner set https://svn.boost.org/trac10/ticket/12626#comment:1 https://svn.boost.org/trac10/ticket/12626#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Matthias Troyer</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">mpi</span> </li> </ul> Ticket