I install the version of GSL 1.12 from GNU, and it compiled fine.

I recompile the iulib, with the orders

./build
make
make install

And then I try to compile ocropus with
./build --with-tesseract=/usr/local --without-fst --without-leptonica
--without-SDL
make

But,... another error appear in glclass.cc:

./ocr-line/glclass.cc:1136: warning: converting to `int' from `double'
./ocr-line/glclass.cc:1137: warning: converting to `int' from `double'
./ocr-line/glclass.cc:1138: warning: converting to `int' from `double'
./ocr-line/glclass.cc:1139: warning: converting to `int' from `double'
./ocr-line/glclass.cc:1140: warning: converting to `int' from `double'
./ocr-line/glclass.cc:1145: warning: converting to `int' from `double'
./ocr-line/glclass.cc:1166: warning: passing `float' for converting 2
of `void g
linerec::MlpClassifier::initData(glinerec::IDataset&, int)'
./ocr-line/glclass.cc: At global scope:
./ocr-line/glclass.cc:1411: warning: ignoring #pragma omp parallel
./ocr-line/glclass.cc: In member function `virtual void
glinerec::AdaBoost::trai
n(glinerec::IDataset&)':
./ocr-line/glclass.cc:1444: warning: converting to `int' from `double'
./ocr-line/glclass.cc:1462: warning: converting to `int' from `double'
./ocr-line/glclass.cc: At global scope:
./ocr-line/glclass.cc:1631: warning: ignoring #pragma omp parallel
./ocr-line/glclass.cc: In member function `virtual void
glinerec::CascadedMLP::t
rain(glinerec::IDataset&)':
./ocr-line/glclass.cc:1625: warning: converting to `int' from `double'
./ocr-line/glclass.cc: In member function `virtual float
glinerec::CascadedMLP::
outputs(colib::floatarray&, colib::floatarray&)':
./ocr-line/glclass.cc:1647: warning: converting to `int' from `double'
/usr/local/include/colib/rowarrays.h: In function `T
colib::rowdist_euclidean(co
lib::narray<T>&, int, colib::narray<T>&) [with T = float]':
./ocr-line/glclass.cc:398:   instantiated from here
/usr/local/include/colib/rowarrays.h:94: error: call of overloaded
`sqrt(float)'
 is ambiguous
/usr/local/include/colib/iarith.h:345: note: candidates are:
colib::interval col
ib::sqrt(colib::interval)
/usr/local/include/colib/iarith.h:620: note:
colib::dinterval co
lib::sqrt(colib::dinterval)
make[1]: *** [glclass.o] Error 1
make[1]: Leaving directory `/home/Jorge/ocropus'
make: *** [all-recursive] Error 1

I am really worried. A problem with colib? I build another time iulib
after I had installed
the GSL library. Have I to install colib with another package?

Thanks for your help, but I don't know what problem I have :(
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ocropus" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ocropus?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to