help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

octave-forge image-1.0.0 on intel mac


From: A. Scottedward Hodel
Subject: octave-forge image-1.0.0 on intel mac
Date: Fri, 13 Apr 2007 13:40:57 -0500

A few notes on experiences installing octave/octave-forge on an intel Mac:

Using the instructions on http://wiki.octave.org/wiki.pl?OctaveForMac I was able to install octave-2.9.10 on an Intel Mac (Macbook Pro).  It was necessary to set the environment variable
export DYLD_LIBRARY_PATH=/usr/local/lib:/sw/lib:/sw/lib/fontconfig2/lib:/sw/lib/freetype219/lib
for the compile, but /sw/lib in the above path causes problems with libJPEG in normal operation; I commented out the above line after installation of Octave.

While trying to compile the image-1.0.0.tar.gz package, I found that it was necessary to install the imagemagick10-dev package in fink to avoid the error

__magick_read__.cc: In function 'unsigned int scaleQuantumToDepth(const MagickLib::Quantum&, unsigned int)':
__magick_read__.cc:10: error: 'QuantumRange' was not declared in this scope
make: *** [__magick_read__.oct] Error 1

If the fink packages include:
eexmac143:~/Desktop/octave/main/image-1.0.0/src hodelas$ fink list | grep imagemagick
i      imagemagick     6.3.2-1002      Image manipulation tools
        imagemagick-dev 6.1.8-1007      Image manipulation tools
        imagemagick-nox 6.3.2-1002      Image manipulation tools
        imagemagick-nox-dev     6.1.8-1007      Image manipulation tools
        imagemagick-nox-shlibs  6.1.8-1007      Image manipulation tools
        imagemagick-nox10-dev   6.3.2-1002      Image manipulation tools
        imagemagick-nox10-shlibs        6.3.2-1002      Image manipulation tools
i      imagemagick-shlibs      6.1.8-1007      Image manipulation tools
i      imagemagick10-dev       6.3.2-1002      Image manipulation tools
i      imagemagick10-shlibs    6.3.2-1002      Image manipulation tools

then the package installs fine.  If the other imagemagick-dev is installed, you will get the error
eexmac143:~/Desktop/octave/main/image-1.0.0/src hodelas$ make
mkoctfile -DHAVE_OCTAVE_29 -v __magick_read__.cc -lMagick++ -lMagick
g++ -c -O -I/sw/include -I/sw/share -I/usr/local/include -I/usr/local//include/octave-2.9.10 -I/usr/local//include/octave-2.9.10/octave -I/usr/local//include -mieee-fp -g -O2 -DHAVE_OCTAVE_29 __magick_read__.cc -o __magick_read__.o
__magick_read__.cc: In function 'unsigned int scaleQuantumToDepth(const MagickLib::Quantum&, unsigned int)':
__magick_read__.cc:10: error: 'QuantumRange' was not declared in this scope
make: *** [__magick_read__.oct] Error 1

I do have image-magick libraries installed:

A. Scottedward Hodel, 334 844-1854, fax 334 844-1809




reply via email to

[Prev in Thread] Current Thread [Next in Thread]