help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fixing imread() on Macs with an oct-file?


From: Richard KIrk
Subject: Fixing imread() on Macs with an oct-file?
Date: Fri, 28 Jun 2013 01:24:00 -0700 (PDT)

Hi.

The imread() call on the Macports download of Octave has been broken for
years. It is missing a call to InitializeMagic().

One can fix this by building Octave from scratch, but I have done this once
and I know how hard it can be. I do not do enough work on the Mac to justify
doing a huge effort, so I have a workaround. However, it would be neater if
I could share my stuff with other people who use Macs with use the Macports
binary.

It struck me last night that I could stick the missing InitializeMagic()
call into a .oct file. This isn't a great solution but you only need to run
it once, and you could stick it into your octave startup sequence. So, I
wrote an InitializeMagick.cpp file containing the missing call. I have tried
linking in the Magick++ library using the mkoctfile -l option, but so far no
luck.

Is this capable of working? As it's Friday, is anyone bored enough to have a
go?

Cheers.
Richard




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Fixing-imread-on-Macs-with-an-oct-file-tp4654957.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]