I have searched in the forum but i did not find anything ...
when i try to compile the library i get the following problem :
i do a "make" in a terminal and on it appear this:
...
Code: Select all
casa@casa-desktop:~/irrlicht-1.4/source/Irrlicht$ make
...
...
In file included from CIrrDeviceLinux.cpp:5:
CIrrDeviceLinux.h:31:38: error: X11/extensions/xf86vmode.h: No such file or directory
CIrrDeviceLinux.h:299: error: ‘XF86VidModeModeInfo’ does not name a type
CIrrDeviceLinux.cpp: In destructor ‘virtual irr::CIrrDeviceLinux::~CIrrDeviceLinux()’:
CIrrDeviceLinux.cpp:123: error: ‘oldVideoMode’ was not declared in this scope
CIrrDeviceLinux.cpp:123: error: ‘XF86VidModeSwitchToMode’ was not declared in this scope
CIrrDeviceLinux.cpp:124: error: ‘XF86VidModeSetViewPort’ was not declared in this scope
CIrrDeviceLinux.cpp: In member function ‘bool irr::CIrrDeviceLinux::createWindow(const irr::core::dimension2d<int>&, irr::u32)’:
CIrrDeviceLinux.cpp:192: error: ‘XF86VidModeQueryExtension’ was not declared in this scope
CIrrDeviceLinux.cpp:196: error: ‘XF86VidModeModeInfo’ was not declared in this scope
CIrrDeviceLinux.cpp:196: error: ‘modes’ was not declared in this scope
CIrrDeviceLinux.cpp:198: error: ‘XF86VidModeGetAllModeLines’ was not declared in this scope
CIrrDeviceLinux.cpp:201: error: ‘oldVideoMode’ was not declared in this scope
CIrrDeviceLinux.cpp:219: error: ‘XF86VidModeSwitchToMode’ was not declared in this scope
CIrrDeviceLinux.cpp:220: error: ‘XF86VidModeSetViewPort’ was not declared in this scope
CIrrDeviceLinux.cpp: In member function ‘virtual irr::video::IVideoModeList* irr::CIrrDeviceLinux::getVideoModeList()’:
CIrrDeviceLinux.cpp:1058: error: ‘XF86VidModeQueryExtension’ was not declared in this scope
CIrrDeviceLinux.cpp:1062: error: ‘XF86VidModeModeInfo’ was not declared in this scope
CIrrDeviceLinux.cpp:1062: error: ‘modes’ was not declared in this scope
CIrrDeviceLinux.cpp:1064: error: ‘XF86VidModeGetAllModeLines’ was not declared in this scope
CIrrDeviceLinux.cpp:1067: error: ‘oldVideoMode’ was not declared in this scope
make: *** [CIrrDeviceLinux.o] Error 1
i have a little project working on windows and i would like to make it work on linux
if anyone know something !! , regards !!