Open rmushfiqur2 opened 3 years ago
When I run make command I get the following error:
TessTools.cpp:(.text+0x1727): undefined reference to `tesseract::TessBaseAPI::Init(char const*, char const*, tesseract::OcrEngineMode, char**, int, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, bool)' /usr/bin/ld: build/release/TessTools.o: in function `TessTools::GetThresholded(QImage const&)': TessTools.cpp:(.text+0x1b44): undefined reference to `tesseract::TessBaseAPI::Init(char const*, char const*, tesseract::OcrEngineMode, char**, int, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, bool)' collect2: error: ld returned 1 exit status make: *** [Makefile:204: release/qt-box-editor-1.12rc1] Error 1
QTB is designed for tesseract 3x training, so it expects tesseract version 3. Anyway ,I was able to build QTB with tesseract 5.3.0 and leptonica 1.83.1
When I run make command I get the following error: