Known Issues macOS
There are a few known issues with IDL widgets and macOS/OSX, running the latest XQuartz (2.7.11), including:
Segmentation fault while running code that involves widgets (SPEDAS GUI, EVA, etc.)
Warning: Fatal Error:
_XmGetDefaultDisplay cannot be used prior to VendorS.Initialize, returns NULL
Segmentation fault: 11
or you may see the error:
Error: attempt to add non-widget child "dsm" to parent "idl" which supports only widgets
or IDL may close abruptly and without warning when running code that involves widgets.
These issues can be fixed at the command line with the following:
1. change to the X11 library directory:
2. backup the libXt library file found in this directory:
sudo cp libXt.6.dylib libXt.6.dylib.bak
3. change to the “flat_namespace” directory:
4. copy the copy of libXt from this directory up one directory:
sudo cp libXt.6.dylib ../.
No annotations/legend text showing in GUI
This issue is due to corrupt IDL configuration files; to fix, delete the .idl folder in your IDL working directory
IDL freezes after compiling loadct2 with IDL 8.5.1 on macOS 10.14 + Anaconda
A conflict was found between IDL and Anaconda (http://anaconda.com) on the latest macOS. If a load routine call seems to freeze after compiling loadct2 and you're running both Anaconda and macOS 10.14, a simple fix is to remove and reinstall Anaconda.
Cannot install Java 6
IDL requires Java 6. To install it on newer Macs, you may have to follow the procedure described below: