osx - Unable to link OpenGL compatibility profile (EXT symbols not recognized) -
i decided use glew
handling extensions instead of requesting core profile , having migrate code.
i add support fbo's
through ext
profile first step.
the problem gcc not link code (osx 10.10)
, not recognize gl*ext()
functions. instance, glbindframebufferext()
flags undefined symbol. (glbindframebuffer() unrecognized...)
i link against glew , have tried using glext or glfw compatibility profile, nothing works! missing library? how tell gcc use right gl profile? obliged migrate core profile?
in macos x glew not doing lot, because there not lot of opengl extensions on macos x , due way opengl integrated in macos x functions of opengl version supported available framework available
… or not, if you're using extension function that's not supported macos x's opengl implementation.
macos x weird duckling in opengl family: opengl used @ low level in os's core graphics routines, opengl supported os. it's built deep os hardly can updated without updating whole os.
solution: don't use extension. fbos have been introduced opengl-3.3 you've create 3.3 core profile context , can use functions (without …ext) directly.
Comments
Post a Comment