Page 1 of 1

many boost undefined references linking on windows

Posted: 16 Nov 2011, 03:01
by RBMachinima
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()'

Re: many boost undefined references linking on windows

Posted: 25 Nov 2011, 18:34
by abma
does this happen with 84.0, too? (don't forget to update mingwlibs...)