with gdl 0.9.1 on Ubuntu 11.04 I got following error whenever trying to read an image (e.g. with read_png.pro):
magick/semaphore.c:525: LockSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
I think this is due to the fact that we're not calling InitializeMagick function (see also http://www.graphicsmagick.org/Magick++/\). By adding the following line:
as the first line of magick_open (magick_cl.cpp) and rebuilding gdl, I was able to read the png.
Attached the "patched" magick_cl.cpp file (see line 124).
Log in to post a comment.