Boost logo

Boost Users :

Subject: Re: [Boost-users] 64 bits migration problems
From: Didier J-P Guion Firmin (gf.didierjp_at_[hidden])
Date: 2013-01-11 05:54:46


Good morning Simone,

To fix the LNK1104, you must to tell the linker where to look for
libraries to link to. This setting is under Linker -> General -> Additional
Library Directories.
Also do not mix 32/64 bit libraries. I had the same problem long time and
to fix it I rebuild the BOOST libs in 64 bits.
Hope this help.

Cheers

On Fri, Jan 11, 2013 at 11:20 AM, simone pilozzi <simonepilozzi_at_[hidden]>wrote:

> Dear Users,
> I am experiencing a lot of issues in compiling my VC 2010 projects with a
> 64 bits machin (while they work happily witha 32 bits).
> I downloaded the 1_51 version of boost for 64bits and I obtained the
> following error with the serialization library:
> Error 495 error LNK1104: cannot open file
> 'libboost_serialization-vc100-mt-gd-1_51.lib
> Then I tried some older version ( 1_47, i ) but I received this series of
> compiling errors related again to the xml archive.
>
> Error 493 error LNK2019: unresolved external symbol "protected: __cdecl
> boost::archive::xml_oarchive_impl<class
> boost::archive::xml_oarchive>::xml_oarchive_impl<class
> boost::archive::xml_oarchive>(class std::basic_ostream<char,struct
> std::char_traits<char> > &,unsigned int)" (
> ??0?$xml_oarchive_impl_at_Vxml_oarchive_at_archive@boost@@@archive_at_boost@@IEAA_at_AEAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@std@@I_at_Z)
> referenced in function "public: __cdecl
> boost::archive::xml_oarchive::xml_oarchive(class
> std::basic_ostream<char,struct std::char_traits<char> > &,unsigned int)" (
> ??0xml_oarchive_at_archive@boost@@QEAA_at_AEAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@std@@I_at_Z
> )
>
> Tried to build boost 1_51 with the 64bits using boostrap but it did not
> find build.bat since it is missing (I found boost-build.jam)
> Any suggestion?
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
Didier JP GF
Cornelis de Wittlaan 472 2582CT Den Haag.
gsm       :+31 618 065 223
landline  :+31 702 113 290


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