I have just finished installing FlightGear on my ~amd64 Gentoo machine (FlightGear and SimGear were manually installed for development work), and when I ran it, I got this message:
Code:
Uncaught Exception: you should see a meaningful error message
here, but your GLUT (or SDL) library was apparently compiled
and/or linked without exception support. Please complain to
its provider!
I looked at the USE flags for GLUT and SDL, and enabled GLUT's debug use flag (then reconfigured and recompiled FlightGear and SimGear). However, this message still persists.
emerge -pv freeglut libsdl:
Code:
[ebuild R ] media-libs/freeglut-2.6.0 USE="debug -mpx" 0 kB
[ebuild R ] media-libs/libsdl-1.2.14-r4 USE="X alsa audio joystick opengl video -aalib -custom-cflags -dga -directfb -fbcon -ggi -libcaca -nas -oss (-ps3) -pulseaudio -static-libs (-svga) -tslib -xinerama -xv" 0 kB
My configure lines for SimGear and Flightgear:
Code:
CFLAGS="-O0 -pipe -march=athlon64 -ggdb" CXXFLAGS="$CFLAGS" ./configure --prefix=/home/<user>/flightgear/sginstall
CFLAGS="-O0 -pipe -march=athlon64 -ggdb" CXXFLAGS="$CFLAGS" ./configure --prefix=/home/<user>/flightgear/fgfs --with-simgear=/home/<user>/flightgear/sginstall/
How do I enable exceptions support in SDL and GLUT?
Thank you for any help.