Opened 14 years ago

Closed 14 years ago

#2282 closed Bugs (invalid)

"Link to Boost" example in "Getting Started": msvc-8.0 Debug build with DLL runtime does not run

Reported by: Robert Pollak <robert.pollak@…> Owned by: John Maddock
Milestone: Component: regex
Version: Boost 1.35.0 Severity: Problem
Keywords: Cc:

Description

I am using:

.

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"
(translated from "Das angegebene Programm kann nicht ausgeführt werden.")
Dependency Walker says that MSVCP80D.DLL and MSVCR80D.DLL cannot be found.

Workaround: using a static runtime library
(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

Change History (2)

comment:1 by Robert Pollak <robert.pollak@…>, 14 years ago

This ticket can be closed as invalid:

The boostpro libs want to link agains versions 8.0.50727.762 of the mentioned dlls, which became available after updating MSVC 2005.

comment:2 by John Maddock, 14 years ago

Resolution: invalid
Status: newclosed

Happy to oblige :-)

John.

Note: See TracTickets for help on using tickets.