Re: RESOLVE_ROUTINE in the .sav file [message #41323] |
Fri, 08 October 2004 20:56  |
netnews.comcast.net
Messages: 10 Registered: October 2004
|
Junior Member |
|
|
alison wrote:
> Do you mean I can not compile the other programs from within my .sav
> files?
> Is there other solution?
I am pretty sure the answer is no.
You definitely can't using the IDL VM as it can't compile anything. If
it could none of us would need to pay for IDL.
I am unsure if a fully licensed idlrt can compile. My guess is that it
can't. You can easily find out. You have an IDL license. Test your
program by invoking idlrt with the -novm switch to force it to grab a
license and see if it works.
-Rick
|
|
|
|
Re: RESOLVE_ROUTINE in the .sav file [message #41329 is a reply to message #41324] |
Fri, 08 October 2004 04:55   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
alison writes:
> I am trying to compile an IDL program from within my program,
> my code:
>
> pro example
> cd,'d:\idl'
> RESOLVE_ROUTINE,'test',/COMPILE_FULL_FILE ,/EITHER
> Resolve_All
> Save, /Routines, File='test.sav'
> end
>
> I have this program working from the IDL window,but when I try to run it
> through
> the .sav file I create,I get a Run Time error 'Attempt to call undefined
> procedure/function:'test''
> I am not able to figure out where I am going wrong.
I seriously doubt whether anything at all can be compiled
from a run-time license. Isn't that one of the known
restrictions?
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http:/www.dfanning.com/
Phone: 970-221-0438, IDL Book Orders: 1-888-461-0155
|
|
|
Re: RESOLVE_ROUTINE in the .sav file [message #41409 is a reply to message #41323] |
Mon, 25 October 2004 04:10  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
netnews.comcast.net wrote:
> alison wrote:
>
>> Do you mean I can not compile the other programs from within my .sav
>> files?
>> Is there other solution?
>
>
> I am pretty sure the answer is no.
>
> You definitely can't using the IDL VM as it can't compile anything. If
> it could none of us would need to pay for IDL.
>
> I am unsure if a fully licensed idlrt can compile. My guess is that it
> can't. You can easily find out. You have an IDL license. Test your
> program by invoking idlrt with the -novm switch to force it to grab a
> license and see if it works.
>
> -Rick
It is not possible to do it by idl -rt. You need the developer license.
Reimar
|
|
|