Hi, I have a very simple app that uses FBOs to do some post processing of a scene. It works great on Mac OS X and windows 7 using visual studio.
When compiling for windows 7 using mingw (codeblocks) however, I get an app that crashes on framebuffer creation. The osg debug info (OSG_NOTIFY_LEVEL=DEBUG) only tells us that we DO have support for the framebuffer extension (both the EXT and the ARB version) but it crashes when trying to set up the fbo. (seems to be related to glFramebufferRenderbuffer). If we use FRAME_BUFFER (not object) as fallback it works but obviously that is not a solution. After this failure we tried to make a simple program on mingw in "raw" OpenGL and GLFW + GLEW that uses FBOs. It worked fine. So there is no issue with mingw and fbos in general. After this I tried to run the osg example osgprerender but it also crashes with the same problems. The same example, on the same machine built with Visual Studio 2008 (express) runs great. So, as far as I can tell there is some problem with the combination of mingw and osg. I tried to follow the osg code using both debugger and printfsin the osg source but I failed to follow all levels of indirections in the abstraction layers in order to reach a conclusion. It seems like the functions pointers are NOT NULL but erroneous. Does anyone have any idea of where to look? Or even better, a fix? Been on this for many days now and have run out of ideas... /Filip system info: win7 core i3 nvidia gtx 260 with 197 series drivers (tested a few others as well) latest codeblocks _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

