Hi guy,

I tried to use ocropus in c++ by starting with examples in 
http://code.google.com/p/ocropus/wiki/CxxProgramming . I use ocropus in 
repository, ubuntu 10.04, and g++ as my enviroment. First two examples work 
correctly but the last one (about interface) is not. There are some error 
like this


g++ ocr3.cc -locropus -liulib -ljpeg -lpng -lgif -ltiff -fopenmp -llept 
-lSDL -lSDL_gfx -lgsl -lblas

ocr3.cc: In function ‘int main(int, char**)’:
ocr3.cc:44: error: no matching function for call to 
‘colib::iustrg<colib::nuchar>::utf8Encode(colib::narray<char>&)’
/usr/local/include/colib/iustring.h:544: note: candidates are: void 
colib::iustrg<T>::utf8Encode(colib::utf8strg&) [with T = colib::nuchar]
/usr/local/include/colib/iustring.h:562: note:                 void 
colib::iustrg<T>::utf8Encode(char*, int) [with T = colib::nuchar]


Actually, I'm not good at C++. So, I can't deal with it that much. The 
source code is on the link above(last one about interface). I didn't modify 
anything before I compile it.

If anyone have the answer, please let me know.


Sincerely,

Pongsakorn Vijaisutakit


PS. I apologize for my bad English. ;(

-- 
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