Location of XPM in Motif 2.1

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
Location of XPM in Motif 2.1

Submitted by gates on Tue, 08/12/2003 - 19:20.

If I want to use XPM in a Motif 2.1 program, do I need to download the XPM library and link it? I noticed a header called XpmP.h in the Xm directory but I know that you are not supposed to include private headers. So I guess what I really need to know is Does xpm.h reside somewhere within the Motif or X11 include files (I could not find it) or do I need to explicitly install it? Thanks.

Thu, 08/14/2003 - 08:43#1

Thu, 08/14/2003 - 08:43#1

suryakiran24

Location of XPM in Motif 2.1

use X11/xpm.h file and to load the xpm file
use XpmCreatePixmapFromData and link xpm library. -lXpm