Re: Use IDL Workbench with other languages? [message #58198 is a reply to message #58024] |
Fri, 18 January 2008 07:11   |
Nigel Wade
Messages: 286 Registered: March 1998
|
Senior Member |
|
|
Chris Torrence wrote:
> 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
It does indeed! Thanks very much, I can now run IDL in Eclipse/Europa. All I
need do now is configure Europa so it's the same as my previous version of
Eclipse. Or I could configure the IDL workbench so it's the same as my previous
setup for Eclipse...
Oh, and I need to upgrade the IDL license as well.
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
|
|
|