Open marillat opened 6 years ago
Same as #67 ?
I just managed to build on debian unstable, with; git checkout autotools ./bootstrap ./configure CXXFLAGS=-std=gnu++11 make
I just managed to build on debian unstable, with; git checkout autotools ./bootstrap ./configure CXXFLAGS=-std=gnu++11 make
I did this on WSL Kali (Debian-like), and got:
/usr/bin/ld: src/vobsub2srt-vobsub2srt.o: in function
main': vobsub2srt.c++:(.text+0xa2e): undefined reference to
tesseract::TessBaseAPI::TessBaseAPI()' /usr/bin/ld: vobsub2srt.c++:(.text+0xab3): undefined reference totesseract::TessBaseAPI::SetVariable(char const*, char const*)' /usr/bin/ld: vobsub2srt.c++:(.text+0xe32): undefined reference to
tesseract::TessBaseAPI::TesseractRect(unsigned char const, int, int, int, int, int, int)' /usr/bin/ld: vobsub2srt.c++:(.text+0x11db): undefined reference totesseract::TessBaseAPI::End()' /usr/bin/ld: vobsub2srt.c++:(.text+0x1280): undefined reference to
tesseract::TessBaseAPI::~TessBaseAPI()' /usr/bin/ld: vobsub2srt.c++:(.text+0x13f1): undefined reference totesseract::TessBaseAPI::~TessBaseAPI()' /usr/bin/ld: src/vobsub2srt-vobsub2srt.o: in function
tesseract::TessBaseAPI::Init(char const, char const)': vobsub2srt.c++:(.text.ZN9tesseract11TessBaseAPI4InitEPKcS2[ZN9tesseract11TessBaseAPI4InitEPKcS2]+0x3f): undefined reference to `tesseract::TessBaseAPI::Init(char const, char const*, tesseract::OcrEngineMode, char*, int, GenericVectorconst , GenericVectorconst*, bool)' collect2: error: ld returned 1 exit status make: *** [Makefile:476: vobsub2srt] Error 1
Here I try to build the latest git snapshot 0ba6e25e078a040195d7295e860cc9064bef7c2c
Build for debian unstable amd64 with tesseract 4.00~git2174-3b62badd-5