Hi All,
I am running an x86_64 Linux (Slamd64) with gcc-3.4.4. I have glut-3.7
installed. I have freealut-1.1.0 and openal-0.0.8 and plib-1.8.4
installed.

I checked out the latest version of OpenSceneGraph, SimGear and
FlightGear and tried to compile them all. OSG and SimGear compiled
fine and I installed them.

FligthGear gives me the below error. Please help. i am attaching the
header file which is causing error.


if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
-I/usr/X11R6/include -I/usr/local/include  -g -O2 -D_REENTRANT -MT
atis.o -MD -MP -MF ".deps/atis.Tpo" -c -o atis.o atis.cxx; \
then mv -f ".deps/atis.Tpo" ".deps/atis.Po"; else rm -f
".deps/atis.Tpo"; exit 1; fi
In file included from /usr/local/include/osg/Image:17,
                from /usr/local/include/osg/Texture:18,
                from /usr/local/include/osg/Texture2D:17,
                from /usr/local/include/simgear/scene/model/model.hxx:22,
                from AIPlane.hxx:25,
                from tower.hxx:37,
                from ATCmgr.hxx:34,
                from atis.cxx:50:
/usr/local/include/osg/BufferObject:173: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:174: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:175: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:176: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:177: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:178: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:179: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:180: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:180: error: expected `;' before '*' token
/usr/local/include/osg/BufferObject:181: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:182: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:183: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:185: error: `GenBuffersProc' does
not name a type
/usr/local/include/osg/BufferObject:186: error: `BindBufferProc' does
not name a type
/usr/local/include/osg/BufferObject:187: error: `BufferDataProc' does
not name a type
/usr/local/include/osg/BufferObject:188: error: `BufferSubDataProc'
does not name a type
/usr/local/include/osg/BufferObject:189: error: `DeleteBuffersProc'
does not name a type
/usr/local/include/osg/BufferObject:190: error: `IsBufferProc' does
not name a type
/usr/local/include/osg/BufferObject:191: error: `GetBufferSubDataProc'
does not name a type
/usr/local/include/osg/BufferObject:192: error: `MapBufferProc' does
not name a type
/usr/local/include/osg/BufferObject:193: error: `UnmapBufferProc' does
not name a type
/usr/local/include/osg/BufferObject:194: error:
`GetBufferParameterivProc' does not name a type
/usr/local/include/osg/BufferObject:195: error:
`GetBufferPointervProc' does not name a type
/usr/local/include/osg/BufferObject: In member function `bool
osg::BufferObject::Extensions::isBufferObjectSupported() const':
/usr/local/include/osg/BufferObject:156: error: `_glGenBuffers'
undeclared (first use this function)
/usr/local/include/osg/BufferObject:156: error: (Each undeclared
identifier is reported only once for each function it appears in.)
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
-I/usr/X11R6/include -I/usr/local/include  -g -O2 -D_REENTRANT -MT
tower.o -MD -MP -MF ".deps/tower.Tpo" -c -o tower.o tower.cxx; \
then mv -f ".deps/tower.Tpo" ".deps/tower.Po"; else rm -f
".deps/tower.Tpo"; exit 1; fi
make[2]: *** [atis.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/mnt/extra/FLIGHTGEAR/source/src/ATC'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/extra/FLIGHTGEAR/source/src'
make: *** [all-recursive] Error 1

--
http://www.vikaskumar.org/

Attachment: BufferObject
Description: Binary data

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to