Dear all,
I created a program in which several ENVI routines are being used. It works fine as long as the source code has not been compiled. When I compile the program and call the .sav routine on another machine, it crashes when I select a file. Files are being selected using ENVI_SELECT. The failure message is the following:
% Variable is undefined: E_INVISIBLE_FLAG (ENVI_GLOBALS1_COMMON).
% Execution halted at: ENVI_ENTER_FILE
% ENVI_OPEN_FILE
% ENVI_SELECT_EVENT
% WIDGET_EVENT
% XMANAGER_EVLOOP_REAL_MODAL
% XMANAGER
% ENVI_SELECT
% SLB_SPECTRALON_CORR (name of main program)
% WIDGET_PROCESS_EVENTS
% $MAIN$
Does someone know a way to solve this problem? Or is it in general not possible to use ENVI routines in compiled programs, even if ENVI runs on the machine.
Thanks a lot for any feedback.
Wouter
|