winmm.lib / undefined reference to _timeGetTime

"Buchanan, Stuart" <[email protected]> Wed, 10 Aug 2005 07:41:09 +0100 (BST)
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>
Hi All,

Apologies if you've seen this message on
Flightgear-Devel. I only just noticed that there was a
Terragear-devel list.

I'm compiling TerraGear under cygwin, have hit the
usual issues and managed to resolve all except the
_timeGetTime linking in Prep/TGVPF (error message
listed below post).

Other posts suggest that I need to get winmm.lib. 

However, I can't find this library anywhere. Google
suggests it is part of MS Visual Studio (or whatever
they are calling it now), or Borland C++. Surely I
don't need these to get TerraGear compiling?

Does anyone know where I can get hold of this library?

Or can I safely hack out the reference?

-Stuart

make[3]: Entering directory
`/home/Stuart/TerraGear/src/Prep/TGVPF'
g++  -g -O2  -L/usr/X11R6/lib -o tgvpf.exe  tgvpf.o
../../../src/Lib/Polygon/lib
Polygon.a ../../../src/Lib/Geometry/libGeometry.a
../../../src/Lib/poly2tri/libp
oly2tri.a
../../../src/Lib/TriangleJRS/libTriangleJRS.a
../../../src/Lib/vpf/lib
vpf.a -lsgdebug -lsgbucket -lsgmisc -lsgmath -lsgio
-lsgtiming -lsgstructure -ls
gxml -lwinmm -lgenpolyclip -lz
/usr/local/lib/libsgtiming.a(timestamp.o): In function
`_ZN11SGTimeStamp5stampEv
':
/home/Stuart/SimGear/simgear/timing/timestamp.cxx:74:
undefined reference to `_t
imeGetTime@0'
collect2: ld returned 1 exit status
make[3]: *** [tgvpf.exe] Error 1


	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d