Hi,
Our existing code used old shader code in OpenSG 2.0. Today when I check out
the latest from trunk and set the enable new shader tag to off I get bunch
of build errors (some are posted below).
I am wondering if other users are using old shader code as well.
Any help is appreciated.
Thanks,
Aashish
/store/home/aashish/src/lime/local/deps/opensg/Source/System/State/SHL/OSGSHLChunk.cpp:
In member function 'void OSG::SHLChunk::updateOSGParameters(OSG::DrawEnv*,
GLuint, bool)':
/store/home/aashish/src/lime/local/deps/opensg/Source/System/State/SHL/OSGSHLChunk.cpp:1638:
error: request for member 'empty' in
'((OSG::SHLChunk*)this)->OSG::SHLChunk::_osgParametersCallbacks', which is
of non-class type 'int'
/store/home/aashish/src/lime/local/deps/opensg/Source/System/State/SHL/OSGSHLChunk.cpp:1649:
error: request for member 'empty' in
'((OSG::SHLChunk*)this)->OSG::SHLChunk::_osgParametersCallbacks', which is
of non-class type 'int'
/store/home/aashish/src/lime/local/deps/opensg/Source/System/State/SHL/OSGSHLChunk.cpp:1652:
error: request for member 'size' in
'((OSG::SHLChunk*)this)->OSG::SHLChunk::_osgParametersCallbacks', which is
of non-class type 'int'
/store/home/aashish/src/lime/local/deps/opensg/Source/System/State/SHL/OSGSHLChunk.cpp:1654:
error: invalid types 'int[OSG::UInt32]' for array subscript
/store/home/aashish/src/lime/local/deps/opensg/Source/System/State/SHL/OSGSHLChunk.cpp:1655:
error: invalid types 'int[OSG::UInt32]' for array subscript
/store/home/aashish/src/lime/local/deps/opensg/Source/System/State/SHL/OSGSHLChunk.cpp:1665:
error: 'ShaderParameter' was not declared in this scope
/store/home/aashish/src/lime/local/deps/opensg/Source/System/State/SHL/OSGSHLChunk.cpp:1665:
error: 'parameter' was not declared in this scope
/store/home/aashish/src/lime/local/deps/opensg/Source/System/State/SHL/OSGSHLChunk.cpp:1665:
error: invalid types 'int[OSG::UInt32]' for array subscript
/store/home/aashish/src/lime/local/deps/opensg/Source/System/State/SHL/OSGSHLChunk.cpp:1666:
error: 'ShaderParameter' is not a class or namespace
/store/home/aashish/src/lime/local/deps/opensg/Source/System/State/SHL/OSGSHLChunk.cpp:1667:
error: 'ShaderParameter' is not a class or namespace
/store/home/aashish/src/lime/local/deps/opensg/Source/System/State/SHL/OSGSHLChunk.cpp:
At global scope:
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users