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

Home » Public Forums » archive » Re: Cant find functions in lib
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Cant find functions in lib [message #24528] Thu, 05 April 2001 07:49 Go to previous message
Paul van Delst is currently offline  Paul van Delst
Messages: 364
Registered: March 1997
Senior Member
Dominik wrote:
>
> Helle there,
>
> I am using IDL for imaging in Nuklear Medicine. We wrote a big library
> (NukMed.pro) with some functions and dont wont to compile it each time. So
> we thought to put it in the lib directory of IDL, where IDL itself puts all
> its *.pro.
> But when we try to use it, IDL doesnt find the functions we used the whole
> time. Do I have to precompile it or to sign up in a special list for all
> *.pro files?

My solution to this is not to create a library *file* (like NukMed.pro) with all the
goodies but a library *directory* (like ~/pvandelst/idl/NukMed) which contains all the
_separate_ files. The directory, which is beneath the idl directory, is then automagically
added to my IDL_PATH environment variable because I do a: export
IDL_PATH=$IDL_PATH:+\${HOME}/idl

Anything below ${HOME}/idl is tacked on the end of the path.

paulv

--
Paul van Delst A little learning is a dangerous thing;
CIMSS @ NOAA/NCEP Drink deep, or taste not the Pierian spring;
Ph: (301)763-8000 x7274 There shallow draughts intoxicate the brain,
Fax:(301)763-8545 And drinking largely sobers us again.
paul.vandelst@noaa.gov Alexander Pope.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Was: Index... Now: Vectorize, huh?
Next Topic: why is using objects so much slower ?

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

Current Time: Wed Oct 08 11:29:16 PDT 2025

Total time taken to generate the page: 0.00461 seconds