Hi Anthony,

I ran in to this problem several months back - there seems to be a
problem with Suse Prism using GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENTS_EXT
as opposed to GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT (extra S on
ATTACHMENTS). As a quick hack I've just  added the extra S in
checkFrameBufferStatus() for the following;

OSGDitherShadowMap.cpp
OSGPCFShadowMap.cpp
OSGPCSSShadowMap.cpp
OSGPerspectiveShadowMap.cpp
OSGStdShadowMap.cpp
OSGVarianceShadowMap.cpp

We're on code from Aug last year, + this has been running fine for us -
that said, the changes are purely cosmetic (relating to warning messages
being sent out), + we're not yet using FBOViewports...

hope it helps, Adrian


On Tue, 2007-04-03 at 11:24 +0100, Anthony Steed wrote:
> 
> This may be the wrong list for this question (the links to mail archives 
> are still down, so I also couldn't search for previous messages).
> 
> I am compiling OpenSG 1.* from CVS. I haven't done this in a long time, 
> but we would like to port some software on to the Cal3D plugin. I am 
> doing this on an up-to-date Prism running Suse, which is relatively up 
> to date (it has OpenGL2.0 on it).
> 
> I get a problem is (truncated in an obvious way, and removing warnings)
> 
> 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/Base/Xml -IBuild/linux-gcc/Source/System/FileIO/ScanParseSkel 
> -c -o Build/linux-gcc/Source/System/opt/OSGFBOViewport.os 
> Source/System/Window/OSGFBOViewport.cpp
> ...
> Source/System/Window/OSGFBOViewport.cpp: In member function `bool
>    osg::FBOViewport::checkFrameBufferStatus(osg::Window*)':
> Source/System/Window/OSGFBOViewport.cpp:1215: error: `
>    GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT' undeclared (first use this
>    function)
> Source/System/Window/OSGFBOViewport.cpp:1215: error: (Each undeclared
>    identifier is reported only once for each function it appears in.)
> scons: *** [Build/linux-gcc/Source/System/opt/OSGFBOViewport.os] Error 1
> scons: building terminated because of errors.
> 
> 
> GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT is actually undefined on this 
> machine in glext.h (where GL_GLEXT_VERSION is 27).
> 
> The define guard around the statement is just:
> 
> #ifndef 
> GL_EXT_framebuffer_object                                                     
>              
> 
> 
> there must be a few more refinements that are needed there. This is 
> something I can easily hack around for testing purposes, but someone who 
> knows more about opengl extensions might be able to suggest the correct 
> factoring to go back in to CVS.
> 
> 
> Anthony
> 
> 
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------------------------
> 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

Reply via email to