Boost C++ Libraries: Ticket #11805: building boost.python 1.56+ with msvc https://svn.boost.org/trac10/ticket/11805 <p> Hello! </p> <p> First, I wanted to thanks you for Boost.Python which is amazing once you succeed to use it <sup></sup> </p> <p> I've tried for at least a week to make it works with MSVC (I tried 2010 and 2015). As stated in <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/10799"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/10799</a> there is several problems not all easy to find. But the last one is not logged, and I've finally found how to fix it yesterday \o/ </p> <p> Thanks to this post on stackoverflow: <a class="ext-link" href="http://stackoverflow.com/a/33600073"><span class="icon">​</span>http://stackoverflow.com/a/33600073</a> (thanks a lot to Ralph even if I don't know him) </p> <p> just do the magic, and it works oO </p> <p> to summarize : </p> <ul><li>start by removing the line 1472 "toolset.flags msvc.link.dll LINKFLAGS &lt;suppress-import-lib&gt;true : /NOENTRY ;" </li><li>replace the lines 1351 to 1356 with </li></ul><pre class="wiki"> generators.register [ new msvc-linking-generator msvc.link.dll : OBJ SEARCHED_LIB STATIC_LIB IMPORT_LIB : SHARED_LIB IMPORT_LIB : &lt;toolset&gt;msvc ] ; </pre><p> This bug occurs in 1.59.0 (version that I use), but is apparently here since 1.56 (said in the post) </p> <p> If this could be fixed in the next version of Boost, that would be great! </p> <p> First bug report on Boost, so don't hesitate to ask for more details if needed. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11805 Trac 1.4.3 anonymous Thu, 19 Nov 2015 10:09:39 GMT version, summary changed https://svn.boost.org/trac10/ticket/11805#comment:1 https://svn.boost.org/trac10/ticket/11805#comment:1 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.57.0</span> → <span class="trac-field-new">Boost 1.56.0</span> </li> <li><strong>summary</strong> <span class="trac-field-old">building boost.python 1.57+ with msvc</span> → <span class="trac-field-new">building boost.python 1.56+ with msvc</span> </li> </ul> Ticket viboes Sat, 21 Nov 2015 20:32:55 GMT component changed; owner set https://svn.boost.org/trac10/ticket/11805#comment:2 https://svn.boost.org/trac10/ticket/11805#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Ralf W. Grosse-Kunstleve</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">python USE GITHUB</span> </li> </ul> Ticket