Hi Patrick,

Thank you for your answer. It's assuring to know that OpenSG can be  
built on Leopard :)

So I checked a few things, first my Leopard is from a fresh install.  
OpenSG was extracted from the Release Tarball from Sourceforge, I did  
a clean tar xvfz today to recheck my build precess. flex points to / 
usr/bin/flex and is at version 2.5.33, bison points to /usr/bin/bison,  
version: 2.3

I configure OpenSG using ./configure --enable-glut --enable-png -- 
enable-jpg PNG and JPEG libs are installed in /usr/local ( i think I  
got them via MacPorts )

Regarding the base lib:
At first it won't compile because of OSGBaseTypeTraits: The error is:
TypeTraits<GLenum> TypeTraitsBase, previously defined in 452 as  
TypeTraits<OSG::Uint32>

I think at this point OSG_GLENUM_NEQ_UINT32 is not defined yet, but if  
I define it, the build breaks later on, as it will later be defined.  
So I just commented the whole template class TypeTraits<GLenum>. After  
that the BaseLib compiles.

Somewhere at the beginning of the SystemLib I get the following  
warnings:
bison  -d -l -v -pOSGScanParseSkel_ -bOSGScanParseSkel_ /Users/ 
mbroecker/dev/OpenSG/Source/System/FileIO/ScanParseSkel/OSGScanParseS$
/Users/mbroecker/dev/OpenSG/Source/System/FileIO/ScanParseSkel/ 
OSGScanParseSkel.y: warning: 1 useless nonterminal and 2 useless rules
/Users/mbroecker/dev/OpenSG/Source/System/FileIO/ScanParseSkel/ 
OSGScanParseSkel.y:272.1-15: warning: useless nonterminal: protoState$
/Users/mbroecker/dev/OpenSG/Source/System/FileIO/ScanParseSkel/ 
OSGScanParseSkel.y:273.5-34: warning: useless rule: protoStatements: $
/Users/mbroecker/dev/OpenSG/Source/System/FileIO/ScanParseSkel/ 
OSGScanParseSkel.y:274.6: warning: useless rule: protoStatements: /* $

then OSGScanParseSkel.lex.cpp fails to build, the error is the  
yy_buffer_stack not found, as described in my first post.

During the remaining build process I get errors in  
OSGGeoFunctions.cpp, OSGDVRClipper,cpp and others, that a cast is  
invalid, error:
OpenSG/Source/System/NodeCores/Drawables/Geometry/OSGGeoFunctions.cpp: 
3108: error: invalid conversion from ‘GLvoid (*)(...)’ to ‘GLvoid(*)()

Changing in OSGGLU.h OSGGLUFuncptr from GLvoid(*)(...) to GLvoid(*)()  
fixes this problem

So my build still hangs at the lex parser part.  Any help is  
appreciated, as I don't know what the build script does at this point.

Thanks in advance for your time and answer,

Markus
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to