Hi,

I'm trying to build tesseract from sources.
I succeeded in building Leptonica 1.74.1 and installing into /usr/local/bin 
and /usr/local/include.

Into Tesseract main fodler, the first commands are ok:

./autogen.sh
./configure


But the problem comes when i run following command :

LDFLAGS="-L/usr/local/lib" CFLAGS="-I/usr/local/include" make


things are compiling well but I get some unreferenced functions at the end 
like:

/home/user/tesseract-ocr/tesseract/api/../ccutil/genericvector.h:659: 
undefined reference to `operator new[](unsigned long)'

and a lot of standard C++ functions unreferenced like :

 ./.libs/libtesseract.so: undefined reference to `std::basic_ifstream<char, 
std::char_traits<char> >::~basic_ifstream()'

I have tried other suggested solutions without any success

- running LDFLAGS="-L/usr/local/lib" CFLAGS="-I/usr/local/include" make 
- removing old tesseract previously installed with apt-get

Thanks for any help.
Regards

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/eb5d84ee-bd79-4a6d-88db-cdfa0950bad3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to