help-octave
[Top][All Lists]
Advanced

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

Image package


From: Robert Fong-tom
Subject: Image package
Date: Tue, 2 Dec 2008 10:36:34 -0500

I have been trying to get get Octave with the latest versions of of the packages miscellaneous, time, financial, io and image. I first tried porting these from MacPorts, but the versions on these packages at MacPorts is behind the current rev at SourctForge.net and do not contain some of the function I need. Therefore, I removed the MacPorts installation of Octave and the packages.

Right now I have installed Octave from the binary at SourceForge.net and all the package I need except Image. Image requires ImageMagick. So I used MacPorts to port ImageMagick and then tried to install the Image package from octave.sourceforge.net, but got the errors shown below. Does anyone know what is going on?
Bob

__magick_read__.cc:2:22: error: Magick++.h: No such file or directory
__magick_read__.cc:5: error: expected namespace-name before ';' token
__magick_read__.cc:5: error: '<type error>' is not a namespace
__magick_read__.cc:7: error: expected ',' or '...' before '&' token
__magick_read__.cc:7: error: ISO C++ forbids declaration of 'Quantum' with no type
__magick_read__.cc: In function 'unsigned int scaleQuantumToDepth(int)':
__magick_read__.cc:9: error: '_quantum' was not declared in this scope
__magick_read__.cc:10: error: 'QuantumRange' was not declared in this scope
__magick_read__.cc:10: error: 'depth' was not declared in this scope
__magick_read__.cc: At global scope:
__magick_read__.cc:13: error: 'Image' was not declared in this scope
__magick_read__.cc:13: error: template argument 1 is invalid
__magick_read__.cc:13: error: template argument 2 is invalid
__magick_read__.cc: In function 'octave_value_list read_indexed_images (int, Array<octave_idx_type>, bool)': __magick_read__.cc:16: error: invalid types 'int[int]' for array subscript __magick_read__.cc:17: error: invalid types 'int[int]' for array subscript
__magick_read__.cc:19: error: 'ImageType' was not declared in this scope
__magick_read__.cc:19: error: expected `;' before 'type'
__magick_read__.cc:21: error: invalid types 'int[int]' for array subscript
__magick_read__.cc:31: error: expected initializer before '*' token
__magick_read__.cc:40: error: invalid types 'int[int]' for array subscript
__magick_read__.cc:41: error: 'pix' was not declared in this scope
__magick_read__.cc:41: error: invalid types 'int[int]' for array subscript __magick_read__.cc:57: error: invalid types 'int[int]' for array subscript
__magick_read__.cc:58: error: 'pix' was not declared in this scope
__magick_read__.cc:58: error: invalid types 'int[int]' for array subscript
__magick_read__.cc:75: error: 'ColorRGB' was not declared in this scope
__magick_read__.cc:75: error: expected `;' before 'c'
__magick_read__.cc:78: error: 'type' was not declared in this scope
__magick_read__.cc:79: error: 'PaletteMatteType' was not declared in this scope __magick_read__.cc:92: error: 'PaletteType' was not declared in this scope
__magick_read__.cc:95: error: 'c' was not declared in this scope
__magick_read__.cc:95: error: invalid types 'int[int]' for array subscript
__magick_read__.cc: At global scope:
__magick_read__.cc:114: error: 'Image' was not declared in this scope
__magick_read__.cc:114: error: template argument 1 is invalid
__magick_read__.cc:114: error: template argument 2 is invalid
__magick_read__.cc: In function 'octave_value_list read_images(int, Array<octave_idx_type>, unsigned int)': __magick_read__.cc:119: error: invalid types 'int[int]' for array subscript __magick_read__.cc:120: error: invalid types 'int[int]' for array subscript __magick_read__.cc:122: error: 'ImageType' was not declared in this scope
__magick_read__.cc:122: error: expected `;' before 'type'
__magick_read__.cc:124: error: expected initializer before '*' token
__magick_read__.cc:132: error: 'type' was not declared in this scope
__magick_read__.cc:133: error: 'BilevelType' was not declared in this scope __magick_read__.cc:135: error: 'GrayscaleType' was not declared in this scope
__magick_read__.cc:138: error: 'pix' was not declared in this scope
__magick_read__.cc:138: error: invalid types 'int[int]' for array subscript __magick_read__.cc:147: error: 'GrayscaleMatteType' was not declared in this scope
__magick_read__.cc:153: error: 'pix' was not declared in this scope
__magick_read__.cc:153: error: invalid types 'int[int]' for array subscript __magick_read__.cc:167: error: 'PaletteType' was not declared in this scope __magick_read__.cc:168: error: 'TrueColorType' was not declared in this scope
__magick_read__.cc:174: error: 'pix' was not declared in this scope
__magick_read__.cc:174: error: invalid types 'int[int]' for array subscript __magick_read__.cc:190: error: 'PaletteMatteType' was not declared in this scope __magick_read__.cc:191: error: 'TrueColorMatteType' was not declared in this scope __magick_read__.cc:192: error: 'ColorSeparationType' was not declared in this scope
__magick_read__.cc:198: error: 'pix' was not declared in this scope
__magick_read__.cc:198: error: invalid types 'int[int]' for array subscript
__magick_read__.cc: At global scope:
__magick_read__.cc:226: error: 'Image' was not declared in this scope
__magick_read__.cc:226: error: template argument 1 is invalid
__magick_read__.cc:226: error: template argument 2 is invalid
__magick_read__.cc:228: error: 'Image' was not declared in this scope
__magick_read__.cc:228: error: template argument 1 is invalid
__magick_read__.cc:228: error: template argument 2 is invalid
__magick_read__.cc:231: error: 'Image' was not declared in this scope
__magick_read__.cc:231: error: template argument 1 is invalid
__magick_read__.cc:231: error: template argument 2 is invalid
__magick_read__.cc: In function 'octave_value_list F__magick_read__ (const octave_value_list&, int)':
__magick_read__.cc:260: error: 'Image' was not declared in this scope
__magick_read__.cc:260: error: template argument 1 is invalid
__magick_read__.cc:260: error: template argument 2 is invalid
__magick_read__.cc:260: error: invalid type in declaration before ';' token __magick_read__.cc:263: error: 'readImages' was not declared in this scope
__magick_read__.cc:265: error: expected type-specifier before 'Warning'
__magick_read__.cc:265: error: expected `)' before '&' token
__magick_read__.cc:265: error: expected `{' before '&' token
__magick_read__.cc:265: error: 'warning_' was not declared in this scope
__magick_read__.cc:265: error: expected `;' before ')' token
__magick_read__.cc:268: error: expected primary-expression before 'catch'
__magick_read__.cc:268: error: expected `;' before 'catch'
__magick_read__.cc:271: error: expected primary-expression before 'catch'
__magick_read__.cc:271: error: expected `;' before 'catch'
__magick_read__.cc:277: error: request for member 'size' in 'imvec', which is of non-class type 'int' __magick_read__.cc:282: error: request for member 'clear' in 'imvec', which is of non-class type 'int' __magick_read__.cc:287: error: 'ClassType' was not declared in this scope
__magick_read__.cc:287: error: expected `;' before 'klass'
__magick_read__.cc:288: error: 'klass' was not declared in this scope
__magick_read__.cc:288: error: 'PseudoClass' was not declared in this scope __magick_read__.cc:291: error: invalid types 'int[int]' for array subscript __magick_read__.cc:311: error: request for member 'clear' in 'imvec', which is of non-class type 'int'
__magick_read__.cc:314: error: expected `}' at end of input
make: *** [__magick_read__.oct] Error 1
error: 'make' returned the following error: mkoctfile __cordfltn__.cc
mkoctfile __bilateral__.cc
mkoctfile __custom_gaussian_smoothing__.cc
mkoctfile bwlabel.cc
mkoctfile bwfill.cc
mkoctfile rotate_scale.cc
mkoctfile hough_line.cc
mkoctfile graycomatrix.cc
mkoctfile deriche.cc
mkoctfile __bwdist.cc
mkoctfile nonmax_supress.cc
mkoctfile __magick_read__.cc `Magick++-config --cppflags` `Magick++- config --ldflags` error: called from `pkg:configure_make' in file /Applications/ Octave.app/Contents/Resources/share/octave/3.0.3/m/pkg/pkg.m near line 1248, column 2


reply via email to

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