comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Running an IDL Project
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Running an IDL Project [message #40496] Mon, 09 August 2004 19:24
i-kant is currently offline  i-kant
Messages: 14
Registered: June 2004
Junior Member
Up until now I've never actually built a project. I have a main.pro
that acts as the main program, and I have a bunch of procedures that I
call with the main program to perform tasks. I open all these files,
click "compile all", and then run my main.pro.

I would like to make an IDL project now, so instead of having to open
up the main program and all the procedures and then compile them all,
I can just open up a project, and click on "compile project".

The problem is I don't seem to be able to run the project. I will
describe below how I create the project, and maybe someone can tell me
what i'm doing wrong.

I click on File > New > Project

I enter a name for the project, say "Project.prj"

A Project Workspace pops up titled "project.prj" with folders Source,
GUI, Data, Images, and Other

I go to Project > Add/Remove Files and I add all the files which I
previously had to open one by one. All these files are .pro files (one
main.pro as the main program that calls all the other procedure
files). All of them are put into the "Source folder" of my project
workspace.

I go to Project > Compile > All Files

All the files are compiled successfully.

I then go to Project > Run , and I get the following error message:

% Attempt to call undefined procedure/function: 'Project'.
% Execution halted at: $MAIN$ 1
C:\IDL\SPE_Examiner\main.pro

main.pro is my main program that calls all the other procedures.

Apparently IDL thinks that my project named "Project" is a
function/procedure???


thanks for any help!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Can I have multiple threads in IDL?
Next Topic: Contour plots / ps files

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:35:42 PDT 2025

Total time taken to generate the page: 0.00488 seconds