[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot read an image with imread() on Mac (can't configure octave no
From: |
conahorse |
Subject: |
Re: Cannot read an image with imread() on Mac (can't configure octave now) |
Date: |
Mon, 7 Mar 2011 22:57:44 +0100 |
I've downloaded the patch in the first link, applied to GraphicsMagick sources
and then downloaded octave 3.40. but I'm not able to compile it
since it now says that my BLAS libraries are not compatible with the fortran
compiler I have (I installed the binaries of gfortran found here
http://hpc.sourceforge.net/ , before installing it, it was saying that there
was no fortran compiler).
Any clue? If I try to install octave from macports it tries to refetch
graphicsmagick so I guess that is not the way to go.
Il giorno 07/mar/2011, alle ore 17.53, Przemek Klosowski ha scritto:
> On 03/07/2011 09:09 AM, conahorse wrote:
>> Hi, I'm using octave 3.2.4 on a Mac with Snow Leopard. When I try to read an
>> image in the current directory I do something like:
>>
>> I = imread('cell.jpg')
>>
>> but an error occurs:
>>
>> Assertion failed: (semaphore_info != (SemaphoreInfo *) NULL), function
>> LockSemaphoreInfo, file magick/semaphore.c, line 525.
>> panic: Abort trap -- stopping myself...
>
>
> It's the same problem that plagues the Linux (Fedora) versions of Octave:
> ImageMagick requires now an initialization call InitializeMagick(), which
> wasn't done by Octave's interface to IM.
>
> http://savannah.gnu.org/bugs/?29474
> https://bugs.launchpad.net/ubuntu/+source/graphicsmagick/+bug/636021
> https://bugzilla.redhat.com/show_bug.cgi?id=655569
>
> THe distributions need to fix this in the packages, or you can compile your
> own version. I don't have a Mac, but other people on this list can point you
> to the procedure for Snow Leopard.