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

Reply via email to