Error X11/xlib.h No Such File Or Directory Android
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 x11/xlib.h mac Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation x11/xlib.h' file not found ubuntu Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like fatal error: x11/extensions/xtest.h: no such file or directory 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
X11/xlib.h' File Not Found Xcode
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| 3 x11/extensions/xshm.h: no such file or directory 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 ................. for X11
1526: Compilation error due to missing xlib.h download files for Ubuntu 8.10 - Xlib.h and Xatom.h 2
X11/intrinsic.h: No Such File Or Directory
people starred this issue and may be notified of changes. Back to list Status:
Install Xlib Python
Released Owner: ---- Closed: Dec 2008 Type-Defect Priority-Medium Sign in to add a comment Reported by jwk2...@gmail.com, Dec 12, 2008 Problem: http://stackoverflow.com/questions/5299989/x11-xlib-h-not-found-in-ubuntu Following the directions in http://source.android.com/download#TOC-Ubuntu-Linux-amd64- to compile Android on Ubuntu 8.10 x86_64, you'll encounter this error: In file included from external/qemu/skins/skin_window.c:16: prebuilt/linux-x86/sdl/include/SDL/SDL_syswm.h:55:22: X11/Xlib.h: No such file or directory prebuilt/linux-x86/sdl/include/SDL/SDL_syswm.h:56:23: X11/Xatom.h: No such file or directory In file included from external/qemu/skins/skin_window.c:16: Solution: sudo apt-get install x11proto-core-dev (provides https://code.google.com/p/android/issues/detail?id=1526 Xatom.h) sudo apt-get install libx11-dev (provides Xlib.h) Once these packages are installed, Android compiles successfully. Please update the wiki to reflect these required packages. Dec 13, 2008 #1 jbq+legacy@google.com This issue has been assigned to an engineer for further evaluation Status: Reviewed Dec 18, 2008 #2 dbort%an...@gtempaccount.com I've updated the docs on that page. Thanks for providing a solution! Status: Released Nov 12, 2010 #3 nar...@gmail.com I found this problem as well in a Fedora 10 64b machine with source code downloaded this week Mar 15, 2011 #4 clzq...@gmail.com I also found this problem in Ubuntu 10.10 x86_32. In file included from external/qemu/android/skin/window.c:19: prebuilt/linux-x86/sdl/include/SDL/SDL_syswm.h:55: fatal error: X11/Xlib.h: No such file or directory compilation terminated. ► Sign in to add a comment Terms - Privacy - Project Hosting Help Powered by Google Project Hosting
in to check your private http://forum.openscenegraph.org/viewtopic.php?t=8231 messages Log in Album OpenSceneGraph IRC Chat SmartFeed osgviewer build failed for Android OpenSceneGraph Forum Forum Index -> Build system [build] View previous topic :: View next topic Author Message mepNewbieJoined: 21 Apr 2011Posts: 2 Posted: Sat no such Apr 23, 2011 2:46 pm Post subject: osgviewer build failed for Android Hi, I try to build osg for android on ubuntu 11.04. After getting svn trunk and cmake using opengl-es 2 following wiki page for platform specific for android and setting no such file for opengl-es 2. the building processing worked great for a some time, then it complain the following while compiling osgviewer: Code: Compile++ thumb : osgViewer <= ViewerEventHandlers.cpp Compile++ thumb : osgViewer <= GraphicsWindowX11.cpp In file included from /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsWindowX11:23, from /home/mep/dev/osg/OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:23: /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsHandleX11:22:23: error: X11/X.h: No such file or directory /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsHandleX11:23:26: error: X11/Xlib.h: No such file or directory /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsHandleX11:24:27: error: X11/Xutil.h: No such file or directory /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsHandleX11:25:25: error: EGL/egl.h: No such file or directory /home/mep/dev/osg/OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:31:21: error: X11/Xmd.h: No such file or directory /home/mep/dev/osg/OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:32:24: error: X11/keysym.h: No such file or directory /home/mep/dev/osg/OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:33:28: error: X11/cursorfont.h: No such file or directory Compile++ thumb : osgViewer <= PixelBufferX11.cpp In file included from /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/PixelBufferX11:23, from /home/mep/dev/osg/OpenSceneGraph/src/osgViewer/PixelBufferX11.cpp:19: /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsHandl