boost serialize issue when compile 64 bit application
Hi all,
I am compiling 64 bit application, and got lots of errors about boost
serializer, but I don't have any issue when compile 32 bit application.
Is there some attention when transform from 32 bit boost to 64 bit
boost? Any advice would be appreciate, thanks in advance!
PS: We used intel toolchain to compile boost, and tried with different
boost version, still got same errors.
Regards,
Gary
Main.o: In function
`boost::archive::detail::iserializer
On Wed, Apr 16, 2014 at 3:26 AM, gary jiang
I am compiling 64 bit application, and got lots of errors about boost serializer, but I don't have any issue when compile 32 bit application. Is there some attention when transform from 32 bit boost to 64 bit boost?
Yes: build Boost in 64 bits as well. Try 'b2 address-model=64 ...' Those are linker errors.
On 2014/4/16 21:48, Nat Goodspeed wrote:
On Wed, Apr 16, 2014 at 3:26 AM, gary jiang
wrote: I am compiling 64 bit application, and got lots of errors about boost serializer, but I don't have any issue when compile 32 bit application. Is there some attention when transform from 32 bit boost to 64 bit boost? Yes: build Boost in 64 bits as well. Try 'b2 address-model=64 ...' Sorry, the boost is built as b4 bit as follows:
cd boost_1_50_0/ mkdir gary source /opt/intel/composer_xe_2013_sp1.2.144/bin/compilervars.sh intel64 ./bootstrap.sh --prefix=gary/ --with-toolset=intel-linux ./bjam address-model=64 install Is there anything else which I missed? Thanks. Regards, Gary
Those are linker errors. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
gary jiang
-
Nat Goodspeed