LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Xm/Xm.h header file is missing (http://www.linuxquestions.org/questions/linux-newbie-8/xm-xm-h-header-file-is-missing-774902/)

wagmare 12-11-2009 03: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 libXm.so.2

please anyone help me to solve this problem .

datopdog 12-11-2009 04:45 AM

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

knudfl 12-11-2009 05:17 AM

If you have problems with the ccrma openmotif packages :

I think, the el5 packages are more reliable ..
http://mirror.centos.org/centos/5.4/...2.el5.i386.rpm
> openmotif-2.3.1-2.el5.i386.rpm
http://mirror.centos.org/centos/5.4/...2.el5.i386.rpm
> openmotif-devel-2.3.1-2.el5.i386.rpm

Will fit nicely into Fedora 7.
.....

wagmare 12-11-2009 06: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 09:02 AM.