Hi,

I am trying to build ocropus 0.4.3 on FreeBSD 7.2. Compiling stops
when it hits buildhtml.cc with the following error:

g++ -DPACKAGE_NAME=\"ocropus\" -DPACKAGE_TARNAME=\"ocropus\" -
DPACKAGE_VERSION=\"0.3\" -DPACKAGE_STRING=\"ocropus\ 0.3\" -
DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ocropus\" -DVERSION=\"0.3\" -
DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -
DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -
DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FLOAT_H=1 -DHAVE_STDINT_H=1 -
DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -
DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -
DHAVE_LIBIULIB=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBLEPT=1 -
DHAVE_LIBGSLCBLAS=1 -DHAVE_LIBGSL=1 -DHAVE_LIBSDL=1 -
DHAVE_LIBSDL_GFX=1 -DHAVE_LIBGOMP=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -
DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_DUP2=1 -
DHAVE_MEMSET=1 -DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -
DHAVE_STRRCHR=1 -I.  -I./include -I./ocr-utils -I/usr/local/include   -
I/usr/local/include -g -O2 -fopenmp -Wall -Wno-sign-compare -Wno-write-
strings -Wno-deprecated -g -O2 -fopenmp -MT buildhtml.o -MD -MP -
MF .deps/buildhtml.Tpo -c -o buildhtml.o `test -f './ocr-commands/
buildhtml.cc' || echo './'`./ocr-commands/buildhtml.cc
./ocr-commands/buildhtml.cc: In function 'void ocropus::hocr_dump_line
(FILE*, const char*, ocropus::RegionExtractor&, int, int)':
./ocr-commands/buildhtml.cc:68: error: 'fgetsUTF8' was not declared in
this scope
./ocr-commands/buildhtml.cc:69: error: 'fwriteUTF8' was not declared
in this scope
/usr/local/include/colib/narray.h: In member function
'colib::narray<T>& colib::narray<T>::truncate(int) [with T = char]':
./ocr-utils/narray-binio.h:49:   instantiated from here
/usr/local/include/colib/narray.h:261: warning: no return statement in
function returning non-void
gmake[1]: *** [buildhtml.o] Error 1

I've done some looking and the only mention I could find of the
fgetsUTF8() and fwriteUTF8() functions are from the Ocropus project
itself, so that's not much help. I know Ubuntu is the target platform,
but I couldn't even find any information on it on that platform.

Does anyone have any pointers on how to fix this? That would be most
appreciated.

-Andrew

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