many boost undefined references linking on windows

many boost undefined references linking on windows

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
RBMachinima
Posts: 3
Joined: 16 Nov 2011, 02:54

many boost undefined references linking on windows

Post 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()'
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: many boost undefined references linking on windows

Post by abma »

does this happen with 84.0, too? (don't forget to update mingwlibs...)
Post Reply

Return to “Help & Bugs”