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


ADVERTISEMENT

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 View Related

Ubuntu Multimedia :: Cannot Compile Audacity 1.2.6 - All Dependencies Satisfied

Sep 20, 2010

Configure: error: Unable to locate a suitable configuration of wxWidgets v2.4.x. The currently available configurations are listed below. If necessary, either install the package for your distribution or download the 2.4.x version of wxWidgets from [URL]. To help configure find the right version set WX_CONFIG to point to it. wxWidgets 2.5.x and 2.6.x are NOT supported! But I thought I installed widgets 2.4?

View 2 Replies View Related

General :: Compile Programs And Their Dependencies Manually Or Are Package Managers The Only Way?

May 29, 2010

Is there an easier way (without using a package manager) to upgrade programs? For example, I just want to upgrade Amarok. In order to do this, I've had to upgrade every one of it's dependencies because they've all had minor upgrades from the versions I already have installed.

Is there an easier way to compile programs and their dependencies manually or are package managers the only way?

View 1 Replies View Related

OpenSUSE :: Error: Failed Dependencies - Doesn't Compile - RPM Won't Install - X86_64

Feb 27, 2010

I tried installing the RPM from tcpflow website. error: Failed dependencies: libpcap.so.0.6.2 is needed by tcpflow-0.21-1.i386 I installed libpcap1-32bit, but doesn't help. I tried added soft-link to libpcap.so.1.0.0 from libpcap.so.0.6.2 to workaround, doesn't help. hen I DLed the tarball, ./configure gives an error, even after including --with-pcap=/usr/lib64/libpcap.so.1.0.0 checking for --with-pcap option... configure: error: /usr/lib64/libpcap.so.1.0.0 does not exist I CAN'T install the rpm, I CAN't compile from source. I can't find this program on any suse repo. I need to use this prog -- what can I do?

View 14 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 :: 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

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

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

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

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

Server :: Skipping Failed Dependencies Error / Rpm -u /packages Recieve A Failed Dependencies Error?

Nov 2, 2010

I am currently trying to upgrade over 100 rpms on multiple Red Hat servers. Whenever I try to do a rpm -u /packages/*.rpm i recieve a failed dependencies error on the very first rpm. I know that I can go though each rpm one by one and trace each dependency but that will take forever. Is there a way to skip these errors? I know the -nodeps command for rpm but I dont want to screw something up but running all of these rpms on -nodeps

View 10 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 :: 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

OpenSUSE :: Xlib: Extension "Generic Event Extension" Missing On Display <my_ip>

Dec 28, 2009

After upgrading to 11.2, I get the following error when starting any xclient. Worse, its usually repeated a few times for each client.

Xlib: extension "Generic Event Extension" missing on display <my_ip>

I get this both when using Xming and nomachine.

View 2 Replies View Related

Programming :: Xlib - C Programming - Get Value From Pixel

Dec 11, 2009

I'm making a game with the xlib library. What I want to do is to know if the character is standing on a trap or something else.

So far I've solved that using the coordinates but when I draw circles or stuff not shaped like a rectangle it gets to hard to make the game exact.

So what I'm asking for is if there is some kind of function in the xlib that tells you which color a pixel has. Because then it'd be much easier.

I've searched but I haven't been able to find anything good. I found XGetPixel() but that appears to work only with images, maybe I can make my window to be an "image"?

View 7 Replies View Related

Programming :: Use Colors In Xlib Programming ?

Apr 27, 2010

I'm trying to understand how to use colors in Xlib programming. What I think I understand so far is that modern displays use 24 or 32-bit TrueColor. And TrueColor uses three colormaps, one for each primary color, and a single pixel value is composed of three indices.

Now the part i'm confused about is how to get my programs to use a 32-bit TrueColor visual. I thought I could inheret the visual from the root window to get color but it seems no matter what pixel value I use it's either black or white.

I guess my question is, how can I setup my programs so that I can specify a pixel value that is a combination of RGB values to get the color I want?

I come from windows where I simply used RGB(r,g,b) macro to specify colors and never had to worry about depth and colormaps and visuals, so I'm a bit overwhelmed by all of these concepts.

View 1 Replies View Related

Programming :: Xlib Documentation With GUI Programming?

Dec 14, 2008

I want to do some experimentation with GUI programming. What mostly interests me is how the toolkits actually work (what are the drawing mechanisms, how it communicates with X, etc.) and how the window managers work. I know it's quite a lot but I don't plan on developing the next best DE/Toolkit/Window Manager, just to play with API, mostly to learn. It seems that there is a shortage of documentation on this topics, I'm trying to find anything for 2 days now with no result.

View 7 Replies View Related

Ubuntu Multimedia :: Xlib: Extension "XFree86-DRI" Missing On Display ":0.0"

Jan 28, 2011

I typed vainfo in the terminal and get the following error message

Quote:

libva: libva version 0.31.1
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
Segmentation fault

View 9 Replies View Related







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