As of 1.49, I am completely unable to build boost with PDB files using VS2010

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

on Mon Mar 05 2012, "Michael Goldshteyn" <mgoldshteyn-AT-comcast.net> wrote:
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 suggest posting about this to the Boost.Build list: http://www.boost.org/community/groups.html#projects -- Dave Abrahams BoostPro Computing http://www.boostpro.com
participants (2)
-
Dave Abrahams
-
Michael Goldshteyn