Boost logo

Boost-Build :

Subject: Re: [Boost-build] boost-build with msvc90 on Cygwin problems
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-06-16 14:31:07


Andrej van der Zee wrote:

>
> Hi,
>
> I build my program using a nightly build of boost-build with msvc90 on Cygwin. When I run my
> executable on a computer without Visual Studio installed, I get the following error:
>
> Activation context generation failed for "U:\Filetemp\cap2net.exe". Dependent Assembly
>
Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
> could not be found. Please use sxstrace.exe for detailed diagnosis.
>
> Now it seems that it is looking for some VisualStudio DLL or something. Is there any way I can get
> rid of this problem, for example by statically compiling against the VS DLLs? How can I configure
> boost-build to do so?

You should either:
1. Redistribute necessary libraries. However, I don't think debug runtime can be redistributed, so
you'd have to build with variant=release

2. Link statically. link=static runtime-link=static will probably work.

- Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk