write_png missing on my mac (6.4) [message #55690] |
Wed, 05 September 2007 17:41  |
Brian Larsen
Messages: 270 Registered: June 2006
|
Senior Member |
|
|
IDLers, (I think it didnt go through before, sorry if it did)
I am hoping I just have a configuration error or something of the like
and I hope that someone else also had the problem and then knows how
to fix it.
I have just put 6.4 on my new macbok pro (vroom, vroom) and near as I
can tell write_png is just missing. I assume this is not a .pro file
but I have looked and don't see it. Where have I lost it? Some
setting I forgot on install? Some dynamic lib issue?
IDL Version 6.4, Mac OS X (darwin i386 m32). (c) 2007, ITT Visual
Information Solutions
a few things I have tried
[balarsen@LarsenLaptop]/Applications/itt> find . * | grep write_png
nothing
IDL> write_png
% Attempt to call undefined procedure/function: 'WRITE_PNG'.
% Execution halted at: $MAIN$
Same with good arguments.
Any ideas? Or other routines I should see if I have?
Cheers,
Brian
------------------------------------------------------------ ---------------------
Brian Larsen
Boston University
Center for Space Physics
|
|
|
Re: write_png missing on my mac (6.4) [message #55747 is a reply to message #55690] |
Sat, 08 September 2007 17:22  |
rkombiyil
Messages: 59 Registered: March 2006
|
Member |
|
|
On Sep 7, 11:25 pm, "M. Katz" <MKatz...@yahoo.com> wrote:
> Curiously, on MacOSX with IDL 6.3 I cannot find the write_png.pro file
> I expected to be in .../lib/.
> However, write_png is working fine from the command line.
> So I wonder where it's supposed to be. I did notice that there's a
> /Applications/rsi/idl_6.3/bin/bin.darwin.ppc/idl_png.dlm and a
> similar .so
> Maybe they get their functionality from another means.
> Have you contacted ITT?
> Best,
> M.
Aha, there it is :) The wrapper (write_image) communicates with the
png library, which's been packaged into a dlm, so they can be accessed
from within IDL, like native commands. I suspected this might be the
case, but actually looked only inside the /lib.
|
|
|
Re: write_png missing on my mac (6.4) [message #55755 is a reply to message #55690] |
Fri, 07 September 2007 09:05  |
Brian Larsen
Messages: 270 Registered: June 2006
|
Senior Member |
|
|
OK,
this is fixed with help from Jim P. from itt (thanks a lot). The
issue was a rouge setting of IDL_DLM_PATH in my .cshrc. I removed
that and all is well and fixed.
Brian
------------------------------------------------------------ ---------------------
Brian Larsen
Boston University
Center for Space Physics
|
|
|
Re: write_png missing on my mac (6.4) [message #55757 is a reply to message #55690] |
Fri, 07 September 2007 08:13  |
Maarten[1]
Messages: 176 Registered: November 2005
|
Senior Member |
|
|
Hi,
I would not expect that find command to do much good.
On Sep 6, 12:41 am, Brian Larsen <balar...@gmail.com> wrote:
> a few things I have tried
> [balarsen@LarsenLaptop]/Applications/itt> find . * | grep write_png
> nothing
On Linux I get (our idl is installed in /d/appl/rsi/idl/):
$ find /d/appl/rsi/idl/ -name 'write_*'
/d/appl/rsi/idl/lib/write_jpeg2000.pro
/d/appl/rsi/idl/lib/write_bmp.pro
/d/appl/rsi/idl/lib/write_gif.pro
/d/appl/rsi/idl/lib/write_image.pro
/d/appl/rsi/idl/lib/write_nrif.pro
/d/appl/rsi/idl/lib/write_pict.pro
/d/appl/rsi/idl/lib/write_ppm.pro
/d/appl/rsi/idl/lib/write_spr.pro
/d/appl/rsi/idl/lib/write_srf.pro
/d/appl/rsi/idl/lib/write_sylk.pro
/d/appl/rsi/idl/lib/write_wav.pro
/d/appl/rsi/idl/lib/write_wave.pro
As you can see there is no file write_png.* here either (idl 6.3). On
the other hand, the command is available and works. Contact ITT to get
help, probably a configuration issue.
Best,
Maarten
|
|
|
Re: write_png missing on my mac (6.4) [message #55760 is a reply to message #55690] |
Fri, 07 September 2007 07:25  |
M. Katz
Messages: 69 Registered: May 2005
|
Member |
|
|
Curiously, on MacOSX with IDL 6.3 I cannot find the write_png.pro file
I expected to be in .../lib/.
However, write_png is working fine from the command line.
So I wonder where it's supposed to be. I did notice that there's a
/Applications/rsi/idl_6.3/bin/bin.darwin.ppc/idl_png.dlm and a
similar .so
Maybe they get their functionality from another means.
Have you contacted ITT?
Best,
M.
|
|
|