LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-27-2008, 08:18 AM   #1
gvp87
Member
 
Registered: Mar 2007
Location: Boston
Distribution: Ubuntu Gutsy
Posts: 50

Rep: Reputation: 15
Trying to compile Irrlicht from source


I'm trying to compile Irrlicht from source and this is the error output. Am I missing dependencies????

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
 
Old 03-27-2008, 09:23 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
CIrrDeviceLinux.h:31:38: error: X11/extensions/xf86vmode.h: No such file or directory
Most probably you miss the x11-devel packages for your distro.

FYI xf86vmode.h is part of the xf86vidmodeproto protocol package
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't compile from source.... garyozzy Ubuntu 7 11-30-2005 04:00 PM
Compile source on other pc ??? sys7em Linux - General 1 11-01-2004 09:53 AM
How to compile source??? Aranilion Programming 12 08-25-2004 12:44 PM
Compile from source kaon Slackware 4 07-19-2004 10:06 AM
Compile from source? Gamezace Linux - Newbie 4 04-18-2004 01:31 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration