|
Boost Users : |
Subject: Re: [Boost-users] Boost 1.56.0 has been released
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2014-08-10 18:47:10
On 9/08/2014 02:04, Lars Viklund wrote:
> On Fri, Aug 08, 2014 at 12:39:18PM +0200, Christoffer Green wrote:
>> ..\..\..\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'
[...]
> In this case, you in your project appear to not be linking in the
> library defining InterlockedCompareExchange, which IIRC is located in
> Kernel32.lib.
That should be a compiler intrinsic, though, not a library call. You
may need the /Oi compiler flag and/or some #defines to accomplish this.
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