-   Linux - Newbie (
-   -   Xm/Xm.h header file is missing (

wagmare 12-11-2009 04:09 AM

Xm/Xm.h header file is missing
hi friends,

i try to compile small motif example using
cc push.c -o push -lXm -lXt -lX11

it produce
push.c:1:19: error: Xm/Xm.h: No such file or directory
push.c:2:22: error: Xm/PushB.h: No such file or directory

my openmotif version is openmotif-2.3.0-0.3.fc7.ccrma

and lib of Xm is

please anyone help me to solve this problem .

datopdog 12-11-2009 05:45 AM

The header files will be supplied by the devel package you need to have that installed.

knudfl 12-11-2009 06:17 AM

If you have problems with the ccrma openmotif packages :

I think, the el5 packages are more reliable ..
> openmotif-2.3.1-2.el5.i386.rpm
> openmotif-devel-2.3.1-2.el5.i386.rpm

Will fit nicely into Fedora 7.

wagmare 12-11-2009 07:37 AM

thanks for reply ... i removed the .ccrma rpm and installed the .devel package for fc7 . now its working fine ..

All times are GMT -5. The time now is 03:41 AM.