I am working on my Diplomathesis. I wrote a bigger Application in GL with GLSL for WIN32, but I’ve to Export it to Linux.
If I use the glprocs.* from the GLSDK, I’ve got an Error Message and the programm halted. I tried different Extension Loaders like GLEW or GLFW but they crashed too!
My Enviroment:
Debian Linux 2.6.8-2-k7 i686 GNU/Linux (Sarge)
Grafic Device: RADEON 9800 SE Generic
GL Version String: 1.3.4769 (X4.3.0-8.8.25)
Driver: FireGL (fglrx 8,8,25-1)
I use the GL Headers from the ATI Drivers.
I wrote a simple BrickShader Code from the GLSL book with the Problem. I uploaded the Source and the binary on :
In that case I used GLEW (not included). The Programm crashed here with an Segmentation fault. With glprocs.c I’ve got an “Breakpoint Reached” Error (which I’ve never saw before).
I don’t use GLEW, so I set up the function pointers myself, and it worked fine. I just declared the following at the top of brick.cpp (after the include);
after the glutCreateWindow call. Of course, you have to put ‘_’ in front of the function calls in the rest of the code so they use the pointers. Gives me a nice brick teapot!