error: X11/Xlib.h: No such file or directory
Hi,
I am trying to compile the code. I am getting this following error. Am I missing any package? x86_screen.h:12:22: error: X11/Xlib.h: No such file or directory In file included from osal_event.c:12: x86_screen.h:25: error: expected specifier-qualifier-list before âDisplayâ make[1]: *** [osal_event.o] Error 1 Please help Thanks, Swamy |
Most likely. You are missing the development files for libX. Generally the development packages have the same name as the binary package except they will have -dev or -devel appended to them. If you told us what distro you were using, someone could probably tell you exactly which package to install. Or, better yet, how to figure it out on your own.
|
Please let me know how to check which distro I am using. Any command to check?
|
What did you install? Ubuntu, Fedora, Debian, Mint, Gentoo, Slackware, Arch, etc. That's your distro.
|
It is ubuntu 9.02
$ uname -r 2.6.31-203-gee1fdae |
" 2.6.31 " : That's Ubuntu 9.10 : The command: 'cat /etc/issue' will show.
9.10 is unsupported, and has been moved to the "Ubuntu museum". To install packages, you will have to change the URLs in /etc/apt/sources.list to : http://old-releases.ubuntu.com/ubuntu/dists/ And then : sudo apt-get update && sudo apt-get install libx11-dev .. |
All times are GMT -5. The time now is 02:31 AM. |