Hello,
Environment
   
   - 
   
   Tesseract Version:
   tesseract 4.00.00dev
   leptonica-1.75.3 (Feb 20 2018, 16:23:57) [MSC v.1911 LIB Debug x64]
   libgif 5.1.4 : libjpeg 9b : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11 
   : libwebp 0.6.1 : libopenjp2 2.3.0
   - 
   
   Platform:
   Platform: Windows 7 64-bit
   Visual Studia 2017
   
Current Behavior:

I tried to use tesseract in CLI/C++ project.
When I include tesseract I got the following error:

1>MSVCRT.lib(throw_bad_alloc.obj) : error LNK2005: "public: virtual char 
const * __cdecl std::exception::what(void)const " 
(?what@exception@std@@uebapebdxz) already defined in 
tesseract400d.lib(tesseract400d.dll)
1>C:\Projects\BaseCRT_OCR\x64\Release\BaseCRT_OCR.exe : fatal error 
LNK1169: one or more multiply defined symbols found
1>Done building project "BaseCRT_OCR.vcxproj" -- FAILED.

For console project tesseract is work fine.

Is It possible use tesseractOCR in CLI/C++ project?

Note: tesseract has been buildet via cppan accordingto wiki.


Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/6c449aa6-7df3-44a9-af51-b0d83a6d3517%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to