Ubuntu 10.04 and compiling
Posted: Sat Jul 24, 2010 3:36 pm
Hi
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'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]