Hello,
I have an old program to render some 3D objects using openGL and SDL. I used to compile it with the following Makefile:
PROGS = graphic
OPTS = -Wall -m64
LIBSGL += -lGL -lGLU -lSDL
CC = g++
graphic: graphic.cpp gl2ps.h
$(CC) $(OPTS) -w -o $@ graphic.cpp gl2ps.c $(LIBSGL)
clean:
rm $(PROGS) Error*
But after I installed the cuda 7.0 drivers I get this error:
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
make: *** [graphic] Error 1
How can I link again to libGL.so ?
Thank you in advance for any help you can give.