On Fri, Nov 18, 2011 at 10:34 AM, Jenny Folkesson
<jenny.folkes...@gmail.com> wrote:
> Thanks for your reply, TP.
>
> I've tried adding the definitions you suggested:
> #define __MSW32__
> #define USE_STD_NAMESPACE

I never tried adding it directly to a header file. I define them in
the Project Properties (in the C++  "Preprocessor Definitions").That
way it gets defined everywhere it might be needed.

You might try looking at the attachment to this post in the previously
mentioned thread
http://groups.google.com/group/tesseract-dev/msg/a59952174f78c000 .

While not perfect (again, I trying to finish the readme before posting
a "final" version), it does have an example vs2008 application (just
tesseractmain.cpp with some unneeded stuff removed) that demonstrates
compiling and linking with libtesseract (again assuming you've
downloaded my new single file libtesseract.lib. Read the entire thread
for details).

-- 
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

Reply via email to