X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 07 Jun 2019 04:52 PM by  PaulGreninger
attempt to call undefined function.
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Amit



New Member


Posts:
New Member


--
08 Aug 2017 01:09 PM

    When running an IDL example I get the following error.
    % Attempt to call undefined function: 'IMAGE'

    When I print the path variable using the following command
    print, !PATH

    I can see that the path variable includes a folder in which “image.pro” is located. I am not sure why I am getting this error.

    /Applications/harris/idl86/lib/enterprise/ese:/Applications/harris/idl86/lib/graphics:/Applications/harris/idl86/lib/hook:/Applications/harris/idl86/lib/imsl:/Applications/harris/idl86/lib/itools/components:/Applications/harris/idl86/lib/itools/framework:/Applications/harris/idl86/lib/itools/ui_widgets:/Applications/harris/idl86/lib/itools:/Applications/harris/idl86/lib/obsolete:/Applications/harris/idl86/lib/tasks/taskengine:/Applications/harris/idl86/lib/tasks/templates:/Applications/harris/idl86/lib/tasks/utilities:/Applications/harris/idl86/lib/tasks:/Applications/harris/idl86/lib/utilities

    Thanks

    David Starbuck



    Basic Member


    Posts:143
    Basic Member


    --
    05 Sep 2017 11:34 AM
    Could you please try the following procedure and seeing if it helps with your issue?

    1) Close IDL

    2) Open a terminal

    3) Source the IDL setup script:
    source /Applications/harris/idl86/bin/idl_setup.bash

    4) Set the following environment variable:
    export IDL_PATH=<IDL_DEFAULT>

    5) Launch IDL

    Best regard,
    David

    PaulGreninger



    New Member


    Posts:1
    New Member


    --
    07 Jun 2019 04:52 PM
    I have the same problem. Programs compiles, but when I go to run, it say, "attempt to call undefined procedure MY_PROCEDURE.PRO . As per the instructions given here, I sourced the program, then typed: export IDL_PATH=<IDL_DEFAULT> . Program responded with unexpected token 'new line' . Can someone please help me.
    You are not authorized to post a reply.