Jump to content
  • Advertisement
Sign in to follow this  

Unity FBO - linker error wxDec++

This topic is 3619 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

As I described in a previous thread (http://www.gamedev.net/community/forums/topic.asp?topic_id=513833) my problem is that i can't render the scene on every PaintEvent because there are to many float-values to calculate. No i tried to use a FrameBufferObject with following code:
   glGenFramebuffersEXT(1, &fboId);
   glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);

Now the linker says: [Linker Error] undefined reference to `glBindFramebufferEXT@8' [Linker Error] undefined reference to `glGenFramebuffersEXT@8' I looked @ the gltext.h and didn't found the functions. So i Downloaded the latest mensa-3d, compiled it and put the lib-files @ the correct place. It compiles, but my application hang up @ execution-start (with FBO-code and without it). I recognize that the problem is the "libopengl32.a" file. With the selfcompiled it compiles but doesn't work. With the "standard" lib-file i get the Linker-error. Any suggestions?

Share this post

Link to post
Share on other sites
FBO is supported in opengl (<3.0) via extensions, the easiest way to access those extensions is to use a library like GLee or GLEW. You don't need Mesa. The latest extension headers can be downloaded from www.opengl.org/registry/ .
FAQ: How can I program for OpenGL beyond version 1.1 in windows?

FBOs are a bit more complicated to use than just calling glGenFramebuffersEXT, I suggest reading the following articles:
OpenGL FrameBuffer Object 101
OpenGL FrameBuffer Object 201

"Alternative Game Libraries" is probably the wrong forum, you may want to ask a moderator to move this thread to the OpenGL forum.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!