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

Home » Public Forums » archive » Creating executable sav file
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: Creating executable sav file [message #94586 is a reply to message #94584] Sun, 16 July 2017 23:07 Go to previous messageGo to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
Don't know a thing about envi, but make_rt might be worth trying until somewhen who actually knows stuff answers this :-)

http://www.harrisgeospatial.com/docs/CreatingDistributionUsi ngMAKE_RT.html
http://www.harrisgeospatial.com/docs/make_rt.html

The advantage of this approach is that the pc where you run this does not need to have IDL installed at all. This means that you might be able to get also to run ENVI.

Cheers, Helder


On Monday, July 17, 2017 at 6:44:10 AM UTC+2, moxa...@gmail.com wrote:
> On Sunday, 16 July 2017 13:28:12 UTC-4, superchromix wrote:
>> On Sunday, July 16, 2017 at 9:51:46 AM UTC+2, moxa...@gmail.com wrote:
>>> Dear all,
>>>
>>> I am trying to develop my first standalone idl executable *.sav file and need your kind help. I have the mean program file mean_program.pro which calls different procedures and functions to do a specific calculation. For example, I have:
>>>
>>> mean_program.pro
>>> procedure_1.pro
>>> procedure_2.pro
>>> function_1.pro
>>> function_2.pro
>>>
>>> some of the procedures contain ENVI procedures/functions (e.g. ENVI_GET_ROI_DATA, ENVI_GET_DATA, etc.). In order to create the *.sav file, I complied the mean_program.pro and the other procedures and functions (procedure_1.pro, procedure_2.pro, function_1.pro, function_2.pro), and after that created a *.sav file called mean_program.sav. Now, I copied the file mean_program.sav alone in a second laptop which has idl only (no ENVI) and tried to execute it using the idl visual machine and got the following error message:
>>>
>>> “The following error was encountered: Attempt to call undefined procedure/function: ‘MEAN_PROGRAM’. Please consult the supplier of the application”.
>>>
>>> Not sure why I am getting this error, can you help please?
>>>
>>> Thank you,
>>>
>>> Muhamed
>>
>>
>> did you use the /ROUTINES keyword when you created the save file?
>
> I tried it with this keyword. However, I just found by chance that the problem is that I am trying to run the *.sav file in older version of IDL than the one in which the *.sav file was created.
>
> The *.sav file worked when I used new version of IDL but it requested to have ENVI. Do you know if there is a way to run a *.sav file which contains ENVI programming procedures in a computer machine having only IDL?
>
> Thank you a lot for the help,
>
> Muhamed
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New behavior of n_elements?
Next Topic: Plot scatter points with transparency

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

Current Time: Wed Oct 08 15:55:28 PDT 2025

Total time taken to generate the page: 0.00231 seconds