OSG is new ground for me; not all that facile with the code yet, but I will have a go at it.

The source is the latest CVS version I downloaded and tried this morning. First try missed with the a missing DMake, got that corrected.

I'll let you know how I'm doing and if I find anything....

Regards
John  W
Paul Martz wrote:

Hi John --

This builds fine for me on Windows, so I'm not sure why it is broke for you
on Linux.

yy_current_buffer is defined as a protected member variable in the
yyFlexLexer class (see FlexLexer.h), so certainly yyFlexLexer::yylex()
should be able to access it. Can you do a little snooping on your end and
see if you can determine why this might not be working?

Note that the preceding few lines reference "yyin" and "yyout". These are
also protected member variables in yyFlexLexer,, declared just prior to
yy_current_buffer in FlexLexer.h, so I'm stumped.

Let me know what you come up with.
  -Paul



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Wojnaroski
Sent: Saturday, November 18, 2006 12:26 AM
To: [email protected]
Subject: [osg-users] CVS compile error

Downloaded latest from all three CVS directories:

OpenThreads is OK

Error in Producer:

../CameraGroup.cpp:271: warning: unused variable `bool isit'
g++  -I../../..//include  -Wall  -O2  -I.././/../include -c
../CameraConfig.cpp
g++ -I../../..//include -Wall -O2 -I.././/../include -c ../Timer.cpp g++ -I../../..//include -Wall -O2 -I.././/../include -c g++ ../Version.cpp -I../../..//include -Wall -O2 -I.././/../include g++ -c
../ConfigLexer.cpp
ConfigLexer.cpp: In member function `virtual int yyFlexLexer::yylex()': ConfigLexer.cpp:853: error: `yy_current_buffer' undeclared (first use this
  function)
ConfigLexer.cpp:853: error: (Each undeclared identifier is reported only once
  for each function it appears in.)
make[3]: *** [ConfigLexer.o] Error 1
make[3]: Leaving directory
`/usr/local/src/Producer/src/Producer/Linux32.Opt'
make[2]: *** [libProducer.so.opt] Error 2
make[2]: Leaving directory `/usr/local/src/Producer/src/Producer'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/usr/local/src/Producer/src'
make: *** [default] Error 1
tower:/usr/local/src/Producer#

Regards
John W.



_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to