I am building boost using the following command; this is done from the command window of MSVC 2005.

 

\boost-jam-3.1.16-1-ntx86\bjam --build-dir=c:\boost-build --toolset=msvc --build-type=complete --address-model=64

 

The intention is to build for amd64 target. Is this the right command? Should toolset be specified as “msvc-8.0_64”?

 

I am trying to use serialization library but keep getting linker errors like the following:

 

1>d:\source\ux_a_2\private\frontend\fex\search\searchconfigcontainer.obj : error LNK2019: unresolved external symbol "public: __cdecl boost::archive::basic_binary_oprimitive<class boost::archive::binary_oarchive,char,struct std::char_traits<char> >::~basic_binary_oprimitive<class boost::archive::binary_oarchive,char,struct std::char_traits<char> >(void)" (??1?$basic_binary_oprimitive@Vbinary_oarchive@archive@boost@@DU?$char_traits@D@std@@@archive@boost@@QEAA@XZ) referenced in function "public: __cdecl boost::archive::binary_oarchive_impl<class boost::archive::binary_oarchive,char,struct std::char_traits<char> >::~binary_oarchive_impl<class boost::archive::binary_oarchive,char,struct std::char_traits<char> >(void)" (??1?$binary_oarchive_impl@Vbinary_oarchive@archive@boost@@DU?$char_traits@D@std@@@archive@boost@@QEAA@XZ)

 

There seems to be some internet chatter related to this at http://www.nabble.com/using-boost-in-x64-app-td19804910.html.

 

However, I have been unable to make this thing work.

 

If I create a standalone project in VC and use serialization code then it works all fine; however, the standalone code was written in 32bit mode.

 

I will appreciate any clues anyone can provide.

Thanks.