Error X11/xlib.h No Such File Or Directory
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business fatal error x11/xlib.h no such file or directory Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation
Fatal Error X11/x.h No Such File Or Directory
Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just x11/xlib.h' file not found linux like you, helping each other. Join them; it only takes a minute: Sign up X11/Xlib.h not found in Ubuntu up vote 25 down vote favorite 8 I'm trying to write a rather trivial program using open gl on #include x11/xlib.h ubuntu linux, but at a compile time it says: Compile thumb : egl <= cuberenderer.c In file included from /path/include/egl.h:36, from /path/cuberenderer.c:7: /path/include/eglplatform.h:89:22: error: X11/Xlib.h: No such file or directory /path/include/eglplatform.h:90:23: error: X11/Xutil.h: No such file or directory I'm totally new to GL and have no idea what's wrong. linux opengl-es compiler-errors share|improve this question edited Jun 8 '14 at 1:28 Jens Piegsa 3,35532354 asked Mar 14 '11 at 14:31 Denys S. 2,10383059 add a comment|
Error X11 Xlib H No Such File Or Directory Centos
3 Answers 3 active oldest votes up vote 70 down vote accepted A quick search using... apt-file search Xlib.h Turns up the package libx11-dev but you shouldn't need this for pure OpenGL programming. What tutorial are you using? You can add Xlib.h to your system by running the following... sudo apt-get install libx11-dev share|improve this answer edited Apr 27 '14 at 10:37 HostileFork 20.4k654104 answered Mar 14 '11 at 14:35 Andrew White 31.9k974114 apt-file gives no results, though libx11-dev is installed. I'm trying to adopt sources from chapter 5 of amazon.com/Pro-Android-Games-Vladimir-Silva/dp/1430226471/… to a simpler usage of ndk-build. –Denys S. Mar 14 '11 at 14:45 the thing is, that the chapter comes with two examples, a java based and a jni with c code. Java part works good, but I simply can't compile the c code. –Denys S. Mar 14 '11 at 14:49 Found it, it looks like apt-find was not completely working without a shell restart. Strange... –Denys S. Mar 14 '11 at 15:02 Thanks for not only telling which package to install but also pointing out how to solve similar problems in the future. –Frerich Raabe Aug 31 at 12:24 add a comment| up vote 20 down vote Presume he's using the tutorial from http://www.arcsynthesis.org/gltut/ along with premake4.3 :-) sudo apt-get install libx11-dev ......
04:47 AMI'm trying to error x11 xpm h no such file or directory install something called morse2led. I believe that it x11/xlib.h mac is possible on ubuntu, but seem to be having difficulty. Please forgive
Fatal Error: X11/extensions/xtest.h: No Such File Or Directory
my ignorance, but this is the error that I am getting. root@Conroe:/home/dan/Desktop/morse2led-1.0# make gcc -o blinker -O2 -Wall -L /usr/X11R6/lib/ -lX11 http://stackoverflow.com/questions/5299989/x11-xlib-h-not-found-in-ubuntu -I /usr/X11R6/include/ -DLINUX blinker.c blinker.c:34:22: error: X11/Xlib.h: No such file or directory blinker.c:117: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token so I believe that a required header file Xlib.h is missing, I've looked about and can't find it https://ubuntuforums.org/archive/index.php/t-1052605.html "locate Xlib.h" nothing. Should this be installed as default with ubuntu? or am I missing something? (I'm missing many things) but what specifically am I missing? If I look in the X11R6 directory all I see is the directory "bin" Thanks. SorivenulJanuary 28th, 2009, 06:46 AMTry: sudo apt-get install libx11-dev Then try your compile again. gunterhausfrauJanuary 28th, 2009, 06:50 AMyep, that's what did it. Thanks. brent.of.all.peopleAugust 13th, 2009, 12:23 PMyep, that's what did it. Thanks. Hey, I'm trying to get the morse2led package to work too. I got it to compile and install, but blinker doesn't seem to have any effect. Were you able to get it to work? Powered by vBulletin Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.
download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). Home Qt Development General https://forum.qt.io/topic/62153/x11-xlib-h-no-such-file-or-directory and Desktop X11/Xlib.h: No such file or directory X11/Xlib.h: No such file or directory This topic has been deleted. Only users with topic management privileges can see it. marvic_39 last edited by marvic_39 Hello, Cross compiling Qt for ARM board. Installed all the depencies from this http://wiki.qt.io/Building_Qt_5_from_Git sudo apt-get build-dep qt5-default sudo apt-get install libfontconfig1-dev no such libfreetype6-dev libx11-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libx11-xcb-dev libxcb-glx0-dev If this option is given -no-xcb no errors, makefile get created. If it's -qt-xcb than this the error, Searched the xlib.h no file in the source tree. /home/mars/qt-everywhere-opensource-src-5.5.1/qtbase/config.tests/x11/xlib/xlib.cpp:34:22: fatal error: X11/Xlib.h: No such file or directory #include