exactae
unread,Oct 24, 2011, 7:47:36 PM10/24/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tesseract-ocr
I've downloaded, compiled, and tested tesseract 3.01 from the
commandline and would now like to begin testing using TessBaseAPI.
(note: build system is Windows MS vs2010 - using the provided .sln
file)
I think there is some basic configuration problem that I'm
missing...I'd sure appreciate a pointer to current instructions for
using TessBaseAPI in v3.01.
Following the instructions that I've found, the first step is to
include "baseapi.h". So, I add the "baseapi.h" location in the "api"
folder to the include path.
As soon as I inlcude "baseapi.h", I get
c:\tesseract-3.01\api\apitypes.h(23): fatal error C1083: Cannot open
include file: 'publictypes.h': No such file or directory
So, I find "publictypes.h" in the "ccstruct" folder and add this
location to include directories.
Then, I get the same problem with "genericvector.h" not found.
Finally, after adding these include folders:
"../../tesseract-3.01/api/;../../tesseract-3.01/ccmain/;../../
tesseract-3.01/ccutil/;../../tesseract-3.01/ccstruct/;"
I end up with type def problems:
1>c:\contentdev\imaging\main\libraries\tesseract-3.01\ccutil
\host.h(123): error C2146: syntax error : missing ';' before
identifier 'inT64'
1>c:\contentdev\imaging\main\libraries\tesseract-3.01\ccutil
\host.h(123): error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int
1>c:\contentdev\imaging\main\libraries\tesseract-3.01\ccutil
\host.h(123): error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int
1>c:\contentdev\imaging\main\libraries\tesseract-3.01\ccutil
\host.h(124): error C2146: syntax error : missing ';' before
identifier 'uinT64'
1>c:\contentdev\imaging\main\libraries\tesseract-3.01\ccutil
\host.h(124): error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int
1>c:\contentdev\imaging\main\libraries\tesseract-3.01\ccutil
\host.h(124): error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int