Hi I have built and installed ImageMagick under MinGW, but when I try to
load an svg file it complains with the following message:
ImageMagick: `%s': %s "wmf2eps" -o
"C:/DOCUME~1/Stuartb.CAT/LOCALS~1/Temp/magick-rjTeehG5"
"C:/DOCUME~1/Stuartb.CAT/LOCALS~1/Temp/magick-xaT6He5C".
Caught error ImageMagick: unable to open file
`C:/DOCUME~1/Stuartb.CAT/LOCALS~1/Temp/magick-olYG5fTI': No such file or
directory
Does anyone have any idea what could be causing this? I have attached
the code and configure output
Thanks
Stuart
The code is very simple:
>>>>>>>>>>
// Standard header files
...
using namespace Magick;
//----------------------------------------------------------------------//
int main(int argc,char** argv)
{
Image svg_image;
try {
svg_image.read("tmp.svg");
}
catch (Error& e) {
printf("Caught error %s\n",e.what());
}
return 0;
}
>>>>>>>>>>
And the printout from the configure for ImageMagick:
>>>>>>>>>>
ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.
Host system type: i686-pc-mingw32
Build system type: i686-pc-mingw32
Option Value
-------------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=yes yes
GNU ld --with-gnu-ld=yes yes
Quantum depth --with-quantum-depth=16 16
High Dynamic Range Imagery
--enable-hdri=no no
Delegate Configuration:
BZLIB --with-bzlib=yes no
Autotrace --with-autotrace=no no
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=yes yes
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gswin32c (unknown)
result_ghostscript_font_dir='none'
Ghostscript fonts --with-gs-font-dir=default
Ghostscript lib --with-gslib=yes no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=yes no
LQR --with-lqr=yes no
Magick++ --with-magick-plus-plus=yes yes
OpenEXR --with-openexr=yes no
PERL --with-perl=yes /bin/perl
PNG --with-png=yes yes
RSVG --with-rsvg=yes yes
TIFF --with-tiff=yes yes
result_windows_font_dir='none'
Windows fonts --with-windows-font-dir=
WMF --with-wmf=yes no
X11 --with-x= no
XML --with-xml=no no
ZLIB --with-zlib=yes yes
X11 Configuration:
X_CFLAGS =
X_PRE_LIBS =
X_LIBS =
X_EXTRA_LIBS =
Options used to compile and link:
PREFIX = /usr/local
EXEC-PREFIX = /usr/local
VERSION = 6.4.3
CC = gcc -std=gnu99
CFLAGS = -g -O2 -Wall -W
MAGICK_CFLAGS = -g -O2 -Wall -W
CPPFLAGS = -I/usr/local/include/ImageMagick -D_DLL -D_MT
PCFLAGS = -D_DLL -D_MT
DEFS = -DHAVE_CONFIG_H
LDFLAGS = -L/usr/local/lib -lfreetype
MAGICK_LDFLAGS = -L/usr/local/lib -L/usr/local/lib -lfreetype
LIBS = -lMagickCore -ltiff -lfreetype -ljpeg
-LC:/msys/1.0/lib -lfontconfig -lz -lgdi32 -lm
CXX = g++
CXXFLAGS = -g -O2 -Wall -W
>>>>>>>>>>
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users