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
Post a Comment