slack 9 with NVidia drivers; cannot compile opengl programs
I recently upgraded to slackware 9. My previous version was 8.1. With 8.1 I was using NVidia's video drivers for opengl support. I have written some software that utilizes opengl. On my old setup I was able to compile the software fine with NVidia's driver. With 9 I cannot get my software to compile (or any other opengl software) due to 'undefined reference to...' errors. If I install the Mesa opengl, my code will compile; however, I cannot have direct rendering with X. If I leave my setup alone, I can have direct rendering, but cannot compile code. Can anyone tell me what is going on with this? Thanks in advance.