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

Home » Public Forums » archive » problems in building projects (.sav)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
problems in building projects (.sav) [message #36925] Sat, 15 November 2003 00:36 Go to previous message
sbkim is currently offline  sbkim
Messages: 4
Registered: November 2003
Junior Member
I wish to use IDL routines from C++. To do this,
I am building a project (.sav) from .pro IDL routines.
We are using IDL 6.0. There are two problems
(1) how to handle input commandline arguments? For
example, IDL routine is as follows:

pro pl_all_l1, arg1, arg2, arg3
...
end

Then we are now building a project (File/Open Project).
In Project/Options, we see the following:
Run cmd: pl_all_l1
Build cmd: pl_all_l1.
Now the question is: what should we do to enable
pl_all_l1.sav to accept the commandline arguments?

Also, 'make_rt' converts pl_all_l1.sav to pl_all_l1.exe.
Then what is the syntax for executing pl_all_l1.exe with
the commandline arguments?

(2) our IDL routine 'pl_all_l1' contains a common header
inside it:

pro pl_all_l1, arg1, arg2, arg3
@commonheader.pro
...
end

"commonheader.pro" is a simple declaration of constants:
> ls commonheader.pro
YES= 1
NO = 0

In IDL, pl_all_l1 works fine. But "@commonheader.pro"
causes fatal errors during the project building. How
can we resolve this?

Thanks,

Sab
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: display_name keyword
Next Topic: filtering images in the fourier domain

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

Current Time: Fri Oct 10 14:00:51 PDT 2025

Total time taken to generate the page: 0.08382 seconds