X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 01 Mar 2008 10:10 AM by  anon
IDL executable with ENVI code
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
01 Mar 2008 10:10 AM
    Dear Users, I have a simple code that I want to make as an executable. In theory this should be trivial, but I am getting errors which I don't know how to fix. I'm running IDL v6.3 and ENVI 4.3 on linux. Here the following code for which I want to create the executable: PRO commandLine appWorkingDir = (command_line_args( ))[0] compile_opt STRICTARR envi, /restore_base_save_files envi_batch_init, /NO_STATUS_WINDOW PRINT, "This is a test of the commandLine.pro ..." PRINT, appWorkingDir END In order to create this executable I do the following: 1. Compile and run the program in an idl session (works) 2. run resolve_all (get this error - Attempt to call undefined procedure/function: name) 3. save, /routines, filename='commandLine.sav' 4. run in shell idl -rt=commandLine.sav -args /home/dir While the above procedure works perfectly without the ENVI code, I cannot get it to work with the ENVI code because when I run resolve_all I get a very long list of procedures/functions that are undefined. Anyone know how to fix this problem? Any help would be very much appreciated... Have a great day, Conrad
    You are not authorized to post a reply.