Boost logo

Boost Users :

Subject: [Boost-users] [repost][filesystem][system] Linking errors with C++0X options on intel C++ 11.0
From: jesseperla_at_[hidden]
Date: 2009-04-01 17:13:13


Sorry to repost, but I am at a loss and was hoping I have missed something.
I am on Intel C++ 11.0 on windows.

I built boost::filesystem and boost::system as static libraries with the
following line in my userconfig.jam

using intel-win : 11.0 : : <cxxflags>/Qstd:c++0x ;

I am then compiling a project (that works with non-C++0x just fine) with
/Qstd:c++0x in the command line. But when I try to link it with my calls to
boost::filesystem header functions, I get the following link errors (it
must be using auto linking)

1>etk_template.obj : error LNK2019: unresolved external symbol "class
boost::system::error_category const & __cdecl
boost::system::get_system_category(void)"
(?get_system_category_at_system@boost@@YAABVerror_category_at_12@XZ) referenced
in function _main
1>etk_template2.obj : error LNK2001: unresolved external symbol "class
boost::system::error_category const & __cdecl
boost::system::get_system_category(void)"
(?get_system_category_at_system@boost@@YAABVerror_category_at_12@XZ)
1>etk_template.obj : error LNK2019: unresolved external symbol "class
boost::system::error_category const & __cdecl
boost::system::get_generic_category(void)"
(?get_generic_category_at_system@boost@@YAABVerror_category_at_12@XZ) referenced
in function _main
1>etk_template2.obj : error LNK2001: unresolved external symbol "class
boost::system::error_category const & __cdecl
boost::system::get_generic_category(void)"
(?get_generic_category_at_system@boost@@YAABVerror_category_at_12@XZ)

I am not changing any pre-compiler definitions for boost when I use
/Qstd:c++0x. Should I be changing anything there? Am I out of luck?

-Jesse



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