Scilab Image Processing (SIP)
Advanced image processing toolbox for Scilab on Unix/Linux/Mac OS
Status: Beta
Brought to you by:
ricardofabbri
Warning: Could not find Java package '/usr/share/java/saxon.jar'.
Some problems during the loading of the Java libraries occurred.
This could lead to inconsistent behaviours.
Please check SCI/etc/classpath.xml.
Scilab version is 5
configure: error: Cannot locate the include files from Scilab. Please report this.
That was on Fedora. On Debian 7.2 it stopped requiring the animal installation. After this I tried to install animal and the installation stopped with this error:
./configure: line 4075: AC_LIBTOOL_WIN32_DLL: command not found
./configure: line 4076: AC_PROG_LIBTOOL: command not found
./configure: line 4080: ./libtool: No such file or directory
./configure: line 4086: ./libtool: No such file or directory
checking for sqrt in -lm... yes
checking for Magick-config... no
checking for ImageMagick - version >= 5.4.2... no
The $ac_path_lib_imagemagick_config script installed by ImageMagick could not be found.
If ImageMagick was installed in PREFIX, make sure PREFIX/bin is in
your path, or set the IMAGEMAGICK_CONFIG environment variable to the
full path to $ac_path_lib_imagemagick_config.
configure: error: ImageMagick version >= 5.4.2 was not found.
I have installed animal 0-15.5, imagemagick 6.8.9.0 and i want to installl sip 0.5.6. while make i got following error. can anyone help me/
Configuration:
CC = gcc
CFLAGS = -g -O2 -W -Wall -Wno-implicit-int -I/usr/local/include -fopenmp -I/usr/include/ImageMagick -fopenmp -I/usr/include/ImageMagick
CPPFLAGS = -I/usr/include/scilab/routines/ -I/usr/include/scilab/core/ -I/usr/include/scilab/mexlib/ -I/usr/include/scilab/
LDFLAGS =
LIBS = -L/usr/local/lib -lMagickWand-6.Q16 -lMagickCore-6.Q16 -L/usr/local/lib -lMagickWand-6.Q16 -lMagickCore-6.Q16 -L/usr/local/lib -lMagickCore -lMagickCore -lanimal -lMagickCore -lMagickCore -lm
=====================================================
This toolbox will be installed in /usr/share/scilab//contrib/sip-0.5.6
Please run 'make' and 'make install' to compile and install the toolbox.
mtech@vlsi132:~/scilab_supp/sip-0.5.6$ make
Making all in src
make[1]: Entering directory
/home/mtech/scilab_supp/sip-0.5.6/src' make all-am make[2]: Entering directory
/home/mtech/scilab_supp/sip-0.5.6/src'/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/scilab/routines/ -I/usr/include/scilab/core/ -I/usr/include/scilab/mexlib/ -I/usr/include/scilab/ -g -O2 -W -Wall -Wno-implicit-int -I/usr/local/include -fopenmp -I/usr/include/ImageMagick -fopenmp -I/usr/include/ImageMagick -MT imwrite.lo -MD -MP -MF .deps/imwrite.Tpo -c -o imwrite.lo imwrite.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/scilab/routines/ -I/usr/include/scilab/core/ -I/usr/include/scilab/mexlib/ -I/usr/include/scilab/ -g -O2 -W -Wall -Wno-implicit-int -I/usr/local/include -fopenmp -I/usr/include/ImageMagick -fopenmp -I/usr/include/ImageMagick -MT imwrite.lo -MD -MP -MF .deps/imwrite.Tpo -c imwrite.c -fPIC -DPIC -o .libs/imwrite.o
imwrite.c: In function ‘int_imwrite’:
imwrite.c:47:10: warning: initialization makes integer from pointer without a cast [enabled by default]
{-1,"depth","d",0,0,0},
^
imwrite.c:47:10: warning: (near initialization for ‘opts[0].iType’) [enabled by default]
imwrite.c:48:10: warning: initialization makes integer from pointer without a cast [enabled by default]
{-1,"quality","d",0,0,0},
^
imwrite.c:48:10: warning: (near initialization for ‘opts[1].iType’) [enabled by default]
imwrite.c:49:6: warning: initialization makes integer from pointer without a cast [enabled by default]
{-1,NULL,NULL,0,0,0}
^
imwrite.c:49:6: warning: (near initialization for ‘opts[2].iType’) [enabled by default]
imwrite.c:73:16: error: ‘rhs_opts’ has no member named ‘position’
if ( opts[0].position == -1 ) {
^
imwrite.c:74:23: error: ‘rhs_opts’ has no member named ‘position’
iopos++; opts[0].position = iopos;
^
imwrite.c:75:14: error: ‘rhs_opts’ has no member named ‘m’
opts[0].m = opts[0].n = 1; opts[0].type = "d";
^
imwrite.c:75:26: error: ‘rhs_opts’ has no member named ‘n’
opts[0].m = opts[0].n = 1; opts[0].type = "d";
^
imwrite.c:75:41: error: ‘rhs_opts’ has no member named ‘type’
opts[0].m = opts[0].n = 1; opts[0].type = "d";
^
In file included from sip_common.h:54:0,
from imwrite.c:26:
imwrite.c:76:24: error: ‘rhs_opts’ has no member named ‘position’
CreateVar(opts[0].position,opts[0].type,&opts[0].m,&opts[0].n,&opts[0].l);
^
/usr/include/scilab/stack-c.h:174:63: note: in definition of macro ‘CreateVar’
#define CreateVar(n,ct,mx,nx,lx) if(! C2F(createvar)((c_local=n,&c_local),ct,mx,nx,(int )lx, 1L))\ ^
/usr/include/scilab/stack-c.h:174:64: warning: left-hand operand of comma expression has no effect [-Wunused-value]
#define CreateVar(n,ct,mx,nx,lx) if(! C2F(createvar)((c_local=n,&c_local),ct,mx,nx,(int )lx, 1L))\ ^
imwrite.c:76:7: note: in expansion of macro ‘CreateVar’
CreateVar(opts[0].position,opts[0].type,&opts[0].m,&opts[0].n,&opts[0].l);
^
imwrite.c:76:41: error: ‘rhs_opts’ has no member named ‘type’
CreateVar(opts[0].position,opts[0].type,&opts[0].m,&opts[0].n,&opts[0].l);
^
/usr/include/scilab/stack-c.h:174:75: note: in definition of macro ‘CreateVar’
#define CreateVar(n,ct,mx,nx,lx) if(! C2F(createvar)((c_local=n,&c_local),ct,mx,nx,(int )lx, 1L))\ ^
imwrite.c:76:55: error: ‘rhs_opts’ has no member named ‘m’
CreateVar(opts[0].position,opts[0].type,&opts[0].m,&opts[0].n,&opts[0].l);
^
/usr/include/scilab/stack-c.h:174:78: note: in definition of macro ‘CreateVar’
#define CreateVar(n,ct,mx,nx,lx) if(! C2F(createvar)((c_local=n,&c_local),ct,mx,nx,(int )lx, 1L))\ ^
imwrite.c:76:66: error: ‘rhs_opts’ has no member named ‘n’
CreateVar(opts[0].position,opts[0].type,&opts[0].m,&opts[0].n,&opts[0].l);
^
/usr/include/scilab/stack-c.h:174:81: note: in definition of macro ‘CreateVar’
#define CreateVar(n,ct,mx,nx,lx) if(! C2F(createvar)((c_local=n,&c_local),ct,mx,nx,(int )lx, 1L))\ ^
imwrite.c:76:77: error: ‘rhs_opts’ has no member named ‘l’
CreateVar(opts[0].position,opts[0].type,&opts[0].m,&opts[0].n,&opts[0].l);
^
/usr/include/scilab/stack-c.h:174:91: note: in definition of macro ‘CreateVar’
#define CreateVar(n,ct,mx,nx,lx) if(! C2F(createvar)((c_local=n,&c_local),ct,mx,nx,(int )lx, 1L))\ ^
In file included from sip_common.h:54:0,
from imwrite.c:26:
imwrite.c:77:19: error: ‘rhs_opts’ has no member named ‘l’
stk(opts[0].l) = QuantumDepth;
^
/usr/include/scilab/stack-c.h:123:36: note: in definition of macro ‘stk’
#define stk(x) ( C2F(stack).Stk + x-1 )
^
imwrite.c:78:28: error: ‘rhs_opts’ has no member named ‘l’
} else if ( stk(opts[0].l) != 8) {
^
/usr/include/scilab/stack-c.h:123:36: note: in definition of macro ‘stk’
#define stk(x) ( C2F(stack).Stk + x-1 )
^
imwrite.c:79:24: error: ‘rhs_opts’ has no member named ‘l’
if (stk(opts[0].l) == 16 && QuantumDepth < 16)
^
/usr/include/scilab/stack-c.h:123:36: note: in definition of macro ‘stk’
#define stk(x) ( C2F(stack).Stk + x-1 )
^
imwrite.c:80:10: warning: implicit declaration of function ‘Scierror’ [-Wimplicit-function-declaration]
sip_error("depth cannot be 16 in your current setup")
^
In file included from sip_common.h:54:0,
from imwrite.c:26:
imwrite.c:81:28: error: ‘rhs_opts’ has no member named ‘l’
else if (stk(opts[0].l) != 16)
^
/usr/include/scilab/stack-c.h:123:36: note: in definition of macro ‘stk’
#define stk(x) ( C2F(stack).Stk + x-1 )
^
imwrite.c:84:16: error: ‘rhs_opts’ has no member named ‘position’
if ( opts[1].position == -1 ) {
^
imwrite.c:85:23: error: ‘rhs_opts’ has no member named ‘position’
iopos++; opts[1].position = iopos;
^
imwrite.c:86:14: error: ‘rhs_opts’ has no member named ‘m’
opts[1].m = opts[1].n = 1; opts[1].type = "d";
^
imwrite.c:86:26: error: ‘rhs_opts’ has no member named ‘n’
opts[1].m = opts[1].n = 1; opts[1].type = "d";
^
imwrite.c:86:41: error: ‘rhs_opts’ has no member named ‘type’
opts[1].m = opts[1].n = 1; opts[1].type = "d";
^
In file included from sip_common.h:54:0,
from imwrite.c:26:
imwrite.c:87:24: error: ‘rhs_opts’ has no member named ‘position’
CreateVar(opts[1].position,opts[1].type,&opts[1].m,&opts[1].n,&opts[1].l);
^
/usr/include/scilab/stack-c.h:174:63: note: in definition of macro ‘CreateVar’
#define CreateVar(n,ct,mx,nx,lx) if(! C2F(createvar)((c_local=n,&c_local),ct,mx,nx,(int )lx, 1L))\ ^
/usr/include/scilab/stack-c.h:174:64: warning: left-hand operand of comma expression has no effect [-Wunused-value]
#define CreateVar(n,ct,mx,nx,lx) if(! C2F(createvar)((c_local=n,&c_local),ct,mx,nx,(int )lx, 1L))\ ^
imwrite.c:87:7: note: in expansion of macro ‘CreateVar’
CreateVar(opts[1].position,opts[1].type,&opts[1].m,&opts[1].n,&opts[1].l);
^
imwrite.c:87:41: error: ‘rhs_opts’ has no member named ‘type’
CreateVar(opts[1].position,opts[1].type,&opts[1].m,&opts[1].n,&opts[1].l);
^
/usr/include/scilab/stack-c.h:174:75: note: in definition of macro ‘CreateVar’
#define CreateVar(n,ct,mx,nx,lx) if(! C2F(createvar)((c_local=n,&c_local),ct,mx,nx,(int )lx, 1L))\ ^
imwrite.c:87:55: error: ‘rhs_opts’ has no member named ‘m’
CreateVar(opts[1].position,opts[1].type,&opts[1].m,&opts[1].n,&opts[1].l);
^
/usr/include/scilab/stack-c.h:174:78: note: in definition of macro ‘CreateVar’
#define CreateVar(n,ct,mx,nx,lx) if(! C2F(createvar)((c_local=n,&c_local),ct,mx,nx,(int )lx, 1L))\ ^
imwrite.c:87:66: error: ‘rhs_opts’ has no member named ‘n’
CreateVar(opts[1].position,opts[1].type,&opts[1].m,&opts[1].n,&opts[1].l);
^
/usr/include/scilab/stack-c.h:174:81: note: in definition of macro ‘CreateVar’
#define CreateVar(n,ct,mx,nx,lx) if(! C2F(createvar)((c_local=n,&c_local),ct,mx,nx,(int )lx, 1L))\ ^
imwrite.c:87:77: error: ‘rhs_opts’ has no member named ‘l’
CreateVar(opts[1].position,opts[1].type,&opts[1].m,&opts[1].n,&opts[1].l);
^
/usr/include/scilab/stack-c.h:174:91: note: in definition of macro ‘CreateVar’
#define CreateVar(n,ct,mx,nx,lx) if(! C2F(createvar)((c_local=n,&c_local),ct,mx,nx,(int )lx, 1L))\ ^
In file included from sip_common.h:54:0,
from imwrite.c:26:
imwrite.c:88:19: error: ‘rhs_opts’ has no member named ‘l’
stk(opts[1].l)=75.0; / Default quality/compression for jpeg/png/miff /
^
/usr/include/scilab/stack-c.h:123:36: note: in definition of macro ‘stk’
#define stk(x) ( C2F(stack).Stk + x-1 )
^
imwrite.c:89:28: error: ‘rhs_opts’ has no member named ‘l’
} else if ( stk(opts[1].l) < 0 || stk(opts[1].l) > 100)
^
/usr/include/scilab/stack-c.h:123:36: note: in definition of macro ‘stk’
#define stk(x) ( C2F(stack).Stk + x-1 )
^
imwrite.c:89:51: error: ‘rhs_opts’ has no member named ‘l’
} else if ( stk(opts[1].l) < 0 || stk(opts[1].l) > 100)
^
/usr/include/scilab/stack-c.h:123:36: note: in definition of macro ‘stk’
#define stk(x) ( C2F(stack).Stk + x-1 )
^
imwrite.c:95:4: warning: ‘InitializeMagick’ is deprecated (declared at /usr/include/ImageMagick/magick/deprecate.h:323) [-Wdeprecated-declarations]
InitializeMagick(NULL);
^
In file included from sip_common.h:54:0,
from imwrite.c:26:
imwrite.c:103:51: error: ‘rhs_opts’ has no member named ‘l’
image_info->depth= (unsigned long) stk(opts[0].l);
^
/usr/include/scilab/stack-c.h:123:36: note: in definition of macro ‘stk’
#define stk(x) ( C2F(stack).Stk + x-1 )
^
imwrite.c:104:53: error: ‘rhs_opts’ has no member named ‘l’
image_info->quality= (unsigned long) *stk(opts[1].l);
^
/usr/include/scilab/stack-c.h:123:36: note: in definition of macro ‘stk’
#define stk(x) ( C2F(stack).Stk + x-1 )
^
imwrite.c:105:4: warning: ‘AllocateImage’ is deprecated (declared at /usr/include/ImageMagick/magick/deprecate.h:122) [-Wdeprecated-declarations]
image=AllocateImage(image_info);
^
imwrite.c:137:7: warning: implicit declaration of function ‘sciprint’ [-Wimplicit-function-declaration]
SIP_MAGICK_ERROR;
^
imwrite.c:142:4: warning: ‘DestroyMagick’ is deprecated (declared at /usr/include/ImageMagick/magick/deprecate.h:308) [-Wdeprecated-declarations]
DestroyMagick();
^
make[2]: [imwrite.lo] Error 1
make[2]: Leaving directory
/home/mtech/scilab_supp/sip-0.5.6/src' make[1]: *** [all] Error 2 make[1]: Leaving directory
/home/mtech/scilab_supp/sip-0.5.6/src'make: [all-recursive] Error 1