Compiling with FreeGLUT and linking with the library statically (libfreeglut.a) usually requires FREEGLUT_STATIC to be defined in the headers. Works for me under Dev-C++ 4.9.9.2 with my own code (not sure about the FlightGear codebase though)
David Hazel schreef: > > I have been trying to compile FG using the current stable versions of > MinGW and MSys and have run into problems with undefined symbols. I am > following the build procedure defined in the FlightGear Wiki > <http://wiki.flightgear.org/flightgear_wiki/index.php?title=MSYS>. I > have downloaded and successfully built and installed plib-1.8.4 and > SimGear-0.3.10 into /fg from the MSys command line. I have also > unpacked the openal, pthread, sdl and zlib binaries from the archive > pointed to in the procedure into the same /fg location. I ran > configure for FlightGear-0.9.10 with the -–prefix=/fg option and have > tried both with and without –enable-sdl option. When compiling with > sdl enabled I get “undefined reference to [EMAIL PROTECTED] along with > other missing glut symbols during the compile of the first object in > the tests directory. When sdl is not enabled, all code compiles > successfully, however I get “undefined reference to > `glutGetModifiers`” at link time. I have tried using precompiled > libraries from opengl.org and freeGlut as well to no avail. > > I have searched through the development mailing list archive and have > not found any reference to this problem. Does anyone have a solution? > > Thanks, > > David > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------------------------------------------------ > > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.9.10/384 - Release Date: 10-7-2006 > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel