I want to compile all dependencies etc and shared libraries into the binary?
How to do that?
g++ -std=c++11 txtocr.cpp -o txtocr -llept -ltesseract
Tesseract depends on leptonica
and some shared tesseract
libraries.. But how to compile everything into the binary so it would be 100% portable