> On Oct 31, 2016, at 09:53, Robert Wohlhueter <bobwohlhue...@earthlink.net>
> wrote:
>
> Running fink under MacOS 10.11.6 (El Capitan), I get the error messages
> copied below (just what I take to be the relevant part of the full "fink
> install ocrad" output). This error persists after a successful "fink
> self-update", "fink update-all", and whether fink configuration is set to 1
> or 2 simultaneous builds (mine is a 2-core cpu).
>
> I have no clue as towhat the "std::abs" problem is, Does anyone?
>
> Thanks,
>
> Bob Wohlhueter
>
> ******************************************************
>
> OK. Now you can run make.
> /usr/bin/make
> g++ -Wall -W -O2 -c -o common.o common.cc
> g++ -Wall -W -O2 -c -o mask.o mask.cc
> g++ -Wall -W -O2 -c -o rational.o rational.cc
> g++ -Wall -W -O2 -c -o rectangle.o rectangle.cc
> g++ -Wall -W -O2 -c -o track.o track.cc
>
> g++ -Wall -W -O2 -c -o ucs.o ucs.cc
> g++ -Wall -W -O2 -c -o page_image.o page_image.cc
> track.cc:46:21: error: no member named 'abs' in namespace 'std'
> 10 * std::abs( r1.bottom() - r2.bottom() ) <= mean_height )
> ~~~~~^
> track.cc:48:32: error: no member named 'abs' in namespace 'std'
> if( val > 1 && 10 * std::abs( r1.vcenter() - r2.vcenter() ) <=
> mean_height )
> ~~~~~^
> track.cc:51:30: error: no member named 'abs' in namespace 'std'
> if( val > 2 && 10 * std::abs( r1.vcenter() - r2.vcenter() ) <=
> mean_height )
> ~~~~~^
> 3 errors generated.
> make: *** [track.o] Error 1
> make: *** Waiting for unfinished jobs....
> ### execution of /usr/bin/make failed, exit code 2
> ### execution of /tmp/fink.vEKPq failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-ocrad-0.21-1
> (Reading database ... 299251 files and directories currently installed.)
> Removing fink-buildlock-ocrad-0.21-1 ...
> Failed: phase compiling: ocrad-0.21-1 failed
As an additional bit of information: what command-line tools version are you on
('fink list -t xcode’ is an easy way to get that)?
--
Alexander Hansen, Ph.D.
Fink User Liaison
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users