Re: Use IDL Workbench with other languages? [message #58202 is a reply to message #58024] |
Thu, 17 January 2008 09:09   |
chris_torrence@NOSPAM
Messages: 528 Registered: March 2007
|
Senior Member |
|
|
Hi Nigel,
After looking over my post, I left out some details for running IDL
within Eclipse on Linux.
First, this will *only* work with Eclipse 3.3 or greater. There were
too many changes between Eclipse 3.2 and 3.3.
You need to set the LD_LIBRARY_PATH environment variable to point to
both the idlde/bin.linux.x86 and the idl70/bin/bin.linux.x86
directories. Also, the JDMLDir, BMLDir, and DMLDir need to point to
the idlde/bin.linux.x86 directory. On Windows there is no platform-
specific subdirectory...
I created a little shell script called "idl_eclipse" to start up
Eclipse with IDL:
#!/bin/sh
IDL_DIR=/software/rsi/idl70
export IDL_DIR
LD_LIBRARY_PATH=/software/rsi/idl70/idlde/bin.linux.x86:/sof tware/rsi/
idl70/bin/bin.linux.x86
export LD_LIBRARY_PATH
eclipse -vmargs -DJDMLDir=/software/rsi/idl70/idlde/bin.linux.x86 \
-DBMLDir=/software/rsi/idl70/idlde/bin.linux.x86 \
-DDMLDir=/software/rsi/idl70/idlde/bin.linux.x86 \
-DIDLDir=/software/rsi/idl70/bin/bin.linux.x86 \
-DIDL_DIR=/software/rsi/idl70 &
Note the earlier caveats: the first time you try this, and you start
the IDL perspective, it will fail. After that, as long as the IDL
command line is visible, it should work. You may also receive Java
null exceptions on startup - these can be ignored.
Hope this helps!
-Chris
ITTVIS
|
|
|