Ubuntu :: Can't Find Xlib.h - Fatal Error: Xlib.h: No Such File Or Directory

Jun 12, 2011

I'm trying to build a program called Obpager, but I'm getting an error saying I don't have xlib.h. From what I understand, that file is included in libx11-dev, which I have installed. Any idea?

Code:

dagoss@MAGIC-PORT:~/Downloads/obpager-1.8$ make
Compiling src/main.cc
In file included from src/main.cc:33:0:

[code]....

View 2 Replies


ADVERTISEMENT

General :: Error: X11/Xlib.h: No Such File Or Directory

Aug 1, 2011

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

View 5 Replies View Related

Software :: Error: X11/Xlib.h: No Such File Or Directory

Jun 21, 2011

I tried to install the pgplot, and I faced this error: X11/Xlib.h: No such file or directory

to solve this, I did this:
sudo apt-get install libx11-dev
but I face the other error which is:
f77 -c -u /usr/local/src/pgplot/drivers/gidriv.f
gidriv:
Error on line 247: syntax error

[Code]...

View 1 Replies View Related

Ubuntu Installation :: Error While Loading Shared Libraries: Libxcb-xlib.so.0: Cannot Open Shared Object File: No Such File Or Directory

Jan 15, 2010

how to install libxcb-xlib.so.0?When I start one software and it complains that

"error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory"

I have lastest libxcb1 installed and searched in my system but didnot find a relevant result.

View 3 Replies View Related

CentOS 5 :: Can't Find LibXpm Xlib.h And Intrinsic.h When Install NCL?

Mar 17, 2010

When I install NCL on my system. There are many error about X11 appeared. Such like:

xdevice.c(40): catastrophic error: could not open source file "X11/Xlib.h"
rasdraw.c(30): catastrophic error: could not open source file "X11/Intrinsic.h"
w_idt.c(26): catastrophic error: could not open source file "X11/Intrinsic.h"

[code]....

View 1 Replies View Related

General :: While Compiling Wine Got Error Xlib/Xfree86

Sep 29, 2010

compiling wine i got error Xlib/Xfree86 how can the package of it for RHEL 5.3

View 1 Replies View Related

Ubuntu :: Src/main.h:25: Fatal Error: Glib.h: No Such File Or Directory

Oct 29, 2010

I am trying to install a program called airfart and when I run make after cd'ing to the appropriate file i get this

Code:

g++ -g `pkg-config gtk+-2.0 --cflags` -o src/main.o -c src/main.cpp
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'

[code]....

View 9 Replies View Related

Software :: Compile Xlib And All Its Dependencies ?

May 20, 2009

I have a linux system set up. Very minimal. I have a compiler and I need to compile xlib and all its dependencies so that I can use it. I don't have any type of package management system because it is an embedded application. So I need to know what all I need to build before xlib. Assume that I only have the core utils and gcc. Please don't tell me to download binaries, I cant do that, it wont work. Unless you have armeb binaries for me.

View 1 Replies View Related

Programming :: Can't Get Xlib Window To Display / What To Do?

Mar 12, 2009

I am having trouble writing an Xlib application that displays a window. The most frustrating thing is that I've written applications like this before, and never had any problems. For some reason I cannot get this program to work properly. I'm running KDE and when I launch the program, a "button" for the application will appear on the application panel, however, no window will display. It is possible to right click on the panel button and select the Close item which will successfully close the window.

The following is source code that when built will exhibit the behaviour described above code...

View 10 Replies View Related

Programming :: Use QPainter Over An Xlib Window?

Jan 15, 2011

Suppose i have an XID of a window. How can i wrap QPainter to draw on this window? I need something like cairo_xlib_surface_create(), but Qt-based.

View 3 Replies View Related

Programming :: Implementing Scrollbar Using Xlib ?

Oct 17, 2010

I am working on xlib project to develop text editor without using help from any of toolkit/widgets.I get stuck in scrollbar.I have no idea how they work and developed.It become more difficult as I am using low-level C library - xlib.

View 1 Replies View Related

Programming :: Mouse Click C++ XLIB

Mar 3, 2009

The code below seems to do a right mouse click (firefox 2.0.0.7) IF I pass it 3, but I cant get it to do a left mouse click?

View 4 Replies View Related

Programming :: Difference Between Xlib And OpenGL?

Dec 6, 2008

I am starting to learn Linux graphical programming. Most of codes in my hands were written based on xlib, which is a kind of old graphic lib. I see some developers more interested in openGL. Then what's the difference between xlib and openGL? And which one is more popular used in which industry area?

View 2 Replies View Related

General :: Can't Compile Gcc - Fatal Error: Stdio.h: No Such File Or Directory

Feb 19, 2011

I am trying to upgrade my NAS with anew toolchain, gcc-4.5.2. The NAS have been "hacked" fonz_plug, that contain a gcc version 4.1.3 with uClibc. I have download all needed tar files and done the following.My goal is to upgrade the gcc to 4.5.2 and replace the ucLibc on the system with a GNU libc.

# Pass one
#
# binutils
./configure --prefix=/ffp --libdir=/ffp/lib --includedir=/ffp/include --with-gmp=/ffp --with-mpfr=/ffp
But when I try to compile the gcc with
../configure --prefix=/ffp --libdir=/ffp/lib --includedir=/ffp/include --enable-__cxa_atexit --with-float=soft --enable-languages=c,c++ --with-build-sysroot=/ffp --with-build-time-tools=/ffp/bin --with-system-zlib --enable-threads=posix --disable-bootstrap

[Code]...

View 6 Replies View Related

Slackware :: Fatal Error: Glib-object.h: No Such File Or Directory

May 31, 2011

I'm using Slackware 13.37 x64 (upgraded to slackware-current) and I have trouble compiling mysql workbench 5.2.34.

The error is:

Code:

scintilla-marshal.c:2:25: fatal error: glib-object.h: No such file or directory

But I have that glib-object.h file:

Code:

$ locate glib-object.h
/usr/include/glib-2.0/glib-object.h

This is when I try to compile version 5.2.27:

Code:

./PlatGTK.cxx:13:21: fatal error: gdk/gdk.h: No such file or directory

Code:

$ locate gdk.h
/usr/include/gtk-1.2/gdk/gdk.h
/usr/include/gtk-2.0/gdk/gdk.h

View 12 Replies View Related

Programming :: Get String Width In Pixels In Xlib?

Aug 3, 2009

I'm trying to get the width of a string in pixels this way:

Display *disp;
int len;
disp = XOpenDisplay(0);
font = XLoadQueryFont(disp, desc );

[code]....

I'm getting negative numbers as the the pixel length, eg -7275

View 3 Replies View Related

Programming :: Invoke A ButtonPress Event Using XLib?

Nov 17, 2010

I'm working on an application which generates random shapes when clicking on a window. I designed the window using Motif. I want to invoke the ButtonPress Event .

View 1 Replies View Related

Programming :: Read The State By Using _NET_WM_STATE In Xlib?

Oct 8, 2010

i want to get the state of a particular window by using the _NET_WM_STATE atom. i dont know how to use it with XGetProperty.

View 6 Replies View Related

Debian Multimedia :: Xlib - Extension GLX Missing On Display 0.0

Oct 6, 2010

I am trying to run the SDK for Meego with Qt. When I try to launch my simulator I get the error message: Xlib: extension "GLX" missing on display ":0.0". The answer I got on Meego's forum is that I am missing glx extensions. I have tried to find a way to get the glx extensions but I do not seem to get it. My searches on the web all point to Nvidia, but I have got ATI. I run Lenny 5.0.6 amd64.

View 2 Replies View Related

OpenSUSE :: Xlib - Extension RandR Missing On Display

Feb 5, 2010

I've verified that xorg-x11-libs is installed. This package provides libXrandr.so.2. However, when I run a program, in this case the python script for blueproximity (start_proximity.sh), I get the error in the title.

Code:
grep -ni randr /var/log/Xorg.0.log
237:(==) RandR enabled
247:(==) RandR enabled
257:(==) RandR enabled
274:(II) Initializing built-in extension RANDR

View 5 Replies View Related

Programming :: Xlib C Program Doesnt Work Every Time

Jul 24, 2010

I tried to draw two lines with xlib.h in C. If I start this compiled program it show me in most cases a window with two lines as it should be.

But sometimes the two lines are not drawn.If I insert XFlush() before the second XSync() it worked better but not every time.Why?How can I solve the problem?How works the X-Server buffer in detail?

Code:

View 1 Replies View Related

Software :: Xlib - Run A Graphical Application At A Remote Host ?

Dec 21, 2008

When trying to run a graphical application at a remote host i get the error

Xlib: 'connection to ":0.0" refused by server'

Xlib: No protocol specified

How to address this?

View 1 Replies View Related

CentOS 5 :: Xlib Resource Id Allocation Space Exhausted?

Aug 25, 2009

Now I'm using Centos 5.3. when I let ADP (a EDA Tools) to idle more than 1 hours. The tools will display incorrectly. The per letter will be displayed as pane. So I must close it and re-open it.When the status is displayed, the system always said:xlib resource id allocation space exhausted!Forestall I use Centos 4.7, the system always works well. But I'm using Centos 5.3.How to maintenance it

View 2 Replies View Related

Ubuntu :: Fatal Error: Iostream.h: No Such File Or Directory Compilation Terminated While Compiling C++ Code

Dec 9, 2010

whenever i am trying to compile a c++ program i am getting the following error sample.cpp:1: fatal error: iostream.h: No such file or directory compilation terminated

View 1 Replies View Related

Server :: Error - Xlib: Extension "XINERAMA" Missing On Display ":0.0"

May 26, 2010

I am trying to get xinerama to work with x11vnc on Xvfb and I am getting:

xdpyinfo -ext XINERAMA
Xlib: extension "XINERAMA" missing on display ":0.0".
XINERAMA extension not supported by server

I am using the latest version of x11vnc which says XINERAMA is on by default. I have tried xf4vnc as well and get the same issue.

Xvfb :1 -screen 0 1024x2048x24 &
mwm &
x11vnc -display :1 -bg -nopw -xkb -N

I get a screen that looks like xinerama and windows pass from display to display fine, however xdpyinfo says otherwise and we have software that looks to xdpyinfo to get information about how display guis. When x11vnc was compiled it said it found libXinerama. Not sure what is going on. Does vncviewer need to support xinerama as well? Is there any way to tell if vncviewer does without downloading a newer or different version?

View 4 Replies View Related

Ubuntu :: Modprobe Fatal Error "no Such File Or Directory" On Boot

Oct 13, 2010

since the recent upgrade to Maverik every time I boot this error message appear on the top of the screen: "modprobe: Fatal: Could not load /lib/modules/2.6.35-22-generic/modules.dep: no such file or directory" fter that plymouth starts without any graphics and the first visible object is the login interface (GDM)

View 1 Replies View Related

Ubuntu :: Fatal Error: Gdk-pixbuf/gdk-pixbuf.h: No Such File Or Directory

Oct 2, 2010

I have updated to ubuntu 10.10, but when I try to compile chromium on ubuntu, I get this error:

Code:

In file included from /usr/include/gtk-2.0/gdk/gdkcairo.h:28,
from /usr/include/gtk-2.0/gdk/gdk.h:33,
from app/active_window_watcher_x.cc:6:
/usr/include/gtk-2.0/gdk/gdkpixbuf.h:37: fatal error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory

What I don't understand is why gtk-2.0/gdk/gdkpixbuf.h complains that gdkpixbuf/gdk-pixbuf.h is not found. And how can I fix it?

View 7 Replies View Related

Ubuntu Servers :: Postfix Make Install - Error - Postfix: Fatal: Chdir(/usr/libexec/postfix): No Such File Or Directory

Mar 11, 2010

Here is what i do: make clean make makefiles CCARGS='-DEF_CONFIG_DIR="/opt/product/postfix-2.6.5/etc"

-DEF_COMMAND_DIR="/opt/product/postfix-2.6.5"
-DEF_DAEMON_DIR="/opt/product/postfix-2.6.5/libexec"
-DEF_MAILQ_PATH="/opt/product/postfix-2.6.5/bin/mailq"
-DEF_DATA_DIR="/opt/product/postfix-2.6.5/lib"
-DEF_NEWALIAS_DIR="/opt/product/postfix-2.6.5/bin/newaliases"
[Code]...

make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out:

[Code]....

View 1 Replies View Related

General :: Xlib: Connection To ":0.0" Refused By Server?

Oct 2, 2010

i typed the command "system-config-network",at the hostname field i gave "james@lee".after closing that window, again i typed the same command "system-config-network". but it gives the following error..

[student@james@lee ~]$ system-config-network
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

ERROR: Unable to initialize graphical environment. Most likely cause of failure is that the tool was not run using a graphical environment. Please either start your graphical user interface or set your DISPLAY variable

View 1 Replies View Related

Ubuntu Installation :: Boot Error "modprobe: FATAL Could Not Load /lib/modules 2.6.35-22 Generic Modules No Such File Or Directory"

Apr 14, 2011

Tonight I installed ubuntu 10.10 (32 bit) on an external usb harddrive with a dvd I burned and I used my older desktop. I disconnected all internal and external drives first so everything had to be put on the usb drive I selected (only option available). I used the option to load extra software, use the entire hard drive, and let the software do it's thing. I basically had no options where to put things and it didn't have much choice.

When I boot the usb drive on my laptop (win 7 64 bit) by telling the bios to boot to it first... I get an error: modprobe: FATAL Could not load /lib/modules 2.6.35-22 generic modules No such file or directory. This message appears twice and then it does boot into ubuntu and seems to work fine. I'm new to this OS so that is an uneducated guess but the things I have done seem to be working. So exactly what is this error referring too? Is there a way to fix the problem or do I just ignore it.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved