Compiling issue with Fedora 23 and TITAN X.

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
lvgeng
Posts: 38
Joined: Fri Aug 14, 2015 4:35 pm

Compiling issue with Fedora 23 and TITAN X.

Post by lvgeng »

Hi there... this time I am pretty sure it is a beginner problem...

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
 
I think it should be a problem not so rare, anyone got any idears?
lvgeng
Posts: 38
Joined: Fri Aug 14, 2015 4:35 pm

Re: Compiling issue with Fedora 23 and TITAN X.

Post by lvgeng »

Problem solved...
by:

dnf install xorg-x11-drv-nvidia-devel.x86_64
Post Reply