|
Boost Users : |
Subject: [Boost-users] Build problems with 64-bit VC12 (MSVS2013)
From: Craig Henderson (hello_at_[hidden])
Date: 2014-02-21 08:45:57
Hi all,
I am having trouble building Boost 1.55 for x64 using VC12. 32-bit builds
without error, but 64-bit fails. All of the errors are
boost/archive/iterators/transform_width.hpp(151) : error C2039: 'min' :
is not a member of 'std'
and repeats a lot
I added #include <algorithm> to the beginning of the transform_width.hpp
header file, and the build now completes without error. However, my app has
two linker errors linking with libboost_system-vc120-mt-1_55.lib
features.obj : error LNK2019: unresolved external symbol "class
boost::system::error_category const & __cdecl
boost::system::system_category(void)" (?system_category_at_system@boost@
@YAAEBVerror_category_at_12@XZ) referenced in function "public: __cdecl
boost::system::error_code::error_code(void)" (??0error_code_at_system@boost@
@QEAA_at_XZ)
features.obj : error LNK2019: unresolved external symbol "class
boost::system::error_category const & __cdecl
boost::system::generic_category(void)" (?generic_category_at_system@boost@
@YAAEBVerror_category_at_12@XZ) referenced in function "void __cdecl
boost::system::`dynamic initializer for 'errno_ecat''(void)"
(??__Eerrno_ecat_at_system@boost@@YAXXZ)
Again, the 32 bit builds and links Ok.
I'm thinking that as the problematic file in Boost in is an 'archive'
directory, perhaps the wrong include file is being picked up? But I can't
find the difference in 32/64 configurations to find the cause.
Is this a known problem? Any suggestions how to diagnose or (preferably!)
fix this?
Many thanks
Craig
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