Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make error with tesseract 4.1.1 #83

Open
rmushfiqur2 opened this issue May 21, 2021 · 1 comment
Open

Make error with tesseract 4.1.1 #83

rmushfiqur2 opened this issue May 21, 2021 · 1 comment

Comments

@rmushfiqur2
Copy link

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
@zdenop
Copy link
Owner

zdenop commented Mar 11, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants