Re: Catalyst on Macs? [message #64553 is a reply to message #64552] |
Tue, 06 January 2009 07:36  |
bill.dman
Messages: 17 Registered: June 2007
|
Junior Member |
|
|
On Jan 6, 10:09 am, David Fanning <n...@dfanning.com> wrote:
> Folks,
>
> Any Mac users downloading the Catalyst Library? I've had
> a report today that the sample program, Catalyst, is
> failing to open the DICOM file supplied with IDL.
> Could someone with a Mac and the Coyote Library installed
> run these commands for me and report the results, please.
> I am interested in IDL 7.0.4, if possible.
>
> IDL> knee = LoadData(24)
> IDL> TVImage, knee
Hi David,
IDL Version 7.0.4, Mac OS X (darwin x86_64 m64). (c) 2008, ITT Visual
Information Solutions
IDL> knee=LoadData(24)
IDL> help, knee
KNEE LONG = 0
IDL Version 7.0.4, Mac OS X (darwin i386 m32). (c) 2008, ITT Visual
Information Solutions
IDL> knee=LoadData(24)
IDL> help, knee
KNEE INT = Array[256, 256]
With 7.0.4, the default memory model switched to 64 bits on the Mac.
Unfortunately,
the IDLffDICOM object is not available in 64-bit mode. Your demo works
ok in 32-bit
mode (start with idl -32). The quickest fix might be to use the
GDLffDICOM object
(http://barnett.id.au/idl/Projects.html) all the time. I may try to
wrap GDLffDICOM
in a DLM so I can use IDLffDICOM in 32-bit mode and have the same code
still work (although a bit
slower, perhaps) in 64-bit mode.
Hope this helps,
Bill Dieckmann
|
|
|