msg to self ;-)
problem is with neither distribution, just a dumb error on my part
setting up the openGL libraries and include files.
Sorry for the noise
John
John Wojnaroski wrote:
Hi,
I'm not sure where or who this problem belongs to, so posting to both
groups
Using Debian 'etch', linux-2.6.17, gcc-4.1.
OSG is SVN from 23 Apr 07 and Simgear/FlightGear is latest CVS as of
27 Apr 07.
Initial build went just fine on all programs and flightgear program
came up just fine. After running a few short flights from KSFO with
310 model and feeding the data via the LAN to the hardware cockpit
Made some minor changes in the Network directory to a data class
structure and upon recompiling got this
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Making all in ATC
make[2]: Entering directory `/usr/local/src/Flightgear/src/ATC'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../..
-I../../src -I/usr/local/include -g -O2 -D_REENTRANT -MT ATCmgr.o
-MD -MP -MF ".deps/ATCmgr.Tpo" -c -o ATCmgr.o ATCmgr.cxx; \
then mv -f ".deps/ATCmgr.Tpo" ".deps/ATCmgr.Po"; else rm -f
".deps/ATCmgr.Tpo"; exit 1; fi
/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' was
not declared in this scope
/usr/local/include/osg/State: At global scope:
/usr/local/include/osg/State:1060: error: expected `)' before '*' token
/usr/local/include/osg/State:1061: error: expected `)' before '*' token
/usr/local/include/osg/State:1062: error: expected `)' before '*' token
/usr/local/include/osg/State:1063: error: expected `)' before '*' token
/usr/local/include/osg/State:1064: error: expected `)' before '*' token
/usr/local/include/osg/State:1065: error: expected `)' before '*' token
/usr/local/include/osg/State:1069: error: 'ActiveTextureProc' does
not name a type
/usr/local/include/osg/State:1070: error: 'ActiveTextureProc' does
not name a type
/usr/local/include/osg/State:1071: error: 'FogCoordPointerProc' does
not name a type
/usr/local/include/osg/State:1072: error:
'SecondaryColorPointerProc' does not name a type
/usr/local/include/osg/State:1073: error: 'VertexAttribPointerProc'
does not name a type
/usr/local/include/osg/State:1074: error: 'EnableVertexAttribProc'
does not name a type
/usr/local/include/osg/State:1075: error: 'DisableVertexAttribProc'
does not name a type
make[2]: *** [ATCmgr.o] Error 1
make[2]: Leaving directory `/usr/local/src/Flightgear/src/ATC'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/Flightgear/src'
make: *** [all-recursive] Error 1
bridge:/usr/local/src/Flightgear#
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Whoa!!! Strange, looks like something is missing.
Then tried a clean make with the FG/SG code and got the same error.
Have not tried rebuilding the OSG code.
Does anyone have any idea where to start looking?
Thanks
John W.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/