tk120404 / tesseractindic

Automatically exported from code.google.com/p/tesseractindic
Other
0 stars 0 forks source link

make for indic0.2 does not work on mac (10.5.8) #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
tesseract main does not support mac. I do not know if yours does. The main
tesseract works for English on this mac. I tried compiling the 0.2 indic
release and could not.

What steps will reproduce the problem?
1.
2.
3.

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

What version of the product are you using? On what operating system?
indic 0.2 mac 10.5.8

Please provide any additional information below.
mv -f .deps/tesseractmain.Tpo .deps/tesseractmain.Po
g++  -g -O2  -L/opt/local/lib -o tesseract tesseractmain.o
libtesseract_full.a -ltiff -lpthread -ljpeg -lpng -lz  -lm
Undefined symbols:
  "BLOCK_zapper(ELIST_LINK*)", referenced from:
      __Z12BLOCK_zapperP10ELIST_LINK$non_lazy_ptr in tesseractmain.o
  "BOOL_VARIABLE::BOOL_VARIABLE(unsigned char, char const*, char const*)",
referenced from:
      __static_initialization_and_destruction_0(int, int)in tesseractmain.o
      __static_initialization_and_destruction_0(int, int)in tesseractmain.o
      __static_initialization_and_destruction_0(int, int)in tesseractmain.o
      __static_initialization_and_destruction_0(int, int)in tesseractmain.o
  "IMAGE::IMAGE()", referenced from:
      _main in tesseractmain.o
      _main in tesseractmain.o
  "IMAGE::read_header(char const*)", referenced from:
      _main in tesseractmain.o
  "_page_image", referenced from:
      _page_image$non_lazy_ptr in tesseractmain.o
  "BOOL_VARIABLE::~BOOL_VARIABLE()", referenced from:
      ___tcf_1 in tesseractmain.o
      ___tcf_2 in tesseractmain.o
      ___tcf_5 in tesseractmain.o
      ___tcf_6 in tesseractmain.o
  "IMAGE::destroy()", referenced from:
      _main in tesseractmain.o
      _main in tesseractmain.o
      _main in tesseractmain.o
      _main in tesseractmain.o
  "TessBaseAPI::InitWithLanguage(char const*, char const*, char const*,
char const*, bool, int, char**)", referenced from:
      _main in tesseractmain.o
      _main in tesseractmain.o
  "STRING::STRING()", referenced from:
      _main in tesseractmain.o
      _main in tesseractmain.o
  "ERRCODE::error(char const*, signed char, char const*, ...) const",
referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      _main in tesseractmain.o
      _main in tesseractmain.o
      _main in tesseractmain.o
      _main in tesseractmain.o
  "read_tiff_image(tiff*, IMAGE*)", referenced from:
      _main in tesseractmain.o
  "TessBaseAPI::SetInputName(char const*)", referenced from:
      _main in tesseractmain.o
  "TessBaseAPI::ClearAdaptiveClassifier()", referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
  "STRING::length() const", referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      _main in tesseractmain.o
  "_tessedit_write_unlv", referenced from:
      _tessedit_write_unlv$non_lazy_ptr in tesseractmain.o
  "TessBaseAPI::End()", referenced from:
      _main in tesseractmain.o
  "STRING::operator[](int) const", referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      _main in tesseractmain.o
  "STRING::string() const", referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      _main in tesseractmain.o
      _main in tesseractmain.o
      _main in tesseractmain.o
      _main in tesseractmain.o
  "STRING::operator=(char const*)", referenced from:
      _main in tesseractmain.o
  "TessBaseAPI::SetVariable(char const*, char const*)", referenced from:
      _main in tesseractmain.o
  "INT_VARIABLE::INT_VARIABLE(int, char const*, char const*)", referenced from:
      __static_initialization_and_destruction_0(int, int)in tesseractmain.o
      __static_initialization_and_destruction_0(int, int)in tesseractmain.o
  "STRING::STRING(char const*)", referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      _main in tesseractmain.o
  "ELIST_ITERATOR::forward()", referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
  "TessBaseAPI::TesseractRect(unsigned char const*, int, int, int, int,
int, int)", referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
  "read_unlv_file(STRING, int, int, BLOCK_LIST*)", referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
  "STRING::operator+=(char const*)", referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      _main in tesseractmain.o
  "TessBaseAPI::TesseractRectUNLV(unsigned char const*, int, int, int, int,
int, int)", referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
  "check_legal_image_size(int, int, signed char)", referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
  "ELIST::internal_clear(void (*)(ELIST_LINK*))", referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
  "STRING::~STRING()", referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
      _main in tesseractmain.o
      _main in tesseractmain.o
      _main in tesseractmain.o
      _main in tesseractmain.o
      _main in tesseractmain.o
      _main in tesseractmain.o
  "tprintf(char const*, ...)", referenced from:
      _main in tesseractmain.o
      _main in tesseractmain.o
  "IMAGE::read(int)", referenced from:
      _main in tesseractmain.o
  "INT_VARIABLE::~INT_VARIABLE()", referenced from:
      ___tcf_3 in tesseractmain.o
      ___tcf_4 in tesseractmain.o
  "STRING::STRING(STRING const&)", referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
  "IMAGE::write(char const*)", referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
  "TessBaseAPI::TesseractRectBoxes(unsigned char const*, int, int, int,
int, int, int, int)", referenced from:
      TesseractImage(char const*, IMAGE*, STRING*)in tesseractmain.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [tesseract] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[DHCP-194-206:~/tesseract/tesseractindic-0.2] ashishmahabal% 

Original issue reported on code.google.com by mahabal....@gmail.com on 27 Nov 2009 at 7:09

GoogleCodeExporter commented 9 years ago
If the code does not build on Mac, report it as an issue to the tesseract-ocr 
issue
tracker <http://code.google.com/p/tesseract-ocr/> instead.
The code build just fine on a GNU/Linux box.

Original comment by debayanin on 27 Nov 2009 at 7:19

GoogleCodeExporter commented 9 years ago
And remember to report it against the tesseract-2.04 stable version.

Original comment by debayanin on 27 Nov 2009 at 7:20