Boost logo

Boost Users :

From: Stuart Dootson (stuart.dootson_at_[hidden])
Date: 2008-03-18 12:07:39


On 17/03/2008, Erignac, Charles A <charles.a.erignac_at_[hidden]> wrote:
> My boost dependent applications fail to start in debug mode: error
> 14001.
> The dependency walker cannot locate the VC-8.0 runtime dlls referenced
> by the boost-*-vc80-mt-gd-1_34_1.dll libraries I build on my machine.
> That is the multi-threaded debug dll runtime: MSVCP80D.DLL,
> MSVCR80D.DLL.
> The binary distribution I got from boost.com has the same problem.
> This is related to the side-by-side configuration rather than making
> sure that the runtime dlls are in my path.
> A default win32 console project from VC-8.0 links fine in multi-threaded
> debug dll runtime mode.
> Also, a dll compiled in the VC-8.0 IDE referencing boost will resolve
> the runtime correctly but the associated boost dlls won't. Thus the
> dependency walker will also report unresolved runtime dlls/
>
> I have re-installed VC-8.0 but without success. I also have VC-7.1 on my
> machine.
>
> Help is greatly appreciated.
>
> Best regards,
> Charles

Charles - are the VC++ runtime DLLs installed in the SxS area in your
Windows directory? If not, then (IIRC) each EXE *and* DLL that links
to them needs its own manifest to say where they expect to get the
runtime DLLs from.

Also, I always find FileMon
(http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx) useful
to see which directories the Windows loader is looking in to find DLLs
when I have issues like this.

Stuart Dootson


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net