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 -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to tesseract-ocr@googlegroups.com To unsubscribe from this group, send email to tesseract-ocr+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en