I did not get these errors... but at the time I tried to port octave- image using macports, I had octave 3.0.2 (I have since upgraded to 3.0.3) and I have os x 10.4.11 Bob
On Nov 19, 2008, at 12:06 PM, Ben Abbott wrote: > > On Nov 19, 2008, at 10:22 AM, Robert Fong-tom wrote: >> >> On Nov 19, 2008, at 9:58 AM, Ben Abbott wrote: >> >>> On Nov 19, 2008, at 8:53 AM, Robert Fong-tom <[EMAIL PROTECTED]> >>> wrote: >>> >>>> Hi, >>>> Does anyone know if there is an Octave Image package binary for Mac >>>> OS X 10.4 ? I searched for this but could only find a binary for >>>> OS X >>>> 10.5. >>>> >>>> I tried porting the Image package using MacPorts, but was >>>> unsuccessful. Kept getting errors that I did not understand and the >>>> MacPorts help blog did not clear up my confusion. I did not try >>>> Fik >>>> but after my experience with MacPorts, I am reluctant to waste >>>> another week! >>>> Bob >>> >>> The image package using a Fink install does lack some functionality. >>> >>> What commands did you have trouble with? >>> >>> Ben >> >> I am primarily interested in reading jpg, tiff and png files; >> displaying them; and writing image matrices to files of these >> formats. Let me give you some background. I am looking for a math >> tool to analyze images, and to study effects of various components >> (i.e telescope, optical filters and image processing filters, etc) >> on the image. I looked into using Scilab and although this math >> package is very good, it does not support OS X. I know MatLab but >> their price is way beyond my means. Octave seems to be a good >> alternative but I am having some difficulty getting the basic >> functionality I need. I have worked through most problems but >> getting the image package for OS X 10.4 is proving to be a >> challenge for me primarily because I do not have a software >> background. > > Please reply-all so that others can also benefit. Also notice I've > copied the octave-forge list. > > While I've used the image package in the past, but I noticed > image-1.0.5 was no longer functioning correctly for me > (octave-3.0.3 on OSX 10.5.5), so I uninstalled image-1.0.5 and > attempted to install the more recent image-1.0.8, which failed. > > I snipped the middle part out, but the beginning and end of the > trouble is below. > > octave:4> pkg install image-1.0.8.tar > Undefined symbols: > "Magick::Image::type() const", referenced from: > octave_value_list read_images<boolNDArray> > (std::vector<Magick::Image, std::allocator<Magick::Image> >, > Array<int>, unsigned int)in __magick_read__.o > octave_value_list read_images<intNDArray<octave_int<unsigned > char> > >(std::vector<Magick::Image, std::allocator<Magick::Image> > >, Array<int>, unsigned int)in __magick_read__.o > octave_value_list read_images<intNDArray<octave_int<unsigned > short> > >(std::vector<Magick::Image, std::allocator<Magick::Image> > >, Array<int>, unsigned int)in __magick_read__.o > read_indexed_images(std::vector<Magick::Image, > std::allocator<Magick::Image> >, Array<int>, bool)in __magick_read__.o > [...] > "Magick::Image::baseRows() const", referenced from: > octave_value_list read_images<boolNDArray> > (std::vector<Magick::Image, std::allocator<Magick::Image> >, > Array<int>, unsigned int)in __magick_read__.o > octave_value_list read_images<intNDArray<octave_int<unsigned > char> > >(std::vector<Magick::Image, std::allocator<Magick::Image> > >, Array<int>, unsigned int)in __magick_read__.o > octave_value_list read_images<intNDArray<octave_int<unsigned > short> > >(std::vector<Magick::Image, std::allocator<Magick::Image> > >, Array<int>, unsigned int)in __magick_read__.o > read_indexed_images(std::vector<Magick::Image, > std::allocator<Magick::Image> >, Array<int>, bool)in __magick_read__.o > "_CloneImageInfo", referenced from: > void Magick::readImages<std::vector<Magick::Image, > std::allocator<Magick::Image> > >(std::vector<Magick::Image, > std::allocator<Magick::Image> >*, std::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&)in > __magick_read__.o > ld: symbol(s) not found > collect2: ld returned 1 exit status > 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 /sw/share/octave/ > 3.0.3/m/pkg/pkg.m near line 1248, column 2 > > Robert, did you encounter this problem or something else? > > In any event, does anyone have an idea as to what is wrong? > > Ben > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
