[EMAIL PROTECTED] wrote:
I am trying to install ocrad on Tiger, but I have this :
There is not a special version of ocrad for Mac OS X.4 Tiger. Ocrad only
uses standard C++ plus some GNU extensions. It should compile on almost
any system with gcc.
It seems that your C++ headers have a problem with std::swap(). Try to
install the latest ocrad version (0.12), and if this doesn't work, try
replacing the function 'mirror_left_right' in 'bitmap.cc' with this one:
void mirror_left_right( std::vector< std::vector< bool > > & data ) throw()
{
const int height = data.size();
for( int row = 0; row < height; ++row )
{
std::vector< bool > & datarow = data[row];
for( int l = 0, r = datarow.size() - 1; l < r; ++l, --r )
{ bool b = datarow[l]; datarow[l] = datarow[r]; datarow[r] = b; }
}
}
Regards,
Antonio Diaz.
_______________________________________________
Bug-ocrad mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-ocrad