View Single Post
Old 09-12-02, 09:14 PM   #1
Registered User
Join Date: Sep 2002
Posts: 5
Default Problem when compiling with SDL on Nvidia/Nforce...

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
superconti is offline   Reply With Quote