Boost C++ Libraries: Ticket #2282: "Link to Boost" example in "Getting Started": msvc-8.0 Debug build with DLL runtime does not run https://svn.boost.org/trac10/ticket/2282 <p> I am using:<br /> </p> <ul><li>Windows XP Professional SP2/SP3 [german]<br /> </li><li>MSVC 2005 Express Edition [english]<br /> </li><li>Boost, all msvc-8.0 libraries installed via <a class="ext-link" href="http://www.boostpro.com/boost_1_35_0_setup.exe[[BR"><span class="icon">​</span>http://www.boostpro.com/boost_1_35_0_setup.exe[[BR</a>]] </li></ul><p> . </p> <p> When I create a "Debug" build of the Boost.Regex linking example from "Getting Started on Windows" <a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a>, building succeeds, but when I start the exe, I see the console message "The system cannot execute the specified program"<br /> (translated from "Das angegebene Programm kann nicht ausgeführt werden.")<br /> Dependency Walker says that MSVCP80D.DLL and MSVCR80D.DLL cannot be found. </p> <p> Workaround: using a static runtime library<br /> (by setting "C/C++-&gt;Code Generation-&gt;Runtime Library" to "Multi-threaded Debug (/MTd)" instead of the default "Multi-threaded Debug DLL (/MDd)". </p> <p> The example runs fine as "Release" build (with the default "Multi-threaded DLL (/MD)" runtime library). </p> <p> (I see this problem on two different machines.) </p> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a>: <a href="http://www.boost.org/doc/libs/1_35_0/more/getting_started/windows.html#link-your-program-to-a-boost-library">http://www.boost.org/doc/libs/1_35_0/more/getting_started/windows.html#link-your-program-to-a-boost-library</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2282 Trac 1.4.3 Robert Pollak <robert.pollak@…> Thu, 04 Sep 2008 09:05:46 GMT <link>https://svn.boost.org/trac10/ticket/2282#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2282#comment:1</guid> <description> <p> This ticket can be closed as invalid: </p> <p> The boostpro libs want to link agains versions 8.0.50727.762 of the mentioned dlls, which became available after updating MSVC 2005. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Thu, 04 Sep 2008 11:32:45 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2282#comment:2 https://svn.boost.org/trac10/ticket/2282#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> Happy to oblige :-) </p> <p> John. </p> Ticket