c++ - How to dynamically include libs in Visual Studio 2013 -


i followed this guide compile debug dlls tesseract

now got ddls include in project. added lib directory in linker/lib dir, lib name in linker/input , in include dir put location of "baseapi.h". included in project "baseapi.h".

however compile errors when try example compile following line:

tesseract::tessbaseapi *myocr = new tesseract::tessbaseapi();  

i lot of errors intellisense:

variable "tesseract::tess_local"  intellisense: declaration has no storage class or type specifier.  

the files following:

looking @ library's code, tess_local macro used before several function definitions inside api/baseapi.h, defined in ccutil/platform.h.

if you'd followed the instructions, you'd have seen need to:

include leptonica’s allheaders.h, , tesseract-ocr’s baseapi.h , strngs.h.

this pull in need.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -