Boost logo

Boost-Build :

Subject: Re: [Boost-build] Fatal Error LNK1107
From: William (wgu_at_[hidden])
Date: 2009-08-19 09:39:15

Vladimir Prus wrote:
> William wrote:
>> Hi List,
>> First I hope this is the correct group for this post, if not I apologise
>> and ask where should I post this?
>> Having now built 64 bit editions of my boost thread .libs and dlls using:
>> bjam --build-dir=./x64 toolset=msvc --with-thread address-model=64
>> link=shared threading=multi variant=release stage
>> However I get this :
>> <cut>\x64\boost_thread-vc90-mt-1_39.dll : fatal error LNK1107: invalid
>> or corrupt file: cannot read at 0x2E8
> Does this file exist? The command line above would not create it at that
> location.

Yes, it does, I neglected to mention that once the libraries and dll
were build it moved them to the path listed above.

> (BTW, it would be best if you did not cut bits of error messages, that
> makes it harder to guess what's wrong)

I appreciate the comment and duly noted, but in this instance it was
only a path and I figured that the majority of it was irrelevant. But
FYI this is the <cut> portion of the path.

C:\Users\William\Documents\Build Libraries\Boost

Also, I'm using Vista Business x64, Visual Studio 2008, v1.39.0 Boost
Source for builds, and v3.1.17 of bjam.

Within my project's build settings I use the $(PlatformName) macro to
set the appropriate path to the libraries thus:

C:\Users\William\Documents\Build Libraries\Boost\$(PlatformName)

with the x86 libraries in:

C:\Users\William\Documents\Build Libraries\Boost\Win32

and the x64 in:

C:\Users\William\Documents\Build Libraries\Boost\x64

Hope this helps.


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at