Re: Creating executable sav file [message #94584 is a reply to message #94583] |
Sun, 16 July 2017 21:44   |
moxament
Messages: 26 Registered: April 2008
|
Junior Member |
|
|
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
|
|
|