<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html><body><p>I do not have a /usr/local/include/ImageMagick directory in my C:/scilab folder, but I don't know what's the consequence of this fact.</p>
<p> </p>
<p>Inside the animal directory (located at D:\Software\SciLab\Toolboxes\SIP\animal-0.15.3) I tried:</p>
<p><i>CPPFLAGS="-I/c/ImageMagick" ./configure</i></p>
<p> </p>
<p>Output:</p>
<p><i>configuring AnImaL 0.15.3<br/>checking build system type... i686-pc-mingw32<br/>checking host system type... i686-pc-mingw32<br/>checking for a BSD-compatible install... /bin/install -c<br/>checking whether build environment is sane... yes<br/>checking for gawk... gawk<br/>checking whether make sets $(MAKE)... yes<br/>checking for gcc... gcc<br/>checking for C compiler default output file name... a.exe<br/>checking whether the C compiler works... yes<br/>checking whether we are cross compiling... no<br/>checking for suffix of executables... .exe<br/>checking for suffix of object files... o<br/>checking whether we are using the GNU C compiler... yes<br/>checking whether gcc accepts -g... yes<br/>checking for gcc option to accept ISO C89... none needed<br/>checking for style of include used by make... GNU<br/>checking dependency style of gcc... gcc3<br/>checking for a sed that does not truncate output... /bin/sed<br/>checking for grep that handles long lines and -e... /bin/grep<br/>checking for egrep... /bin/grep -E<br/>checking for ld used by gcc... c:/MinGW/mingw32/bin/ld.exe<br/>checking if the linker (c:/MinGW/mingw32/bin/ld.exe) is GNU ld... yes<br/>checking for c:/MinGW/mingw32/bin/ld.exe option to reload object files... -r<br/>checking for BSD-compatible nm... /mingw/bin/nm<br/>checking whether ln -s works... yes<br/>checking how to recognize dependent libraries... file_magic ^x86 archive import|<br/>^x86 DLL<br/>checking for dlltool... dlltool<br/>checking for as... as<br/>checking for objdump... objdump<br/>checking how to run the C preprocessor... gcc -E<br/>checking for ANSI C header files... yes<br/>checking for sys/types.h... yes<br/>checking for sys/stat.h... yes<br/>checking for stdlib.h... yes<br/>checking for string.h... yes<br/>checking for memory.h... yes<br/>checking for strings.h... yes<br/>checking for inttypes.h... yes<br/>checking for stdint.h... yes<br/>checking for unistd.h... yes<br/>checking dlfcn.h usability... no<br/>checking dlfcn.h presence... no<br/>checking for dlfcn.h... no<br/>checking for g++... g++<br/>checking whether we are using the GNU C++ compiler... yes<br/>checking whether g++ accepts -g... yes<br/>checking dependency style of g++... gcc3<br/>checking how to run the C++ preprocessor... g++ -E<br/>checking for g77... g77<br/>checking whether we are using the GNU Fortran 77 compiler... yes<br/>checking whether g77 accepts -g... yes<br/>checking the maximum length of command line arguments... 8192<br/>checking command to parse /mingw/bin/nm output from gcc object... ok<br/>checking for objdir... .libs<br/>checking for ar... ar<br/>checking for ranlib... ranlib<br/>checking for strip... strip<br/>checking for correct ltmain.sh version... yes<br/>checking if gcc supports -fno-rtti -fno-exceptions... no<br/>checking for gcc option to produce PIC... -DDLL_EXPORT<br/>checking if gcc PIC flag -DDLL_EXPORT works... yes<br/>checking if gcc static flag -static works... yes<br/>checking if gcc supports -c -o file.o... yes<br/>checking whether the gcc linker (c:/MinGW/mingw32/bin/ld.exe) supports shared li<br/>braries... yes<br/>checking whether -lc should be explicitly linked in... yes<br/>checking dynamic linker characteristics... Win32 ld.exe<br/>checking how to hardcode library paths into programs... immediate<br/>checking whether stripping libraries is possible... yes<br/>checking if libtool supports shared libraries... yes<br/>checking whether to build shared libraries... yes<br/>checking whether to build static libraries... yes<br/>configure: creating libtool<br/>appending configuration tag "CXX" to libtool<br/>checking for ld used by g++... c:/MinGW/mingw32/bin/ld.exe<br/>checking if the linker (c:/MinGW/mingw32/bin/ld.exe) is GNU ld... yes<br/>checking whether the g++ linker (c:/MinGW/mingw32/bin/ld.exe) supports shared li<br/>braries... yes<br/>checking for g++ option to produce PIC... -DDLL_EXPORT<br/>checking if g++ PIC flag -DDLL_EXPORT works... yes<br/>checking if g++ static flag -static works... yes<br/>checking if g++ supports -c -o file.o... yes<br/>checking whether the g++ linker (c:/MinGW/mingw32/bin/ld.exe) supports shared li<br/>braries... yes<br/>checking dynamic linker characteristics... Win32 ld.exe<br/>(cached) (cached) checking how to hardcode library paths into programs... immedi<br/>ate<br/>appending configuration tag "F77" to libtool<br/>checking if libtool supports shared libraries... yes<br/>checking whether to build shared libraries... yes<br/>checking whether to build static libraries... yes<br/>checking for g77 option to produce PIC... -DDLL_EXPORT<br/>checking if g77 PIC flag -DDLL_EXPORT works... yes<br/>checking if g77 static flag -static works... yes<br/>checking if g77 supports -c -o file.o... yes<br/>checking whether the g77 linker (c:/MinGW/mingw32/bin/ld.exe) supports shared li<br/>braries... yes<br/>checking dynamic linker characteristics... Win32 ld.exe<br/>(cached) (cached) checking how to hardcode library paths into programs... immedi<br/>ate<br/>checking for sqrt in -lm... yes<br/>checking ImageMagick location... assuming /c/imagemagick<br/>checking for ANSI C header files... (cached) yes<br/>checking for an ANSI C-conforming const... yes<br/>checking for inline... inline<br/>checking for stdbool.h that conforms to C99... yes<br/>checking for _Bool... yes<br/>checking size of char... 0<br/>checking size of short... 0<br/>checking size of int... 0<br/>checking size of long... 0<br/>checking size of long long... 0<br/>checking size of float... 0<br/>checking size of double... 0<br/>checking size of long double... 0<br/>checking for hypot... yes<br/>configure: creating ./config.status<br/>config.status: creating Makefile<br/>config.status: creating animal/Makefile<br/>config.status: creating src/Makefile<br/>config.status: creating config/Makefile<br/>config.status: creating config/animal.pc<br/>config.status: creating config/animal-config<br/>config.status: creating animal/config.h<br/>config.status: animal/config.h is unchanged<br/>config.status: executing animal/animal-config.h commands<br/>config.status: creating animal/animal-config.h - prefix ANIMAL for animal/config<br/>.h defines<br/>config.status: animal/animal-config.h is unchanged<br/>config.status: executing depfiles commands</i></p>
<p><i>Final Compilation Flags:<br/>  CC       = gcc<br/>  CFLAGS   = -g -O2 -W -Wall -Wno-implicit-int<br/>  CPPFLAGS = -I/c/ImageMagick -D_DLL -W -Wall -I/c/imagemagick/include<br/>  LDFLAGS  =  -L/c/imagemagick<br/>  LIBS     = -lm  -lCORE_RL_magick_</i></p>
<p> </p>
<p>Please find the config.log attached.</p>
<p> </p>
<p>Thanks for your help!</p>
<p> </p>
<p>Peter<br/></p>
<p><br/>Op 16-10-2009 om 14:52, schreef Ricardo Fabbri <ricardofabbri@users.sourceforge.net>:<br/></p>
<blockquote>Ok, so that's what's wrong.<br/><br/>You don't have a /usr/local/include/ImageMagick directory, right?<br/><br/>try this inside Animal:<br/><br/>CPPFLAGS="-I/c/ImageMagick" ./configure<br/><br/>Please send me the output of this, as well as your config.log file.<br/><br/>Ricardo<br/><br/><br/><br/>On Fri, Oct 16, 2009 at 12:33 AM, Peter Eshuis<br/><p.g.eshuis@alumnus.utwente.nl> wrote:<br/>
<blockquote>Hi Ricardo,<br/><br/><br/><br/>Thanks for the swift response!<br/><br/><br/><br/>I tried all 3 lines in MinGW and the following result was printed in all<br/>cases:<br/><br/>"-I/usr/local/include/ImageMagick -D_DLL -D_MT"<br/><br/><br/><br/>Is this OK? And what's the next step?<br/><br/><br/><br/>Thanks for your help.<br/><br/><br/><br/>Best regards,<br/><br/><br/><br/>Peter<br/><br/><br/><br/>Op 16-10-2009 om 01:09, schreef Ricardo Fabbri<br/><ricardofabbri@users.sourceforge.net>:<br/><br/>Hi,<br/><br/>can you run<br/><br/>Magick-config --cppflags<br/><br/>or<br/><br/>MagickWand-config --cppflags<br/><br/>or<br/><br/>MagickCore-config --cppflags<br/><br/>?<br/><br/>Ricardo<br/><br/><br/><br/>On Thu, Oct 15, 2009 at 5:47 AM, Peter Eshuis<br/><p.g.eshuis@alumnus.utwente.nl> wrote:<br/><br/>Dear Scilab Group,<br/><br/><br/><br/>I really appreciate Scilab very much and I think it is very powerful, but<br/>right now I'm experiencing problems installing the Scilab Image Processing<br/>(SIP) Toolbox on my Windows XP machine using MinGW.<br/><br/><br/><br/>I've tried several options, but they've all failed. It could have to do with<br/>the fact that I have almost no experience with UNIX, so MinGW is new for me.<br/>A friend who does have UNIX experience tried it as well, but without<br/>success.<br/><br/><br/><br/>To give you an idea what I've tried I give you a summary of my current<br/>installation following all the README's and INSTALL's:<br/><br/><br/><br/>Install SciLab:<br/><br/>-scilab-5.1.1.exe<br/><br/>-Install in "C:\scilab\"<br/><br/>-Choose "Full installation"<br/><br/><br/><br/>Install MKL (Math Kernel Library):<br/><br/>-MKL-for-scilab-5.1.1.exe<br/><br/>-Install in "C:\scilab\bin\"<br/><br/><br/><br/>Install FFTW Library (Fast Fourier Transform):<br/><br/>-FFTW-for-scilab-5.1.1.exe<br/><br/>-Install in "C:\scilab\bin\fftw\"<br/><br/><br/><br/>Install MinGW:<br/><br/>-MinGW-5.1.6.exe<br/><br/>-Choose "Full" installation<br/><br/>-Install in "C:\MinGW"<br/><br/>-Copy paste the folders of MinGW ImageMagick Delegates in "C:\MinGW"<br/><br/><br/><br/>Install MSYS:<br/><br/>-MSYS-1.0.11.exe<br/><br/>-Install in "C:\msys\1.0"<br/><br/>-msysDTK-1.0.1.exe in "C:\msys\1.0"<br/><br/>NOT PERFORMED: -Set the environment variable HOME to C:\msys\1.0\home (DON'T<br/>KNOW HOW)<br/><br/><br/><br/>Install ImageMagick-6.5.6-9 for Windows:<br/><br/>-Open Configure.sln --> Build Solution<br/><br/>-run configure.exe<br/><br/>-Choose "multi-threaded static build"<br/><br/>-Open VisualStaticMT.sln --> Build Solution<br/><br/>-Test on commandline in bin-folder: convert logo: image.jpg OK<br/><br/><br/><br/>Install AnImaL (An Imaging Library) version 0.15.3:<br/><br/>-./configure<br/><br/>-make --include-dir=/c/ImageMagick/magick (with and without include-dir does<br/>not make a difference, same errors are thrown)<br/><br/>img.c:30:59: magick/api.h: No such file or directory<br/><br/>Numerous errors and warnings are triggered regarding imagemagick... and in<br/>the end Error 1 is thrown<br/><br/>--> So somehow the api.h file is not found, allthough it is present in<br/>C:\ImageMagick\magick\<br/><br/>--> The AnImaL directory is currently located on D:\, so should I move it<br/>inside some folder of ImageMagick?<br/><br/>NOT PERFORMED: -make install (BECAUSE "make" WAS NOT COMPLETED SUCCESSFULLY)<br/><br/><br/><br/>Do you have any suggestions to help me install AnImaL and in the end SIP? Or<br/>when you have instructions to use a different compiler that would also be<br/>very welcom. Thanks!<br/><br/><br/><br/>Best regards,<br/><br/><br/><br/>Peter<br/><br/><br/><br/><br/></blockquote></blockquote><br/></body></html>