Re: [SIP-devel] Trouble Compiling Latest SIP
Advanced image processing toolbox for Scilab on Unix/Linux/Mac OS
Status: Beta
Brought to you by:
ricardofabbri
From: Ricardo F. <ric...@us...> - 2013-09-04 00:52:27
|
Hi, (CC-ing sip development list) I finally got to work a bit on this, I get the same error as you on Mac OSX. For now I all I could think of was to comment out the offending function declaration circa #140 of the file /usr/local/include/ImageMagick-6/magick/exception.h Then compilation proceeds but some other errors are being issued. Let me know how far do you get. Meanwhile I will also try compiling imagemagick from source. Best, -- Dr Ricardo Fabbri Professor of Computer Engineering GNU/Linux registered user #175401 www.lems.brown.edu/~rfabbri pt.wikipedia.org/wiki/IPRJ labmacambira.sf.net On Tue, Aug 20, 2013 at 11:03 PM, Ricardo Fabbri <ric...@us...> wrote: > will do soon. > > -- > Dr Ricardo Fabbri > Professor of Computer Engineering > GNU/Linux registered user #175401 > www.lems.brown.edu/~rfabbri > pt.wikipedia.org/wiki/IPRJ > labmacambira.sf.net > > > On Sun, Aug 18, 2013 at 10:26 PM, Michael Strauss > <mic...@gm...> wrote: >> Dr. Fabbri, >> >> Did you have a chance to look at the compiling error? >> >> Thanks, >> Michael >> >> >> On Mon, Aug 12, 2013 at 5:04 PM, Michael Strauss <mic...@gm...> >> wrote: >>> >>> Dr Fabbri, >>> >>> No problem. I understand being busy! I am not in a rush, so take your >>> time. >>> >>> Michael >>> >>> On Aug 12, 2013 3:52 PM, "Ricardo Fabbri" >>> <ric...@us...> wrote: >>>> >>>> Michael, >>>> >>>> I apologize for the long time to answer you. >>>> >>>> All I can say is that starting on Wednesday i can work on this. >>>> >>>> best, >>>> >>>> -- >>>> Dr Ricardo Fabbri >>>> Professor of Computer Engineering >>>> GNU/Linux registered user #175401 >>>> www.lems.brown.edu/~rfabbri >>>> pt.wikipedia.org/wiki/IPRJ >>>> labmacambira.sf.net >>>> >>>> >>>> On Mon, Aug 5, 2013 at 5:59 PM, Michael Strauss >>>> <mic...@gm...> wrote: >>>> > Dr. Fabbri, >>>> > >>>> > Any progress on this issue? >>>> > >>>> > Thank you, >>>> > Michael >>>> > >>>> > >>>> > On Thu, Aug 1, 2013 at 3:18 PM, Ricardo Fabbri >>>> > <ric...@us...> wrote: >>>> >> >>>> >> I will do so soon. Sorry but its been busy finishing off the semester >>>> >> here. >>>> >> Feel free to bug me again by tomorrow. >>>> >> >>>> >> -- >>>> >> Dr Ricardo Fabbri >>>> >> Professor of Computer Engineering >>>> >> GNU/Linux registered user #175401 >>>> >> www.lems.brown.edu/~rfabbri >>>> >> pt.wikipedia.org/wiki/IPRJ >>>> >> labmacambira.sf.net >>>> >> >>>> >> >>>> >> On Thu, Aug 1, 2013 at 11:48 AM, Michael Strauss >>>> >> <mic...@gm...> wrote: >>>> >> > Dr. Fabbri, >>>> >> > >>>> >> > Did you get a chance to look at this? >>>> >> > >>>> >> > Thanks, >>>> >> > Michael >>>> >> > >>>> >> > >>>> >> > On Sat, Jul 27, 2013 at 7:12 PM, Michael Strauss >>>> >> > <mic...@gm...> >>>> >> > wrote: >>>> >> >> >>>> >> >> Thank you very much! >>>> >> >> >>>> >> >> Best, >>>> >> >> Michael >>>> >> >> >>>> >> >> >>>> >> >> On Sat, Jul 27, 2013 at 5:23 PM, Ricardo Fabbri >>>> >> >> <ric...@us...> wrote: >>>> >> >>> >>>> >> >>> Hi, >>>> >> >>> >>>> >> >>> I'll take a look at it. >>>> >> >>> >>>> >> >>> best, >>>> >> >>> >>>> >> >>> >>>> >> >>> -- >>>> >> >>> Dr Ricardo Fabbri >>>> >> >>> Professor of Computer Engineering >>>> >> >>> GNU/Linux registered user #175401 >>>> >> >>> www.lems.brown.edu/~rfabbri >>>> >> >>> pt.wikipedia.org/wiki/IPRJ >>>> >> >>> labmacambira.sf.net >>>> >> >>> >>>> >> >>> >>>> >> >>> On Sat, Jul 27, 2013 at 6:13 PM, Michael Strauss >>>> >> >>> <mic...@gm...> wrote: >>>> >> >>>> >>>> >> >>>> Dr. Fabbri, >>>> >> >>>> >>>> >> >>>> I am excited to start using SIP, and have been trying to compile >>>> >> >>>> it >>>> >> >>>> on >>>> >> >>>> my latest laptop. I have gotten the latest sources for >>>> >> >>>> ImageMagick >>>> >> >>>> and >>>> >> >>>> OpenCV and installed them. I got your latest Animal and SIP >>>> >> >>>> sources >>>> >> >>>> from git >>>> >> >>>> and had Animal install without an issue (though I had to change >>>> >> >>>> some >>>> >> >>>> lines >>>> >> >>>> in animal/configure.ac to get it to ./autogen.sh without >>>> >> >>>> warnings. I >>>> >> >>>> attached the file for your review. I mainly changed out >>>> >> >>>> AC_LANG_PROJECT to >>>> >> >>>> AC_LANG_SOURCE and put a set of brackets before it and before the >>>> >> >>>> last >>>> >> >>>> parenthesis for each one. >>>> >> >>>> >>>> >> >>>> As for SIP, when I go to make SIP from the git repository I >>>> >> >>>> cloned, I >>>> >> >>>> get the following error: >>>> >> >>>> >>>> >> >>>> Making all in src >>>> >> >>>> make[1]: Entering directory >>>> >> >>>> `/home/mstrauss/Downloads/siptoolbox/src' >>>> >> >>>> make all-am >>>> >> >>>> make[2]: Entering directory >>>> >> >>>> `/home/mstrauss/Downloads/siptoolbox/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 >>>> >> >>>> -DMAGICKCORE_HDRI_ENABLE=0 >>>> >> >>>> -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/local/include/ImageMagick-6 >>>> >> >>>> -fopenmp >>>> >> >>>> -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 >>>> >> >>>> -I/usr/local/include/ImageMagick-6 -I/usr/include/opencv -MT >>>> >> >>>> libsip.lo >>>> >> >>>> -MD -MP -MF .deps/libsip.Tpo -c -o libsip.lo libsip.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 >>>> >> >>>> -DMAGICKCORE_HDRI_ENABLE=0 >>>> >> >>>> -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/local/include/ImageMagick-6 >>>> >> >>>> -fopenmp >>>> >> >>>> -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 >>>> >> >>>> -I/usr/local/include/ImageMagick-6 -I/usr/include/opencv -MT >>>> >> >>>> libsip.lo -MD >>>> >> >>>> -MP -MF .deps/libsip.Tpo -c libsip.c -fPIC -DPIC -o >>>> >> >>>> .libs/libsip.o >>>> >> >>>> In file included from >>>> >> >>>> /usr/local/include/ImageMagick-6/magick/color.h:26:0, >>>> >> >>>> from >>>> >> >>>> /usr/local/include/ImageMagick-6/magick/image.h:25, >>>> >> >>>> from >>>> >> >>>> /usr/local/include/ImageMagick-6/magick/draw.h:26, >>>> >> >>>> from >>>> >> >>>> /usr/local/include/ImageMagick-6/magick/annotate.h:25, >>>> >> >>>> from >>>> >> >>>> /usr/local/include/ImageMagick-6/magick/MagickCore.h:74, >>>> >> >>>> from >>>> >> >>>> /usr/local/include/ImageMagick-6/magick/api.h:28, >>>> >> >>>> from sip_common.h:59, >>>> >> >>>> from libsip.c:1: >>>> >> >>>> /usr/local/include/ImageMagick-6/magick/exception.h:140:4: error: >>>> >> >>>> expected identifier or '(' before 'char' >>>> >> >>>> libsip.c: In function 'direct_gateway': >>>> >> >>>> libsip.c:6:33: warning: unused parameter 'fname' >>>> >> >>>> [-Wunused-parameter] >>>> >> >>>> libsip.c: At top level: >>>> >> >>>> libsip.c:6:12: warning: 'direct_gateway' defined but not used >>>> >> >>>> [-Wunused-function] >>>> >> >>>> make[2]: *** [libsip.lo] Error 1 >>>> >> >>>> make[2]: Leaving directory >>>> >> >>>> `/home/mstrauss/Downloads/siptoolbox/src' >>>> >> >>>> make[1]: *** [all] Error 2 >>>> >> >>>> make[1]: Leaving directory >>>> >> >>>> `/home/mstrauss/Downloads/siptoolbox/src' >>>> >> >>>> make: *** [all-recursive] Error 1 >>>> >> >>>> >>>> >> >>>> >>>> >> >>>> I know you mentioned this on the mailing list as fixed sometime >>>> >> >>>> in >>>> >> >>>> Nov >>>> >> >>>> through the git repository, but it seems to have made it back. >>>> >> >>>> >>>> >> >>>> Thanks, >>>> >> >>>> Michael Strauss >>>> >> >>>> >>>> >> >>> >>>> >> >> >>>> >> > >>>> > >>>> > >> >> -- Dr Ricardo Fabbri Professor of Computer Engineering GNU/Linux registered user #175401 www.lems.brown.edu/~rfabbri pt.wikipedia.org/wiki/IPRJ labmacambira.sf.net On Sat, Jul 27, 2013 at 6:13 PM, Michael Strauss <mic...@gm...> wrote: > Dr. Fabbri, > > I am excited to start using SIP, and have been trying to compile it on my > latest laptop. I have gotten the latest sources for ImageMagick and OpenCV > and installed them. I got your latest Animal and SIP sources from git and > had Animal install without an issue (though I had to change some lines in > animal/configure.ac to get it to ./autogen.sh without warnings. I attached > the file for your review. I mainly changed out AC_LANG_PROJECT to > AC_LANG_SOURCE and put a set of brackets before it and before the last > parenthesis for each one. > > As for SIP, when I go to make SIP from the git repository I cloned, I get > the following error: > > Making all in src > make[1]: Entering directory `/home/mstrauss/Downloads/siptoolbox/src' > make all-am > make[2]: Entering directory `/home/mstrauss/Downloads/siptoolbox/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 -DMAGICKCORE_HDRI_ENABLE=0 > -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/local/include/ImageMagick-6 -fopenmp > -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 > -I/usr/local/include/ImageMagick-6 -I/usr/include/opencv -MT libsip.lo > -MD -MP -MF .deps/libsip.Tpo -c -o libsip.lo libsip.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 -DMAGICKCORE_HDRI_ENABLE=0 > -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/local/include/ImageMagick-6 -fopenmp > -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 > -I/usr/local/include/ImageMagick-6 -I/usr/include/opencv -MT libsip.lo -MD > -MP -MF .deps/libsip.Tpo -c libsip.c -fPIC -DPIC -o .libs/libsip.o > In file included from /usr/local/include/ImageMagick-6/magick/color.h:26:0, > from /usr/local/include/ImageMagick-6/magick/image.h:25, > from /usr/local/include/ImageMagick-6/magick/draw.h:26, > from /usr/local/include/ImageMagick-6/magick/annotate.h:25, > from > /usr/local/include/ImageMagick-6/magick/MagickCore.h:74, > from /usr/local/include/ImageMagick-6/magick/api.h:28, > from sip_common.h:59, > from libsip.c:1: > /usr/local/include/ImageMagick-6/magick/exception.h:140:4: error: expected > identifier or '(' before 'char' > libsip.c: In function 'direct_gateway': > libsip.c:6:33: warning: unused parameter 'fname' [-Wunused-parameter] > libsip.c: At top level: > libsip.c:6:12: warning: 'direct_gateway' defined but not used > [-Wunused-function] > make[2]: *** [libsip.lo] Error 1 > make[2]: Leaving directory `/home/mstrauss/Downloads/siptoolbox/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/mstrauss/Downloads/siptoolbox/src' > make: *** [all-recursive] Error 1 > > > I know you mentioned this on the mailing list as fixed sometime in Nov > through the git repository, but it seems to have made it back. > > Thanks, > Michael Strauss > |