On 8 Aug 2014 at 12:39, Christoffer Green wrote:
I tried upgrading from 1.55 to 1.56 and got a linking error.
I am using mingw32-gcc-4.7.2 on windows 7. I compiled boost with "b2 toolset=gcc stage release -j8 --build-type=complete link=static threading=multi variant=release"
..\..\..\lib/libPrimeGameEngineRelease.a(GameEngine.o):GameEngine.cpp:(.text$_ZN5boost6detail5win3223GetTickCount64emulationEv+0x27): undefined reference to `_InterlockedCompareExchange' ..\..\..\lib/libPrimeGameEngineRelease.a(GameEngine.o):GameEngine.cpp:(.text$_ZN5boost6detail5win3223GetTickCount64emulationEv+0x87): undefined reference to `_InterlockedCompareExchange'
Boost.Thread in 1.56 is known to be broken on Mingw. It was discovered late in the testing process. We did not consider it a showstopper as Mingw-w64 is not broken. Boost.Thread trunk is already fixed for Mingw, you can find the fix at https://github.com/boostorg/thread/commit/26042ca26a9783c9055a40ada6b8 bb26d3dd65b6#diff-d41d8cd98f00b204e9800998ecf8427e Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/