Boost logo

Boost Users :

Subject: [Boost-users] using boost in x64 app
From: LeRetha Childress (leretha.childress_at_[hidden])
Date: 2008-10-03 14:56:47


I am using Windows Vista and Visual Studio 2005 to create my 64 bit
application

I used bjam to build my boost libraries with the following command
  bjam --toolset=msvc-8.0_64 stagedir=. --build-type=complete

But when I link it to my library I get many warnings like the following

1>..\..\3rdparty\boost\boost/config/abi_prefix.hpp(19) : warning C4103:
'd:\brokaw.x64\3rdparty\boost\boost\config\abi_prefix.hpp' : alignment
changed after including header, may be due to missing #pragma pack(pop)

1>..\..\3rdparty\boost\boost/archive/detail/abi_prefix.hpp(11) : warning
C4103: 'd:\brokaw.x64\3rdparty\boost\boost\archive\detail\abi_prefix.hpp' :
alignment changed after including header, may be due to missing #pragma
pack(pop)

1>..\..\3rdparty\boost\boost/archive/basic_binary_oprimitive.hpp(52) :
warning C4103:
'd:\brokaw.x64\3rdparty\boost\boost\archive\basic_binary_oprimitive.hpp' :
alignment changed after including header, may be due to missing #pragma
pack(pop)
The library builds but with 892 of these boost warnings

Then when I build the driver for the app I get 219 linker errors like the
following

2>overlaylibd.lib(bsVolumeLineStrip.obj) : error LNK2001: unresolved
external symbol "public: void __cdecl
boost::archive::detail::basic_iarchive::load_object(void *,class
boost::archive::detail::basic_iserializer const &)"
(?load_object_at_basic_iarchive_at_detail@archive_at_boost@
@QEAAXPEAXAEBVbasic_iserializer_at_234@@Z)

2>overlaylibd.lib(bsVolumePolygons.obj) : error LNK2019: unresolved external
symbol "public: void __cdecl
boost::archive::detail::basic_iarchive::load_object(void *,class
boost::archive::detail::basic_iserializer const &)"
(?load_object_at_basic_iarchive_at_detail@archive_at_boost@
@QEAAXPEAXAEBVbasic_iserializer_at_234@@Z) referenced in function "private:
void __cdecl bs::Volume::Serialize::load<class
boost::archive::binary_iarchive>(class boost::archive::binary_iarchive
&,unsigned int)" (
??$load_at_Vbinary_iarchive_at_archive@boost@@@Serialize_at_Volume@bs@@AEAAXAEAVbinary_iarchive_at_archive@boost@@I_at_Z
)
Most of them are for boost::archive , boost::serilization and boost::signal
Can anyone tell me what I'm doing wrong or how to fix these issues

Thank you
LeRetha Childress



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