| Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
| Version 1.9 Build 803 |
|
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.