comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Resolve iTools for Virtual Machine
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Resolve iTools for Virtual Machine [message #36909 is a reply to message #36876] Mon, 03 November 2003 15:53 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

>> With the arrival of IDL 6 and the features of iTool and Virtual
>> Machine I though my problems are solved, but so far I couldn't create
>> a working ".sav" file. The problem is that itools use some runtime
>> dependencies, which cannot be resolved with the resolve_all command.
>
> Oh, oh. Whoops!
>
> I wrote a little file (see below) to compile all the object programs
> in the iTools directory, but I still couldn't get my little example
> program to run as a run-time or Virtual Machine program.
>
> I finally got it to work (I think, I haven't tested this much)
> by running my ITOOLS_SETUP program, compiling my TEST_ITOOLS
> program, actually *running* my TEST_ITOOLS program, then
> typing RESOLVE_ALL and saving the routines in a save file.
>
> IDL> itools_setup
> IDL> .compile test_itools
> IDL> test_itools
> IDL> Resolve_All
> IDL> Save, File='test_itools.sav', /Routines
>
> Maybe the good folks at RSI will let us know what we are
> missing here. :-)

I guess the good folks at RSI have already thought of this!

I found this Tech Tip on their web page this afternoon:

http://www.rsinc.com/services/techtip.asp?ttid=3577

To create a SAVE file you need to call an undocumented routine
named IDLITRESOLVEITOOLS. Basically, this routine does what
I was trying to do, although it finds all the right files. :-)

The code sequence that worked for me was this:

IDL> .compile test_itools
IDL> IDLITRESOLVEITOOLS
IDL> Resolve_All
IDL> Save, File='test_itools.sav', /Routines

Works great as a run-time and in the Virtual Machine.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDLgrPolygon semi opaque / transperent polygons
Next Topic: Resolve iTools for Virtual Machine

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 02:47:44 PDT 2025

Total time taken to generate the page: 0.16056 seconds