Re: winmm.lib / undefined reference to _timeGetTime

Erik Hofman <[email protected]> Wed, 10 Aug 2005 10:07:03 +0200
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>
Buchanan, Stuart wrote:
> 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).

This got me thinking: Cygwin usually doesn't use the MSVC libraries so 
it requires a small change the the source of 
SimGear/simgear/timing/timestamp.cxx

At line 74 (just after void SGTimeStamp::stamp() ) there is a line:

#if defined( WIN32 )

This should be replaced by:

#if defined( WIN32 ) && !defined(__CYGWIN__)

Erik

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