AiPacino / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
2 stars 0 forks source link

can not make training tool #1136

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make training

What is the expected output? What do you see instead?

make success
----
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  
-O2 -DNDEBUG -DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api 
-I../ccutil -I../ccstruct -I../viewer -I../textord -I../dict -I../classify 
-I../display -I../wordrec -I../cutil  -I/usr/local/include/leptonica 
-D_REENTRANT -I/usr/local/Cellar/pango/1.34.1/include/pango-1.0 
-I/usr/local/Cellar/glib/2.36.3/include/glib-2.0 
-I/usr/local/Cellar/glib/2.36.3/lib/glib-2.0/include 
-I/usr/local/opt/gettext/include     -MT ligature_table.lo -MD -MP -MF 
.deps/ligature_table.Tpo -c -o ligature_table.lo ligature_table.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG 
-DUSE_STD_NAMESPACE -DPANGO_ENABLE_ENGINE -I../ccmain -I../api -I../ccutil 
-I../ccstruct -I../viewer -I../textord -I../dict -I../classify -I../display 
-I../wordrec -I../cutil -I/usr/local/include/leptonica -D_REENTRANT 
-I/usr/local/Cellar/pango/1.34.1/include/pango-1.0 
-I/usr/local/Cellar/glib/2.36.3/include/glib-2.0 
-I/usr/local/Cellar/glib/2.36.3/lib/glib-2.0/include 
-I/usr/local/opt/gettext/include -MT ligature_table.lo -MD -MP -MF 
.deps/ligature_table.Tpo -c ligature_table.cpp  -fno-common -DPIC -o 
.libs/ligature_table.o
ligature_table.cpp:30:47: error: unicode/errorcode.h: No such file or directory
ligature_table.cpp:31:47: error: unicode/normlzr.h: No such file or directory
ligature_table.cpp:32:47: error: unicode/unistr.h: No such file or directory
ligature_table.cpp:33:47: error: unicode/utypes.h: No such file or directory
ligature_table.cpp: In member function 'void tesseract::LigatureTable::Init()':
ligature_table.cpp:69: error: 'icu' has not been declared
ligature_table.cpp:69: error: expected `;' before 'unicode_lig8'
ligature_table.cpp:70: error: 'icu' has not been declared
ligature_table.cpp:70: error: expected `;' before 'normed8_result'
ligature_table.cpp:71: error: 'icu' has not been declared
ligature_table.cpp:71: error: expected `;' before 'status'
ligature_table.cpp:72: error: 'icu' has not been declared
ligature_table.cpp:72: error: 'unicode_lig8' was not declared in this scope
ligature_table.cpp:72: error: 'UNORM_NFKC' was not declared in this scope
ligature_table.cpp:72: error: 'normed8_result' was not declared in this scope
ligature_table.cpp:73: error: 'status' was not declared in this scope
make[1]: *** [ligature_table.lo] Error 1
make: *** [training-install] Error 2

What version of the product are you using? On what operating system?

revision 1054.  osx. 10.8

Please provide any additional information below.

Original issue reported on code.google.com by yupbank on 19 Mar 2014 at 4:43

GoogleCodeExporter commented 9 years ago
1. Do no try to compile unreleased sw if you do not follow dev-forum
1. Read the error messages ;-)

Original comment by zde...@gmail.com on 19 Mar 2014 at 7:17

GoogleCodeExporter commented 9 years ago
i really dont know why...as i  dont have much knowledge about c or c plus..

can you give me a hand plz?

Original comment by yupbank on 25 Mar 2014 at 3:42