Skip to content
This repository has been archived by the owner on Aug 4, 2024. It is now read-only.

Tesseract's latest source code doesn't contain dependency with cube directory #14

Open
saint1729 opened this issue Jan 26, 2017 · 3 comments

Comments

@saint1729
Copy link

If this dependency is not removed, we are getting a compilation error. Please look into this and adjust the solution file accordingly.

@saint1729
Copy link
Author

saint1729 commented Jan 26, 2017

I can make these code changes and let the build happen successfully. Kindly, let me know if you can accept my push request. Thanks in advance.

@peirick
Copy link
Owner

peirick commented Jan 27, 2017

Well, yes send me your pull request.

@saint1729
Copy link
Author

Hi peirick, I have put my effort by making changes to necessary project files. At the end, I'm getting the following linker errors:

Severity Code Description Project File Line Suppression State
Error LNK1120 8 unresolved externals tesseract D:\tesseract\VS2015_Tesseract\x64\Debug\tesseract.exe 1
Error LNK2001 unresolved external symbol "private: static bool SIMDDetect::avx_available_" (?avx_available_@SIMDDetect@@0_NA) tesseract D:\tesseract\VS2015_Tesseract\tesseract\tesseractmain.obj 1
Error LNK2001 unresolved external symbol "private: static bool SIMDDetect::sse_available_" (?sse_available_@SIMDDetect@@0_NA) tesseract D:\tesseract\VS2015_Tesseract\tesseract\tesseractmain.obj 1
Error LNK2019 unresolved external symbol "public: void __cdecl tesseract::Tesseract::TrainLineRecognizer(class STRING const &,class STRING const &,class BLOCK_LIST *)" (?TrainLineRecognizer@Tesseract@tesseract@@QEAAXAEBVSTRING@@0PEAVBLOCK_LIST@@@z) referenced in function "public: int __cdecl tesseract::TessBaseAPI::Recognize(class ETEXT_DESC *)" (?Recognize@TessBaseAPI@tesseract@@QEAAHPEAVETEXT_DESC@@@z) tesseract D:\tesseract\VS2015_Tesseract\tesseract\baseapi.obj 1
Error LNK2019 unresolved external symbol "public: void __cdecl tesseract::Tesseract::LSTMRecognizeWord(class BLOCK const &,class ROW *,class WERD_RES *,class tesseract::PointerVector *)" (?LSTMRecognizeWord@Tesseract@tesseract@@QEAAXAEBVBLOCK@@PEAVROW@@PEAVWERD_RES@@peav?$PointerVector@VWERD_RES@@@2@@z) referenced in function "public: void __cdecl tesseract::Tesseract::classify_word_pass1(struct tesseract::WordData const &,class WERD_RES * *,class tesseract::PointerVector *)" (?classify_word_pass1@Tesseract@tesseract@@QEAAXAEBUWordData@2@PEAPEAVWERD_RES@@peav?$PointerVector@VWERD_RES@@@2@@z) tesseract D:\tesseract\VS2015_Tesseract\tesseract\control.obj 1
Error LNK2019 unresolved external symbol "public: __cdecl tesseract::LSTMRecognizer::LSTMRecognizer(void)" (??0LSTMRecognizer@tesseract@@qeaa@XZ) referenced in function "public: bool __cdecl tesseract::Tesseract::init_tesseract_lang_data(char const *,char const *,char const *,enum tesseract::OcrEngineMode,char * *,int,class GenericVector const *,class GenericVector const *,bool)" (?init_tesseract_lang_data@Tesseract@tesseract@@QEAA_NPEBD00W4OcrEngineMode@2@PEAPEADHPEBV?$GenericVector@VSTRING@@@@3_N@Z) tesseract D:\tesseract\VS2015_Tesseract\tesseract\tessedit.obj 1
Error LNK2019 unresolved external symbol "public: bool __cdecl tesseract::LSTMRecognizer::DeSerialize(bool,class tesseract::TFile *)" (?DeSerialize@LSTMRecognizer@tesseract@@QEAA_N_NPEAVTFile@2@@z) referenced in function "public: bool __cdecl tesseract::Tesseract::init_tesseract_lang_data(char const *,char const *,char const *,enum tesseract::OcrEngineMode,char * *,int,class GenericVector const *,class GenericVector const *,bool)" (?init_tesseract_lang_data@Tesseract@tesseract@@QEAA_NPEBD00W4OcrEngineMode@2@PEAPEADHPEBV?$GenericVector@VSTRING@@@@3_N@Z) tesseract D:\tesseract\VS2015_Tesseract\tesseract\tessedit.obj 1
Error LNK2019 unresolved external symbol "public: bool __cdecl tesseract::LSTMRecognizer::LoadDictionary(char const *,char const *)" (?LoadDictionary@LSTMRecognizer@tesseract@@QEAA_NPEBD0@Z) referenced in function "public: bool __cdecl tesseract::Tesseract::init_tesseract_lang_data(char const *,char const *,char const *,enum tesseract::OcrEngineMode,char * *,int,class GenericVector const *,class GenericVector const *,bool)" (?init_tesseract_lang_data@Tesseract@tesseract@@QEAA_NPEBD00W4OcrEngineMode@2@PEAPEADHPEBV?$GenericVector@VSTRING@@@@3_N@Z) tesseract D:\tesseract\VS2015_Tesseract\tesseract\tessedit.obj 1
Error LNK2019 unresolved external symbol "public: __cdecl tesseract::LSTMRecognizer::~LSTMRecognizer(void)" (??1LSTMRecognizer@tesseract@@qeaa@XZ) referenced in function "public: void * __cdecl tesseract::LSTMRecognizer::`scalar deleting destructor'(unsigned int)" (??_GLSTMRecognizer@tesseract@@QEAAPEAXI@Z) tesseract D:\tesseract\VS2015_Tesseract\tesseract\tesseractclass.obj 1

Can you kindly assist me in resolving them?

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

No branches or pull requests

2 participants