From: tom f. <tf...@al...> - 2010-03-17 04:18:24
|
Alan Wu <al...@au...> writes: > I have built and compiled a linux-x86-32 shared object library > of Mesa7.7 under Ubuntu8.04, both glxinfo and glewinfo show me > that glBlitFramebufferEXT is available however I got the undefined > reference error message when I call the function in my program. I > also could not find "glBlitFramebufferEXT" when ran a "objdump -x" > command on the built library. It's just "glBlitFramebuffer" if you're going to call it directly. At least, that holds with my build of semi-recent master.. If you want to load it dynamically, I would bet that 'glXGetProcAddressARB("glBlitFramebufferEXT");' works; leaving off the EXT should work too, of course. It shows up in glewinfo because GLEW *is* loading it dynamically. I'd recommend you just use GLEW yourself; you don't want rely on an extension being available at compilation time, anyway. Even if your program is worthless without the extension, at least you'll have enough control to pop up a semi-useful error message. Cheers, -tom |