This seems to be related to the 64-bit version of octave. With that being disabled, the error disappears.
M. Søren Hauberg wrote: > > tor, 02 06 2011 kl. 13:48 -0700, skrev Muhali Muhali: >> I am unable to install the image-1.0.14 package using octave 3.4. The >> error I get is > > I am unable to reproduce these errors. Can you provide a bit of info > about your setup? Operating system and compiler version would help? > > Thanks > Søren > > >> >> $> mkoctfile -Wall __spatial_filtering__.cc >> >> __spatial_filtering__.cc: In function ‘ET_OUT entropy_filt(MT&, >> octave_idx_type, int) [with ET = octave_int<signed char>, MT = >> intNDArray<octave_int<signed char> >, ET_OUT = double]’: >> >> __spatial_filtering__.cc:558: instantiated from here >> >> __spatial_filtering__.cc:190: error: conversion from ‘octave_int<signed >> char>’ to ‘long int’ is ambiguous >> >> /usr/local/include/octave-3.4.0/octave/../octave/oct-inttypes.h:783: >> note: candidates are: octave_int<T>::operator float() const [with T = >> signed char] >> >> /usr/local/include/octave-3.4.0/octave/../octave/oct-inttypes.h:781: >> note: octave_int<T>::operator double() const [with T = >> signed char] >> >> /usr/local/include/octave-3.4.0/octave/../octave/oct-inttypes.h:777: >> note: octave_int<T>::operator T() const [with T = signed >> char] >> >> __spatial_filtering__.cc:192: error: conversion from ‘octave_int<signed >> char>’ to ‘long int’ is ambiguous >> >> /usr/local/include/octave-3.4.0/octave/../octave/oct-inttypes.h:783: >> note: candidates are: octave_int<T>::operator float() const [with T = >> signed char] >> >> /usr/local/include/octave-3.4.0/octave/../octave/oct-inttypes.h:781: >> note: octave_int<T>::operator double() const [with T = >> signed char] >> >> /usr/local/include/octave-3.4.0/octave/../octave/oct-inttypes.h:777: >> note: octave_int<T>::operator T() const [with T = signed >> char] >> >> __spatial_filtering__.cc: In function ‘ET_OUT entropy_filt(MT&, >> octave_idx_type, int) [with ET = octave_int<unsigned char>, MT = >> intNDArray<octave_int<unsigned char> >, ET_OUT = double]’: >> >> __spatial_filtering__.cc:560: instantiated from here >> >> __spatial_filtering__.cc:190: error: conversion from ‘octave_int<unsigned >> char>’ to ‘long int’ is ambiguous >> >> /usr/local/include/octave-3.4.0/octave/../octave/oct-inttypes.h:783: >> note: candidates are: octave_int<T>::operator float() const [with T = >> unsigned char] >> >> /usr/local/include/octave-3.4.0/octave/../octave/oct-inttypes.h:781: >> note: octave_int<T>::operator double() const [with T = >> unsigned char] >> >> /usr/local/include/octave-3.4.0/octave/../octave/oct-inttypes.h:777: >> note: octave_int<T>::operator T() const [with T = >> unsigned char] >> >> __spatial_filtering__.cc:192: error: conversion from ‘octave_int<unsigned >> char>’ to ‘long int’ is ambiguous >> >> /usr/local/include/octave-3.4.0/octave/../octave/oct-inttypes.h:783: >> note: candidates are: octave_int<T>::operator float() const [with T = >> unsigned char] >> >> /usr/local/include/octave-3.4.0/octave/../octave/oct-inttypes.h:781: >> note: octave_int<T>::operator double() const [with T = >> unsigned char] >> >> /usr/local/include/octave-3.4.0/octave/../octave/oct-inttypes.h:777: >> note: octave_int<T>::operator T() const [with T = >> unsigned char] >> >> make: *** [__spatial_filtering__.oct] Error 1 >> >> >> ------------------------------------------------------------------------------ >> Simplify data backup and recovery for your virtual environment with >> vRanger. >> Installation's a snap, and flexible recovery options mean your data is >> safe, >> secure and there when you need it. Discover what all the cheering's >> about. >> Get your free trial download today. >> http://p.sf.net/sfu/quest-dev2dev2 >> _______________________________________________ >> Octave-dev mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/octave-dev > > > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with > vRanger. > Installation's a snap, and flexible recovery options mean your data is > safe, > secure and there when you need it. Discover what all the cheering's about. > Get your free trial download today. > http://p.sf.net/sfu/quest-dev2dev2 > _______________________________________________ > Octave-dev mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/octave-dev > > -- View this message in context: http://old.nabble.com/error-compiling-image-package-tp31760927p31836331.html Sent from the octave-dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
