[Boost-bugs] [Boost C++ Libraries] #2282: "Link to Boost" example in "Getting Started": msvc-8.0 Debug build with DLL runtime does not run

Subject: [Boost-bugs] [Boost C++ Libraries] #2282: "Link to Boost" example in "Getting Started": msvc-8.0 Debug build with DLL runtime does not run
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-04 07:34:59


#2282: "Link to Boost" example in "Getting Started": msvc-8.0 Debug build with DLL
runtime does not run
--------------------------------------------------+-------------------------
 Reporter: Robert Pollak <robert.pollak_at_[hidden]> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: | Component: regex
  Version: Boost 1.35.0 | Severity: Problem
 Keywords: |
--------------------------------------------------+-------------------------
 I am using:[[BR]]
 - Windows XP Professional SP2/SP3 [german][[BR]]
 - MSVC 2005 Express Edition [english][[BR]]
 - Boost, all msvc-8.0 libraries installed via
 http://www.boostpro.com/boost_1_35_0_setup.exe[[BR]]
 .

 When I create a "Debug" build of the Boost.Regex linking example from
 "Getting Started on Windows" [1], 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.

 Workaround: using a static runtime library[[BR]]
 (by setting "C/C++->Code Generation->Runtime Library" to "Multi-threaded
 Debug (/MTd)" instead of the default "Multi-threaded Debug DLL (/MDd)".

 The example runs fine as "Release" build (with the default "Multi-threaded
 DLL (/MD)" runtime library).

 (I see this problem on two different machines.)

 [1]:
 http://www.boost.org/doc/libs/1_35_0/more/getting_started/windows.html
 #link-your-program-to-a-boost-library

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2282>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC