I created a simple opengl file in cpp. It works on the University computer. I\'m able to compile the file, but i can not run the compiled file. The error I get is:
If you have an nvidia graphics card like mine, this might work for you
g++ -L/usr/lib/nvidia-304/ your-file.cc -lglut -lGLEW -lGL
Replace the 304 with the nvidia driver version. More details about this bug can be found at this link.