many boost undefined references linking on windows
Posted: 16 Nov 2011, 03:01
Hi
I got the build mostly working on windows vista 64/minGW32
What is the proper setting for Boost_DIR ?
have set Boost_DIR in CMake and generated files
mingwlibs/include
and
mingwlibs/include/boost
link has many boost undefined references (see below)
C:/snvroot/springRTS/spring/mingwlibs/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
C:/snvroot/springRTS/spring/mingwlibs/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
C:/snvroot/springRTS/spring/mingwlibs/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
I got the build mostly working on windows vista 64/minGW32
What is the proper setting for Boost_DIR ?
have set Boost_DIR in CMake and generated files
mingwlibs/include
and
mingwlibs/include/boost
link has many boost undefined references (see below)
C:/snvroot/springRTS/spring/mingwlibs/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
C:/snvroot/springRTS/spring/mingwlibs/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
C:/snvroot/springRTS/spring/mingwlibs/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'