|
Re: problem creating a *.sav file from a project with envi routines [message #56558 is a reply to message #56557] |
Mon, 29 October 2007 05:56  |
txominhermos
Messages: 25 Registered: October 2005
|
Junior Member |
|
|
On 29 oct, 12:30, txominher...@gmail.com wrote:
> Hi,
> I am trying to create a *.sav file from a Project with a Widget based
> menu and many idl functions, other self-made and 7 ENVI routines,
> which are in this order:
> envi_evf_open
> envi_open_file
> envi_file_query
>
> ENVI_EVF_READ_RECORD
> ENVI_CREATE_ROI
> ENVI_GET_ROI
>
> envi_get_data
>
> As I have seen in other posts that it is necessary to put at the
> beginning of each routine or function where I need to call an ENVI
> routine the command:
>
> COMPILE_OPT idl2
>
> Working like that, when I use BUILD command in PROJECT menu everything
> seems to be ok, because no errors are appear.
>
> After that, I use EXPORT... from PROJECT menu, and the files are
> generated without errors, but, when I try to run the *.sav with IDL
> Virtual Machine, I have an error message telling:
>
> The following error was encountered: Attempt to call undefined
> procedure/function 'ENVI_EVF_OPEN'.
>
> Do you have any idea?
>
> thanks
http://www.ittvis.com/forum/message.asp?fmid=4326
ok, it seems to be impossible to execute throught VM, but.. do you
know how to make a .sav file run in IDL+ENVI?
|
|
|