$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] As of 1.49, I am completely unable to build boost with PDB files using VS2010
From: Michael Goldshteyn (mgoldshteyn_at_[hidden])
Date: 2012-03-05 10:46:05
Whatever changes were made in 1.49 made it impossible for me to build a
debug version of the boost libraries with PDB files.
I am using the following command line:
-----
bootstrap
b2 --without-mpi --without-python --build-dir=vc100-bld-64-bit --build-type=complete
--toolset=msvc-10.0 --stagedir=64-bit-vc100 debug-symbols=on
debug-store=database
-----
I am getting errors like:
libs\math\build\..\src\tr1\assoc_laguerre.cpp(6) : error C2858: command-line
option 'program database name
(/Fde:\dev\devel\libs\boost\boost_1_49_0\vc100-bld-64-bit\boost\bin.v2\libs\math\build\msvc-10.0\debug\debug-store-database\link-static\runtime-link
-static\libboost_math_tr1-vc100-sgd-1_49.pdb)' inconsistent with precompiled
header, which used '/Fde:\dev\devel\libs\boost\boost_1_49_0\vc100.pdb'
libs\math\build\..\src\tr1\assoc_laguerre.cpp(6) : error C2859:
e:\dev\devel\libs\boost\boost_1_49_0\vc100-bld-64-bit\boost\bin.v2\libs\math\build\msvc-10.0\debug\debug-store-database\link-static\runtime-link-static\libboost_math_tr1-vc100-sgd-1_49.pdb
is
not the pdb file that was used when this precompiled header was created,
recreate the precompiled header.
I've tried turning off precompiled headers using pch=off, but still get
errors preventing me from building. I have to completely remove the
debug-store=database build option to get a build, but then I have no PDB
files at all for the boost libraries.
Thanks for any help,
Michael Goldshteyn