Hi,

I'm having some trouble compiling ocrad on Mac OS X Mavericks. I believe this 
is because Mavericks changes the default C++ standard library from libstdc++ to 
libc++.

There error I'm getting is:

    no member named 'abs' in namespace 'std'

This happens for every occurrence of "std::abs". I found that adding "#include 
<cstdlib>" to all the relevant files seems to solve the problem.

Here's a list of all the files I had to add "#include <cstdlib>" to:

character_r11.cc
feats_test0.cc
profile.cc
track.cc

Also, on an unrelated note: Would it be possible to provide a tar.gz download 
for ocrad as well as the existing tar.lz version? I notice that previous 
versions offered both, but recent versions only have the tar.lz option.

Thanks,

Matt
_______________________________________________
Bug-ocrad mailing list
Bug-ocrad@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-ocrad

Reply via email to