Heres my story.
I want to use some game development stuff in Ubuntu, and the program I want requires ClanLib 0.8.x to be installed. Upon checking the repositories, those clanlibs were for version 0.6. now the only releases I could find on the Clanlib site were 0.8.1 and 0.8.0. Did them both. I got through the ./configure part quite fine. But when I issue the make command, I end up with the following output for both versions.
Code:
display_mode.cpp:33:38: error: X11/extensions/xf86vmode.h: No such file or directory
display_mode.cpp: In static member function 'static std::vector<CL_DisplayMode, std::allocator<CL_DisplayMode> >& CL_DisplayMode::get_display_modes()':
display_mode.cpp:117: error: 'XF86VidModeQueryExtension' was not declared in this scope
display_mode.cpp:121: error: 'XF86VidModeModeInfo' was not declared in this scope
display_mode.cpp:121: error: 'vmodes' was not declared in this scope
display_mode.cpp:124: error: 'XF86VidModeGetAllModeLines' was not declared in this scope
make[2]: *** [display_mode.lo] Error 1
make[2]: Leaving directory `/home/sam/Downloads/ClanLib-0.8.0/Sources/Display'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sam/Downloads/ClanLib-0.8.0/Sources'
make: *** [all-recursive] Error 1
I have tried other methods I found on the forum, but to no avail. If someone could please help me?
Bookmarks