Boost logo

Boost Users :

From: Victor A. Wagner Jr. (vawjr_at_[hidden])
Date: 2004-05-07 00:19:55


At Thursday 2004-05-06 21:50, you wrote:
>Victor A. Wagner Jr. wrote:
>
>>PossibleClockEnhancements.obj : error LNK2019: unresolved external symbol
>>__imp__timeGetTime_at_0 referenced in function "public: static void __cdecl
>>gettickcount_timer::warm(void)" (?warm_at_gettickcount_timer@@SAXXZ)
>>PossibleClockEnhancements.obj : error LNK2019: unresolved external symbol
>>__imp__timeBeginPeriod_at_4 referenced in function "public: static void
>>__cdecl timegettime_timer::warm(void)" (?warm_at_timegettime_timer@@SAXXZ)
>>Release/PossibleClockEnhancements.exe : fatal error LNK1120: 2 unresolved
>>externals
>
>
>Its traditional on Windows to not link against the 'winmm' library by
>default. You need to add winmm.lib or whatever to the link line. That is
>one unfortunate downside to using this timer that is otherwise
>traditionally very well-supported and stable and precise in comparison to
>the alternatives.

you'd _think_ (nah, that's expecting too much of MS) that Microsoft would
use a #pragma comment lib blah (or whatever the syntax is) if you used the
functions.

>Aaron
>
>_______________________________________________
>Boost-users mailing list
>Boost-users_at_[hidden]
>http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
               "There oughta be a law"


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