superconti
09-12-02, 09:14 PM
Hi,
The nvdia drivers are well installed on my machine, i can run glxinfo, glxgears and everything is fine, the problem is when i try to compile an application using SDL and Opengl (i am using Kdevelop), so i have added -lGL-lGLU -lSDL -lpthread (linker option) in order to the source to compile and link, no problem, but when i run the exe, i got the windows opened but no Opengl rendering functions seem to work, i just got a screen full of garbage (probably some video data from precendent application).
What's wrong ? Is that possible that some lib are not the right ones to link with ?
I am stuck, help.
P.S. i have attached the small source i do use for test
The nvdia drivers are well installed on my machine, i can run glxinfo, glxgears and everything is fine, the problem is when i try to compile an application using SDL and Opengl (i am using Kdevelop), so i have added -lGL-lGLU -lSDL -lpthread (linker option) in order to the source to compile and link, no problem, but when i run the exe, i got the windows opened but no Opengl rendering functions seem to work, i just got a screen full of garbage (probably some video data from precendent application).
What's wrong ? Is that possible that some lib are not the right ones to link with ?
I am stuck, help.
P.S. i have attached the small source i do use for test