RE: [Flightgear-devel] windows binary

2002-05-06 Thread fjlopez

Marcio:
I've been trying to compile the latest version, but I've encountered some 
problems linking against the opengl library.

I'm trying to compile it in windows XP and using:
 gcc version 2.95.3-5.
 Opengl 1.1.0-6
 SimGear 0.0.18
 Plib-1.4.2

No problems compiling simgear and plib.

Has anybody seen this error before ?

I've checked the undefined references and they are in the libraries indeed.

Thanks in advance
Francisco

Making all in Main
make[2]: Entering directory `/cygdrive/d/fg/FlightGear-0.7.10/src/Main'
c++ -DPKGLIBDIR=\/usr/local/lib/FlightGear\ -g -O2 -enable-stdcall-fixup  
-L/usr/local/lib -o fgfs  main.o fg_commands.o fg_init.o fg_io.o fg_props.o fgfs.o 
globals.o logger.o options.o splash.o viewer.o viewmgr.o location.o ../../src/Air
craft/libAircraft.a ../../src/ATC/libATC.a ../../src/Autopilot/libAutopilot.a 
../../src/Cockpit/libCockpit.a ../../src/Cockpit/built_in/libBuilt_in.a 
../../src/Controls/libControls.a ../../src/FDM/libFlight.a 
../../src/FDM/Balloon/libBalloon.a ../../src/FDM/JSBSim/libJSBSim.a 
../../src/FDM/YASim/libYASim.a ../../src/FD
M/JSBSim/filtersjb/libfiltersjb.a ../../src/FDM/LaRCsim/libLaRCsim.a 
../../src/FDM/UIUCModel/libUIUCModel.a ../../src/GUI/libGUI.a 
../../src/Model/libModel.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/libWeatherCM.a ../../src/Input/libInput.a 
-lsgroute -lsgsky -lsgephem -lsgtiming -lsgio -lsgscreen -lsgmath -lsgbucket -lsgdebug 
-lsgmagvar -lsgmisc -lsgxml -lsgserial  -lplibpu -lplibfnt -lplibnet -lplibssg -lplibsg
 -lmk4 -lz -lopengl32 -lpthread -lm  -lglut32 -lglu32 -lglaux -lglui -lgluix -lplibsl 
-lplibsm -lwinmm -lplibul -lm
/usr/local/lib/libsgscreen.a(screen-dump.o): In function `sg_glDumpWindow(char const 
*, int, int)':
/cygdrive/d/fg/SimGear-0.0.18/simgear/screen/screen-dump.cxx:84: undefined reference 
to `glFinish'
/cygdrive/d/fg/SimGear-0.0.18/simgear/screen/screen-dump.cxx:86: undefined reference 
to `glReadPixels'
/usr/local/lib/libsgscreen.a(tr.o): In function `trEndTile(_TRctx *)':
/cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:404: undefined reference 
to`glFlush'
/cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:418: undefined reference 
to`glReadPixels'
/cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:437: undefined reference 
to`glReadPixels'
/usr/local/lib/libsgscreen.a(tr.o): In function `trRasterPos3f(_TRctx *, float,float, 
float)':
/cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:468: undefined reference 
to`glRasterPos3f'
/cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:476: undefined reference 
to`glGetDoublev'
/cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:477: undefined reference 
to`glGetDoublev'
/cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:484: undefined reference 
to`gluProject'
/cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:495: undefined reference 
to`glRasterPos3f'
/cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:500: undefined reference 
to`glBitmap'
collect2: ld returned 1 exit status
make[2]: *** [fgfs] Error 1
make[2]: Leaving directory `/cygdrive/d/fg/FlightGear-0.7.10/src/Main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/d/fg/FlightGear-0.7.10/src'
make: *** [all-recursive] Error 1

-Original Message-
From: Marcio Shimoda [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, May 05, 2002 12:08 PM
To: [EMAIL PROTECTED]
Subject: [Flightgear-devel] windows binary


Hi!
Does anybody have the windows .exe of the current FlightGear CVS?

All the best,

Marcio Shimoda


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

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



Re: [Flightgear-devel] windows binary

2002-05-06 Thread Julian Foad

It seems to be caused by a recent change in CygWin.  Here is Norman's answer to the 
same question:

Norman Vine wrote (on Tue, 23 Apr 2002):
 
 The opengl libs got moved to
 
 / lib / w32api /   directory
 
 don't ask me why ?
 
 I just made a link to these in my '/ lib' dirrectory
 
 you could also just copy them there
 
 or add a -mwindows flag to the gcc link options
 
 IMHO None of the above are the right solution but
 I have quit pushing for what IMHO is the 'right' way
 of doing things in Open Source projects when one
 can easily change things in your local copy
 
 If-I-wanted-to-be-borg-I-wouldn't-need-a-compiler'ly yrs
 
 Norman


[EMAIL PROTECTED] wrote:
 
 I've been trying to compile the latest version, but I've encountered some 
problems linking against the opengl library.
...
 
 Has anybody seen this error before ?
...
 
 /usr/local/lib/libsgscreen.a(screen-dump.o): In function `sg_glDumpWindow(char const 
*, int, int)':
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/screen-dump.cxx:84: undefined reference 
to `glFinish'
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/screen-dump.cxx:86: undefined reference 
to `glReadPixels'
 /usr/local/lib/libsgscreen.a(tr.o): In function `trEndTile(_TRctx *)':
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:404: undefined reference 
to`glFlush'
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:418: undefined reference 
to`glReadPixels'
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:437: undefined reference 
to`glReadPixels'
 /usr/local/lib/libsgscreen.a(tr.o): In function `trRasterPos3f(_TRctx *, 
float,float, float)':
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:468: undefined reference 
to`glRasterPos3f'
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:476: undefined reference 
to`glGetDoublev'
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:477: undefined reference 
to`glGetDoublev'
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:484: undefined reference 
to`gluProject'
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:495: undefined reference 
to`glRasterPos3f'
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:500: undefined reference 
to`glBitmap'
 collect2: ld returned 1 exit status

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



RE: [Flightgear-devel] windows binary

2002-05-06 Thread fjlopez

I've tried both and I've got the same error.

Has anyone been able to compile the latest version on win32/cygwin platform ?

Francisco

-Original Message-
From: Julian Foad [mailto:[EMAIL PROTECTED]] 
Sent: Monday, May 06, 2002 2:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [Flightgear-devel] windows binary


It seems to be caused by a recent change in CygWin.  Here is Norman's answer to the 
same question:

Norman Vine wrote (on Tue, 23 Apr 2002):
 
 The opengl libs got moved to
 
 / lib / w32api /   directory
 
 don't ask me why ?
 
 I just made a link to these in my '/ lib' dirrectory
 
 you could also just copy them there
 
 or add a -mwindows flag to the gcc link options
 
 IMHO None of the above are the right solution but
 I have quit pushing for what IMHO is the 'right' way
 of doing things in Open Source projects when one
 can easily change things in your local copy
 
 If-I-wanted-to-be-borg-I-wouldn't-need-a-compiler'ly yrs
 
 Norman


[EMAIL PROTECTED] wrote:
 
 I've been trying to compile the latest version, but I've 
 encountered some problems linking against the opengl library.
..
 
 Has anybody seen this error before ?
..
 
 /usr/local/lib/libsgscreen.a(screen-dump.o): In function 
 `sg_glDumpWindow(char const *, int, int)':
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/screen-dump.cxx:84: undefined reference 
to `glFinish'
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/screen-dump.cxx:86: undefined reference 
to `glReadPixels'
 /usr/local/lib/libsgscreen.a(tr.o): In function `trEndTile(_TRctx *)':
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:404: undefined reference 
to`glFlush'
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:418: undefined reference 
to`glReadPixels'
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:437: undefined reference 
to`glReadPixels'
 /usr/local/lib/libsgscreen.a(tr.o): In function `trRasterPos3f(_TRctx *, 
float,float, float)':
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:468: undefined reference 
to`glRasterPos3f'
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:476: undefined reference 
to`glGetDoublev'
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:477: undefined reference 
to`glGetDoublev'
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:484: undefined reference 
to`gluProject'
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:495: undefined reference 
to`glRasterPos3f'
 /cygdrive/d/fg/SimGear-0.0.18/simgear/screen/tr.cxx:500: undefined reference 
to`glBitmap'
 collect2: ld returned 1 exit status

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

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



RE: [Flightgear-devel] windows binary

2002-05-06 Thread Norman Vine

[EMAIL PROTECTED] writes:

I've tried both and I've got the same error.

Has anyone been able to compile the latest version on 
win32/cygwin platform ?

YES

My guess is that you do not have the Cygwin OpenGL link libraries 
installed. Try reruning the Cygwin setup program and make sure 
that the OpenGL distribution is checked for installation !

Norman

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



[Flightgear-devel] windows binary

2002-05-05 Thread Marcio Shimoda

Hi!
Does anybody have the windows .exe of the current FlightGear CVS?

All the best,

Marcio Shimoda


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