Boost logo

Boost Users :

Subject: Re: [Boost-users] Building boost-1.42.0 wuth VS 2005 - precompiled header error
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2010-03-19 14:42:57


> -----Original Message-----
> From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of john blair
> Sent: Friday, March 19, 2010 2:13 AM
> To: Boost-users_at_[hidden]
> Subject: [Boost-users] Building boost-1.42.0 wuth VS 2005 - precompiled header error
>
> I am trying to build boost-1.42.0 with visual studio 2005 and getting the following error:
> assoc_laguerre.cpp
> libs\math\build\..\src\tr1\assoc_laguerre.cpp(6) : error C2858: command-line opt
> ion 'program database name (/Fdc:\toolchain\src\boost-1.42.0\build-win32-vc80-de
> bug\boost\bin.v2\libs\math\build\msvc-8.0\dbg\dbg-str-dtbs\lnk-sttc\thrd-mlt\lib
> boost_math_tr1-vc80-mt-gd-1_42.pdb)' inconsistent with precompiled header, which
> used '/Fdc:\toolchain\src\boost-1.42.0\boost_1_42_0\vc80.pdb'
> libs\math\build\..\src\tr1\assoc_laguerre.cpp(6) : error C2859: c:\toolchain\src
> \boost-1.42.0\build-win32-vc80-debug\boost\bin.v2\libs\math\build\msvc-8.0\dbg\d
> bg-str-dtbs\lnk-sttc\thrd-mlt\libboost_math_tr1-vc80-mt-gd-1_42.pdb is not the p
> db file that was used when this precompiled header was created, recreate the pre
> compiled header.
> ...failed updating 1 target...
>
> Anybody knows how to resolve this?

John Maddock is the man who can definitively answer this, but since he hasn't replied yet,

does the

I:\boost_1_42_0\libs\math\build\jamfile.v2

(re-build the pre-compiled header?)

(cd to that directory and enter "bjam -a > yourlogfile.log")

do anything to help?

Paul

---
Paul A. Bristow
Prizet Farmhouse
Kendal, UK   LA8 8AB
+44 1539 561830, mobile +44 7714330204
pbristow_at_[hidden]

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