Re: [Plib-users] Compiling the UL
Brought to you by:
sjbaker
From: Sam S. <sa...@sp...> - 2002-12-05 15:49:06
|
You need to link against of the other Window's library. I can't remember which off the top of my head, but I thinks it's winmm.lib. Sam ----- Original Message ----- From: "John R Abercrombie" <jra...@at...> To: <pli...@li...> Sent: Thursday, December 05, 2002 3:35 PM Subject: [Plib-users] Compiling the UL > 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 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > |