Rahul04789
April 16th, 2017, 04:05 PM
Hi All,
I compiled an OpenGL (.cpp) programme and I got the following error:
compilation: # g++ ex1.cpp -o ex1 -lGLEW -lglfw3 -lGL -lX11 -lXi -lXrandr -lXxf86vm -lXinerama -lXcursor -lrt -lm -pthread -ldl -std=c++11
error:
/usr/bin/ld: cannot find -lglfw3
collect2: error: ld returned 1 exit status
I have already installed libglew-dev package.
Regards,
I compiled an OpenGL (.cpp) programme and I got the following error:
compilation: # g++ ex1.cpp -o ex1 -lGLEW -lglfw3 -lGL -lX11 -lXi -lXrandr -lXxf86vm -lXinerama -lXcursor -lrt -lm -pthread -ldl -std=c++11
error:
/usr/bin/ld: cannot find -lglfw3
collect2: error: ld returned 1 exit status
I have already installed libglew-dev package.
Regards,