1752440 Members
5831 Online
108788 Solutions
New Discussion юеВ

Where's Xlib.h?

 
Steven Schweda
Honored Contributor

Where's Xlib.h?

On a C3700 workstation:

# uname -a
HP-UX dy B.11.11 U 9000/785 2012616114 unlimited-user license

I see no evidence of any X/Motif header files,
like, say, Xlib.h. How are these things
distributed? Was there some optional step I
missed while installing the OS, or is there
some kit I need to download (whence?), or is
this stuff part of some extra-cost option(s)?
7 REPLIES 7
skt_skt
Honored Contributor

Re: Where's Xlib.h?

there is no Xlib.h present normally.You can see Motif Window manger here./usr/bin/X11/mwm.

Do a "man mwm" that can provide more info..
Sameer_Nirmal
Honored Contributor

Re: Where's Xlib.h?

Xlib.h is a part of X11/Motif Development Kit. This kit is a part of HP C/ANSI C
Developer's Bundle.
Dennis Handly
Acclaimed Contributor

Re: Where's Xlib.h?

>is this stuff part of some extra-cost option(s)?

Yes, it is part of the HP C/ANSI C Developer's (old) or HP C/aC++ Developer's Bundle, X11MotifDevKit.

You may find some open source headers by searching similar questions in the ITRC.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1112420
Yogeeraj_1
Honored Contributor

Re: Where's Xlib.h?

hi,

On mine, we have all the required software installed and below are the occurrences of Xlib.h:

myserver:usr>find . -name Xlib.h
./include/X11/Xlib.h
./include/X11R6/X11/Xlib.h
./local/pa20_64/lib/gcc-lib/hppa64-hp-hpux11.11/3.3.2/include/X11/Xlib.h
./local/pa20_64/lib/gcc-lib/hppa64-hp-hpux11.11/3.3.2/include/X11R6/X11/Xlib.h
./local/perl64/lib/site_perl/5.8.2/PA-RISC2.0-LP64/Tk/pTk/Xlib.h
myserver:usr>uname -a
HP-UX myserver B.11.11 U 9000/800 788907671 unlimited-user license
myserver:usr>


hope this helps too!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Steven Schweda
Honored Contributor

Re: Where's Xlib.h?

The critical phrase seems to be "HP-UX
Developer's Toolkit", as in:

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B3394BA

And it seems to be free, not attached to the
extra-cost C compiler.

Now I can build "vim" with the graphics stuff
enabled (at last).
Dennis Handly
Acclaimed Contributor

Re: Where's Xlib.h?

>And it seems to be free, not attached to the
extra-cost C compiler.

They never tell me anything. ;-)

I'll see if we can add a link to that product to put with the HP C/aC++ Developer's Bundle.
Steven Schweda
Honored Contributor

Re: Where's Xlib.h?

> I'll see if we can add a link [...]

Could be handy. I had sucked down a free
trial copy of the C/C++ compiler, and was
about to install it just to get this stuff
when I did one more Google search and found
what I really wanted.