Dear developers,

I am still in the process of becoming a developer. I installed cygwin,
plib, simgear and flightgear.

I used getstarted.pdf to learn to compile flightgear.

Something missing in this pdf is that one has to install 
Xfree86 
Metakit

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.

After this I was able to compile and install plib and simgear.

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 ?

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 ?


++ -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'
/home/Administrator/source/simgear-0.0.17/simgear/screen/tr.cxx:437:
undefined reference to `glReadPixels'
/usr/local/lib/libsgscreen.a(tr.o): In function `trRasterPos3f(_TRctx *,
float, float, float)':
/home/Administrator/source/simgear-0.0.17/simgear/screen/tr.cxx:468:
undefined reference to `glRasterPos3f'
/home/Administrator/source/simgear-0.0.17/simgear/screen/tr.cxx:476:
undefined reference to `glGetDoublev'
/home/Administrator/source/simgear-0.0.17/simgear/screen/tr.cxx:477:
undefined reference to `glGetDoublev'
/home/Administrator/source/simgear-0.0.17/simgear/screen/tr.cxx:484:
undefined reference to `gluProject'
/home/Administrator/source/simgear-0.0.17/simgear/screen/tr.cxx:495:
undefined reference to `glRasterPos3f'
/home/Administrator/source/simgear-0.0.17/simgear/screen/tr.cxx:500:
undefined reference to `glBitmap'
collect2: ld returned 1 exit status
make[2]: *** [fgfs] Error 1
make[2]: Leaving directory
`/home/Administrator/source/flightgear-0.7.9/src/Main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/Administrator/source/flightgear-0.7.9/src'
make: *** [all-recursive] Error 1

I hope somebody can help me 

kind regards


Marcel Wittebrood         ADSE
_________________________
ADSE Consultancy and Engineering B.V.
Tel. +31 (0) 23 554 2255
Fax +31 (0) 23 557 1069
Email: [EMAIL PROTECTED]
Website http://www.adse.nl
P.O.Box 3083
2130 KB Hoofddorp
Saturnusstraat 12
2132 HB Hoofddorp
The Netherlands



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to