Marcel Wittebrood wrote: ... > I installed cygwin, plib, simgear and flightgear. ... > Something missing in this pdf is that one has to install > Xfree86 > Metakit
You installed CygWin so you must be using MS Windows. The OpenGL components of MS Windows and CygWin are enough; you do not need to install Xfree86. > For simgear one has to install the latest version of metakit (2.4.4.34). > Version 2.4.2 as delivered with simgear gives compiler errors. Yes: on some systems, version 2.4.2 fails to find some TCL stuff. Version 2.4.3 does the same but at least lets you "configure --without-tcl". Maybe 2.4.4.34 actually finds the stuff or works without it. > Next I tried to make flightgear and got the following errors while > compiling main.cxx in simgear source that I do not understand because > simgear was already compiled and the functions (for instance glflush() > are available through include gl.h in tr.cxx ? I got the same thing when building under Win2k/CygWin on a machine that does not have accelerated 3D graphics. I just commented out the relevant bits of simgear/screen/screen-dump.cxx and simgear/screen/tr.cxx that try to use the unavailable OpenGL functions. I ignored the "fix-up" warnings. This enabled me to build and run FlightGear. I don't know why our systems don't have these functions (glFinish, glReadPixels, glFlush, glRasterPos3f, glGetDoublev, gluProject, glBitmap). > One thing I was also wondering about is whether one always has to call : > aclocal ; automake -a ; autoconf > as mentioned on the simgear website or is this only a prerequisite for > simgear to build the configure script ? This is only for building the configure script and some other configuration files. When you next want to build SimGear (or plib or FlightGear) you only have to run "make" and "make install". - Julian > > ++ -DPKGLIBDIR=\"/usr/local/lib/FlightGear\" -g -O2 -L/usr/local/lib -o > fgfs main.o fg_commands.o fg_init.o fg_io.o fg_prop > s.o fgfs.o globals.o options.o splash.o viewer.o viewer_lookat.o > viewer_rph.o viewmgr.o ../../src/Aircraft/libAircraft.a . > ./../src/ATC/libATC.a ../../src/Autopilot/libAutopilot.a > ../../src/Cockpit/libCockpit.a ../../src/Controls/libControl > s.a ../../src/FDM/libFlight.a > ../../src/FDM/Balloon/libBalloon.a ../../src/FDM/JSBSim/libJSBSim.a > ../.. > /src/FDM/YASim/libYASim.a > ../../src/FDM/JSBSim/filtersjb/libfiltersjb.a > ../../src/FDM/LaRCsim/libLaRCsim.a ../.. > /src/FDM/UIUCModel/libUIUCModel.a ../../src/GUI/libGUI.a > ../../src/Navaids/libNavaids.a ../../src/Scenery/libScenery. > a ../../src/Sound/libSound.a ../../src/Airports/libAirports.a > ../../src/Network/libNetwork.a ../.. > /src/NetworkOLK/libNetworkOLK.a ../../src/Objects/libObjects.a > ../../src/Time/libTime.a ../../src/WeatherCM/l > ibWeatherCM.a ../../src/Input/libInput.a -lsgroute -lsgsky > -lsgephem -lsgtiming -lsgio -lsgscreen -lsgmath -lsg > bucket -lsgdebug -lsgmagvar -lsgmisc -lsgxml -lsgserial > -lplibpu -lplibfnt -lplibnet -lplibssg -lplibsg - > lmk4 -lz -lpthread -lm -lglut32 -lglu32 -lopengl32 -luser32 > -lgdi32 -lplibsl -lplibsm -lwinmm -lplibul -lm > Warning: resolving _glBlendFunc by linking to _glBlendFunc@8 > Use --enable-stdcall-fixup to disable these warnings > Use --disable-stdcall-fixup to disable these fixups > Warning: resolving _glPopAttrib by linking to _glPopAttrib@0 > Warning: resolving _glPushAttrib by linking to _glPushAttrib@4 > Warning: resolving _glDisable by linking to _glDisable@4 > Warning: resolving _glPopMatrix by linking to _glPopMatrix@0 > Warning: resolving _glOrtho by linking to _glOrtho@48 > Warning: resolving _glPushMatrix by linking to _glPushMatrix@0 > Warning: resolving _glPixelStorei by linking to _glPixelStorei@8 > Warning: resolving _glMatrixMode by linking to _glMatrixMode@4 > Warning: resolving _glViewport by linking to _glViewport@16 > Warning: resolving _glGetIntegerv by linking to _glGetIntegerv@8 > Warning: resolving _glLoadIdentity by linking to _glLoadIdentity@0 > /usr/local/lib/libsgscreen.a(screen-dump.o): In function > `sg_glDumpWindow(char const *, int, int)': > /home/Administrator/source/simgear-0.0.17/simgear/screen/screen-dump.cxx > :85: undefined reference to `glFinish' > /home/Administrator/source/simgear-0.0.17/simgear/screen/screen-dump.cxx > :87: undefined reference to `glReadPixels' > /usr/local/lib/libsgscreen.a(tr.o): In function `trEndTile(_TRctx *)': > /home/Administrator/source/simgear-0.0.17/simgear/screen/tr.cxx:404: > undefined reference to `glFlush' > /home/Administrator/source/simgear-0.0.17/simgear/screen/tr.cxx:418: > undefined reference to `glReadPixels' ... _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
