RE: winmm.lib / undefined reference to _timeGetTime
"Buchanan, Stuart" <[email protected]> Thu, 11 Aug 2005 08:33:22 +0100 (BST)
| Newsgroups | gmane.games.flightgear.terragear.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Norman,
Many thanks for the CFLAGS. That got rid of that SEGV,
but I ran into another immediately. Fails for every
airport as far as I can tell. Stack below. Any idea?
-Stuart
Program received signal SIGSEGV, Segmentation fault.
0x005edd79 in std::basic_string<char,
std::char_traits<char>, std::allocator<cha
r> >::basic_string ()
at
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:114
114 ~basic_ostream() { }
(gdb) bt
#0 0x005edd79 in std::basic_string<char,
std::char_traits<char>, std::allocator
<char> >::basic_string ()
at
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:114
#1 0x004075a7 in build_airport ()
#2 0x004377e3 in main ()
--- Norman Vine <[email protected]> wrote:
> Buchanan, Stuart writes:
> >
> > I remember that I had to modify stl_vector.h
> > previously because of some unrequired (I thought)
> > references to std::max. Could this be related?
> >
> > Any help greatly appreciated.
>
> add -DNOMINMAX to the compiler flags
>
> CFLAGS="-DNOMINMAX" CXXFLAGS=$CFLAGS ./configure
>
> hth
>
> norman
>
>
>
> _______________________________________________
> Terragear-devel mailing list
> [email protected]
>
http://mail.flightgear.org/mailman/listinfo/terragear-devel
> 2f585eeea02e2c79d7b1d8c4963bae2d
>
___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d