I installed Fedora and followed this http://www.if-not-true-then-false.com/2 ... dia-guide/ to update my driver to NVIDIA driver.
I used gcc 5.3.
But while I am trying to compile the examples, I ran into some problem:
Code: Select all
Makefile:38: Building...
g++ -I../../include -I/usr/X11R6/include -g -Wall main.cpp -o ../../bin/Linux/01.HelloWorld -L../../lib/Linux -lIrrlicht -L/usr/X11R6/lib -lGL -lXxf86vm -lXext -lX11 -lXcursor
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/5.3.1/../../../libGL.so when searching for -lGL
/usr/bin/ld: skipping incompatible /lib/libGL.so when searching for -lGL
/usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
Makefile:38: recipe for target 'all_linux' failed
make: *** [all_linux] Error 1