I've got an stupid error when i'm compiling source downloaded from svn
Here is the log from terminal:
kamil@kamil-laptop:~/irrlicht/source/Irrlicht$ make
g++ -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing -g -D_DEBUG -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1 -c -o CIrrDeviceLinux.o CIrrDeviceLinux.cpp
CIrrDeviceLinux.cpp:26:33: error: X11/Xcursor/Xcursor.h: No such file or directory
CIrrDeviceLinux.cpp: In member function ‘virtual bool irr::CIrrDeviceLinux::run()’:
CIrrDeviceLinux.cpp warning: dereferencing type-punned pointer will break strict-aliasing rules
CIrrDeviceLinux.cpp: In member function ‘Cursor irr::CIrrDeviceLinux::TextureToARGBCursor(irr::video::ITexture*, const irr::core::rect<int>&, const irr::core::vector2d<int>&)’:
CIrrDeviceLinux.cpp error: ‘XcursorImage’ was not declared in this scope
CIrrDeviceLinux.cpp error: ‘image’ was not declared in this scope
CIrrDeviceLinux.cpp error: ‘XcursorImageCreate’ was not declared in this scope
CIrrDeviceLinux.cpp error: ‘XcursorPixel’ was not declared in this scope
CIrrDeviceLinux.cpp error: ‘target’ was not declared in this scope
CIrrDeviceLinux.cpp error: expected ‘;’ before ‘pixelCol’
CIrrDeviceLinux.cpp error: ‘XcursorImageLoadCursor’ was not declared in this scope
CIrrDeviceLinux.cpp error: ‘XcursorImageDestroy’ was not declared in this scope
make: *** [CIrrDeviceLinux.o] Błąd 1
kamil@kamil-laptop:~/irrlicht/source/Irrlicht$
It seems like i haven't required library but i have all which were in wiki to download...
! hour ago i made an system update and i doesn't compile again
Please help!
[In ubuntu 9.10 and 9.04 all worked but i had to reinstall the system and install it again]
i can confirm this issue, i have compiled irrlicht many times successfully
using the same way the wiki instructs, but i just downloaded trunk and i am receiving the same error after making.
if i find a fix i will post
edit: sudo apt-get install libxcursor-dev - this should do the trick
i think the wiki should be updated for this?
since it will stop a lot more posts like this one
PI: You just have the xcursor dev lib installed on hdd... I hadn't but thanks for reply... cheers you too ))
UPDATE THE WIKI!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! FOR ALL UBUNTU 10.04 USERS which can have the same stupid error as i have