Hi Simon, actually the _glGenQueriesARB stuff is public so it looks like your OSGRenderAction.h is not up-to-date.
Andreas > osghello > > after updating, scons build fails in ShadowViewport: > > g++ -ansi -use_readonly_const -ftemplate-depth-100 -fPIC -O2 -fPIC > -DOSG_WITH_GLUT -DOSG_WITH_JPG -DOSG_WITH_TIF -DOSG_WITH_PNG > -DOSG_WITH_GIF -D_GNU_SOURCE -D_OSG_HAVE_CONFIGURED_H_ -DOSG_BUILD_DLL > -DOSG_COMPILESYSTEMLIB -IBuild/linux-gcc/Source/Base > -ISource/System/Action -ISource/System/Action/DrawAction > -ISource/System/Action/IntersectAction > -ISource/System/Action/RenderAction -ISource/System/Cluster/Base > -ISource/System/Cluster/Server > -ISource/System/Cluster/Window/BalancedMultiWindow > -ISource/System/Cluster/Window/Base > -ISource/System/Cluster/Window/MultiDisplay > -ISource/System/Cluster/Window/SortFirst > -ISource/System/Cluster/Window/SortLast -ISource/System/FieldContainer > -ISource/System/FieldContainer/Impl -ISource/System/FileIO/3DS > -ISource/System/FileIO/Base -ISource/System/FileIO/BIN > -ISource/System/FileIO/DXF -ISource/System/FileIO/OBJ > -ISource/System/FileIO/OFF -ISource/System/FileIO/OSG > -ISource/System/FileIO/RAW -ISource/System/FileIO/ScanParseSkel > -ISource/System/FileIO/WRL -ISource/System/GraphOp -ISource/System/Image > -ISource/System/Material -ISource/System/NodeCores/Drawables/Base > -ISource/System/NodeCores/Drawables/Geometry > -ISource/System/NodeCores/Drawables/Misc > -ISource/System/NodeCores/Drawables/Nurbs > -ISource/System/NodeCores/Drawables/Nurbs/Internal > -ISource/System/NodeCores/Drawables/Particles > -ISource/System/NodeCores/Drawables/VolRen > -ISource/System/NodeCores/Groups/Base > -ISource/System/NodeCores/Groups/Light > -ISource/System/NodeCores/Groups/Misc -ISource/System/RenderingBackend > -ISource/System/Statistics -ISource/System/State -ISource/System/Text > -ISource/System/Window -ISource/Experimental/NativeFileIO > -ISource/Experimental/NewAction > -ISource/Experimental/NewAction/ActorCodeGen > -ISource/Experimental/NewAction/Actors -ISource/Experimental/Text > -ISource/Experimental/ShadowMapViewport > -ISource/Experimental/ShadowViewport -ISource/Experimental/SHL > -ISource/Experimental/WebInterface -ISource/Experimental/Manipulators > -ISource/Base/Base -ISource/Base/Field -ISource/Base/Functors > -ISource/Base/Network/Base -ISource/Base/Network/Socket > -ISource/Base/StringConversion -ISource/Base/Xml > -IBuild/linux-gcc/Source/System/FileIO/ScanParseSkel -c -o > Build/linux-gcc/Source/System/opt/OSGShadowViewport.os > Source/Experimental/ShadowViewport/OSGShadowViewport.cpp > Source/System/Action/RenderAction/OSGRenderAction.h: In member function > 'void osg::ShadowViewport::checkLightsOcclusion(osg::RenderActionBase*)': > Source/System/Action/RenderAction/OSGRenderAction.h:337: error: 'void (* > osg::RenderAction::_glGenQueriesARB)(GLsizei, GLuint*)' is protected > Source/Experimental/ShadowViewport/OSGShadowViewport.cpp:1371: error: > within this context > Source/System/Action/RenderAction/OSGRenderAction.h:333: error: 'GLuint > osg::RenderAction::_occlusionQuery' is protected > Source/Experimental/ShadowViewport/OSGShadowViewport.cpp:1393: error: > within this context > Source/System/Action/RenderAction/OSGRenderAction.h:337: error: 'void (* > osg::RenderAction::_glGenQueriesARB)(GLsizei, GLuint*)' is protected > Source/Experimental/ShadowViewport/OSGShadowViewport.cpp:1394: error: > within this context > Source/System/Action/RenderAction/OSGRenderAction.h:333: error: 'GLuint > osg::RenderAction::_occlusionQuery' is protected > Source/Experimental/ShadowViewport/OSGShadowViewport.cpp:1394: error: > within this context > Source/System/Action/RenderAction/OSGRenderAction.h:339: error: 'void (* > osg::RenderAction::_glBeginQueryARB)(GLenum, GLuint)' is protected > Source/Experimental/ShadowViewport/OSGShadowViewport.cpp:1400: error: > within this context > Source/System/Action/RenderAction/OSGRenderAction.h:333: error: 'GLuint > osg::RenderAction::_occlusionQuery' is protected > Source/Experimental/ShadowViewport/OSGShadowViewport.cpp:1400: error: > within this context > Source/Experimental/ShadowViewport/OSGShadowViewport.cpp:1401: error: > 'class osg::RenderAction' has no member named 'drawOcclusionBB' > Source/System/Action/RenderAction/OSGRenderAction.h:340: error: 'void (* > osg::RenderAction::_glEndQueryARB)(GLenum)' is protected > Source/Experimental/ShadowViewport/OSGShadowViewport.cpp:1402: error: > within this context > Source/System/Action/RenderAction/OSGRenderAction.h:341: error: 'void (* > osg::RenderAction::_glGetQueryObjectuivARB)(GLuint, GLenum, GLuint*)' is > protected > Source/Experimental/ShadowViewport/OSGShadowViewport.cpp:1408: error: > within this context > Source/System/Action/RenderAction/OSGRenderAction.h:333: error: 'GLuint > osg::RenderAction::_occlusionQuery' is protected > Source/Experimental/ShadowViewport/OSGShadowViewport.cpp:1408: error: > within this context > scons: *** [Build/linux-gcc/Source/System/opt/OSGShadowViewport.os] Error 1 > scons: building terminated because of errors. > > > in addition, there are some warnings: > > Source/Experimental/ShadowViewport/OSGPerspectiveShadowMap.cpp: In > member function 'void > osg::PerspectiveShadowMap::createShadowFactorMap(osg::RenderActionBase*)': > Source/Experimental/ShadowViewport/OSGPerspectiveShadowMap.cpp:3008: > warning: converting to 'osg::UInt32' from 'double' > Source/Experimental/ShadowViewport/OSGPerspectiveShadowMap.cpp: In > member function 'void > osg::PerspectiveShadowMap::createShadowFactorMapFBO(osg::RenderActionBase*)': > Source/Experimental/ShadowViewport/OSGPerspectiveShadowMap.cpp:3693: > warning: converting to 'osg::UInt32' from 'double' > > should i file a bug? > > cheers, > simon > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Opensg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
