LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-19-2016, 08:35 AM   #1
siery
Member
 
Registered: Dec 2015
Posts: 34

Rep: Reputation: Disabled
Exclamation X11 requires OpenGL support.


Hey!

I been compiling Allegro 5 graphical library at Debian Jessie. Then i got this error:

Code:
CMake Error at CMakeLists.txt:559 (message):
  X11 support currently requires OpenGL support.
looking for libopengl i find two packages: libopengl-image-perl, libopengl-perl. With one should i install to be working with X11?

My secondary question is: can someone explain me what X11 library really does and why it depends at OpenGL?

Thanks, Siery.
 
Old 01-19-2016, 09:18 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The correct name for that library is not libopengl, but libGL, which is usually provided by your graphics driver. You also may have misunderstood that error message, it doesn't tell you that X11 (your graphics subsystem) needs OpenGL (it doesn't), but that Allegro needs to be compiled with OpenGL support when you want to compile it with X11 support.
 
1 members found this post helpful.
Old 01-19-2016, 09:25 AM   #3
siery
Member
 
Registered: Dec 2015
Posts: 34

Original Poster
Rep: Reputation: Disabled
Hm, yes thank you. But whats the name of the package? libgl1-mesa-dev?
 
Old 01-19-2016, 10:14 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Depends on which graphics driver you use. If you use the open source drivers then yes, libgl1-mesa-dev should be the right one.
 
  


Reply

Tags
dependencies, opengl, x11



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
[SOLVED] openGL Issues X11/Enlightenment BAcidEvil Slackware 9 12-21-2014 12:58 AM
Hardware acceleration using OpenGL and X11 Luc484 Linux - Software 7 04-24-2011 09:23 PM
X11 not working at 1680x1050 under vmware 'width requires unsupported line pitch' jerryau Linux - Software 3 04-11-2009 12:38 PM
Adobe Acrobate Reader Requires A Plugin-That Requires Open LDAP That Requires Berkely Old_Fogie Slackware 10 05-08-2006 05:04 AM
N00b requires help configuring ati radeon 8500 for direct opengl hardware support maddog_rsf Linux - Newbie 2 01-11-2005 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:35 AM.

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