Well, now the next problem. The error occurs during the make of the
SimGear. This is the tailing code snippet:
-----------------------
if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
-I/usr/X11R6/include -g -O2 -D_REENTRANT -MT sg_path.o -MD -MP -MF
".deps/sg_path.Tpo" -c -o sg_path.o sg_path.cxx; \
then mv -f ".deps/sg_path.Tpo" ".deps/sg_path.Po"; else rm -f
".deps/sg_path.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
-I/usr/X11R6/include -g -O2 -D_REENTRANT -MT sgstream.o -MD -MP -MF
".deps/sgstream.Tpo" -c -o sgstream.o sgstream.cxx; \
then mv -f ".deps/sgstream.Tpo" ".deps/sgstream.Po"; else rm -f
".deps/sgstream.Tpo"; exit 1; fi
In file included from sgstream.hxx:47,
from sgstream.cxx:35:
../../simgear/misc/zfstream.hxx:33:18: zlib.h: No such file or directory
In file included from sgstream.hxx:47,
from sgstream.cxx:35:
../../simgear/misc/zfstream.hxx:160: error: 'gzFile' is used as a type,
but is
not defined as a type.
../../simgear/misc/zfstream.hxx: In member function `bool
gzfilebuf::is_open()
const':
../../simgear/misc/zfstream.hxx:133: error: `file' undeclared (first use
this
function)
../../simgear/misc/zfstream.hxx:133: error: (Each undeclared identifier is
reported only once for each function it appears in.)
make[3]: *** [sgstream.o] Error 1
make[3]: Leaving directory `/home/scott/SimGear-0.3.8/simgear/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/scott/SimGear-0.3.8/simgear'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/scott/SimGear-0.3.8/simgear'
make: *** [all-recursive] Error 1
-----------------------
Scott
scott wrote:
That worked for me. Thanks!
John Matro wrote:
Just ran across the same problem this week. You have to install the
"devel" package for Mesa (it's named something like MesaGLU1-devel").
I'm using Mandrake Linux, and I found an rpm for it on one of the
Mandrake rpm mirror sites.
-JM
PS: Now I'm stuck installing OpenAL, which is required before
installing SimGear. Somebody told me I need to install autoconf and
automake.
-----------------------------------------------------------
Andy Ross wrote:
scott wrote:
Ok, got [plib], unzipped it and then did a ./configure on that.
Turns out that it "could not find a working GL library. Tried
finding MesaGL or OpenGL on the install CD of SuSE Linux. I would
think that it already would be there since I could install an OpenGL
game and it did so without giving me any dependency problems.
Do you have the headers installed? Which drivers are you using?
Andy
_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d
_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d