Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 803
News FAQ
Search Home


next up previous contents
Next: An example Up: C++ design Previous: PixonProcessor class

makedefs additions

In AIPS++, the IDL-specific code is ignored unless the variable HAVE_IDL_LIB is defined in the makedefs. Hence to compile the code, you must add the following to your makedefs under Linux.

# IDL 5.* (needed for Pixons): note that the true Motif (iso LessTif)
# is needed.
IDLROOT  := /usr/local/rsi/idl
IDLDEFS  := -DHAVE_IDL_LIB
IDLINCD  := $(IDLROOT)/external
IDLLIBD  := $(IDLROOT)/bin/bin.linux.x86
IDLLIB   := -L$(IDLLIBD) -lidl -lMesaGLU -lMesaGL -ltermcap

For Solaris:

# IDL 5.* (needed for Pixons): note that the true Motif (iso LessTif)
# is needed.
IDLROOT  := /usr/local/rsi/idl
IDLDEFS  := -DHAVE_IDL_LIB
IDLINCD  := $(IDLROOT)/external
IDLLIBD  := $(IDLROOT)/bin/bin.sparc.solaris
IDLLIB   := -L$(IDLLIBD) -lidl -lMesaGLU -lMesaGL -ltermcap

Note that LessTif is not sufficient to allow IDL to be linked in. Instead a truly compatible Motif 2.0 library must be used. Under Linux, the best solution is to use OpenMotif which has an acceptable license. OpenMotif may be found at

http://www.opengroup.org/openmotif.


next up previous contents
Next: An example Up: C++ design Previous: PixonProcessor class   Contents
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2004-08-28