rhskelto> Here are the results from my latest attempt. I have
rhskelto> broken the configure script to stop looking for Image
rhskelto> Magick and build the Makefiles with Image Magick support.
rhskelto> I then went through and manually adjusted the LIBS and
rhskelto> CFLAG paths in some of the Makefiles such that the search
rhskelto> path listed my local directory first and X11R6 last.
rhskelto> Unfortunately, the result is an error in
rhskelto> ..src/exec/dxmods/_im_image.c function write_im stating
rhskelto> that two few arguments are passed to ReadImage. Note that
rhskelto> in the below snipit, the X11R6 path is removed completely
rhskelto> and I still fail on this function...
rhskelto>
rhskelto> gcc -DHAVE_CONFIG_H -I/home/dougal/aopp/rhskelto/local/include
rhskelto> -L/home/dougal/aopp/rhskelto/lib
rhskelto> -I/home/dougal/aopp/rhskelto/include/ -I. -I.
rhskelto> -I../../../include -I../../../include -I../dpexec -Dlinux
rhskelto> -D_GNU_SOURCE -c _im_image.c
rhskelto>
rhskelto> _im_image.c: In function `write_im':
rhskelto> _im_image.c:211: too few arguments to function `ReadImage'
rhskelto>
rhskelto> I am back to my initial question: Does anyone know if Image
rhskelto> Magick has changed calls in 5.2.4 and 5.2.5? I am trying
rhskelto> to compile opendx 4.1.0 (stable release).
rhskelto>
rhskelto> Randall
rhskelto>
rhskelto>
I had a similar problem with latest stable releases of OpenDX and
ImageMagick. I "edited" the _im_image.c file to the "correct"
arguments:
--- _im_image.c Wed Oct 25 14:59:18 2000
+++ _im_image.c~ Fri Dec 17 16:39:48 1999
@@ -117,8 +117,6 @@
char* miff_filename ;
FILE* miff_fp;
- ExceptionInfo exception;
-
DEBUGMESSAGE("requested extension is ");
/* if basename's .ext recognized as a format, it is removed from
basename and iargs->extension points to it */
if(!iargs->extension)
@@ -210,7 +208,7 @@
(void) strcat(image_info.filename,tmpargs.format);
DEBUGMESSAGE("reading following file");
DEBUGMESSAGE(image_info.filename);
- image=ReadImage(&image_info, &exception);
+ image=ReadImage(&image_info);
DEBUGMESSAGE("back from ReadImage");
if (image == (Image *) NULL) {
DEBUGMESSAGE("oops it was null");
That seemed to make OpenDX work with ImageMagick.
I don't know when ImageMagick changed their calls??
-- Sashi
--
Sashi Kollipara
Department of Radiation Oncology
Harvard Medical School
Massachusetts General Hospital
55 Fruit St. COX 3
Boston, MA 02114
[EMAIL PROTECTED]