[Plib-users] Compiling the UL
Brought to you by:
sjbaker
From: John R A. <jra...@at...> - 2002-12-05 15:36:04
|
Hey, new to this list so i don't know how much activity occurs. Hope there is somebody out there that can help me. Just got the PLIB today, compiled just the Utility Library because all I need (currently) is the platform independent ulClock class. Compiled the UL, produced two header files and the library in the root dir of the libraries folder (using .NET on Win32, btw). So then I include "ul.h" somewhere in my project and put a ulClock class in one of my own classes. Compiles fine, except for a linker error in the ulClock class. It can't seem to find an implementation of timeGetTime() (which is referenced in ulClock::getRawTime). This is strange because timeGetTime is defined in mmsystem.h Since I belive my system uses the performance timers, it's not a big deal because I can just comment that line out and return 0.0 (yeah, I know it's a hack, that's why I'm asking how to fix it). Since my system will use performance timers it will never get to my hack. Anybody have any ideas / suggestions / comments? Thanks for the library whoever wrote it, re-inventing the wheel is tiring. -crombie |