/usr/bin/ld: cannot find -lXcursor [SOLVED]

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
MynithiX
Posts: 26
Joined: Thu Oct 11, 2012 4:06 pm
Location: Germany

/usr/bin/ld: cannot find -lXcursor [SOLVED]

Post by MynithiX »

Hello again ;)
I've just reinstalled my Ubuntu (the reason is not important),
and now I have to reinstall all my things, of course also IRRLICHT.
So, I've just recompiled it and then I tried to compile an example, just to see if it works.
But that's what it says, after I run 'make' in the right folder:

Code: Select all

 
mynithix@mycomputer:~/Downloads/irrlicht-1.8/examples/01.HelloWorld$ make
Makefile:47: Building...
g++ -I../../include -I/usr/X11R6/include  -O3 -ffast-math main.cpp -o ../../bin/Linux/01.HelloWorld -L../../lib/Linux -lIrrlicht -L/usr/X11R6/lib -lGL -lXxf86vm -lXext -lX11 -lXcursor
/usr/bin/ld: cannot find -lXcursor
 
Before I had reinstalled Ubuntu, everything worked...
Thx for helping
MynithiX
Last edited by MynithiX on Mon Dec 24, 2012 8:00 am, edited 1 time in total.
Two things are infinite: the stupidity of the humans and universe. I'm just not sure if the universe is really infinite!
YOLO
MynithiX
Posts: 26
Joined: Thu Oct 11, 2012 4:06 pm
Location: Germany

Re: /usr/bin/ld: cannot find -lXcursor

Post by MynithiX »

I've found it out, for them which have the same problem:
Just update libxcursor with:

Code: Select all

 
sudo apt-get install libxcursor-dev
 
MynithiX
Two things are infinite: the stupidity of the humans and universe. I'm just not sure if the universe is really infinite!
YOLO
Post Reply