What do you mean with "some of the libs are not in the vs2010 project"?
I got access to windows7 and with VS2010 computer so I did these
steps/tests:
1. I created tessereact-ocr directory
2. I downloaded and
upzipped tesseract-3.02.02-win32-lib-include-dirs.zip to
tessereact-ocr directory,
so there are directories: tessereact-ocr\lib and tessereact-ocr\include
3. I downloaded and upzipped leptonica-1.68-win32-lib-include-dirs.zip
to tessereact-ocr directory.
4. I downloaded and
upzipped tesseract-ocr-API-Example-vs2008.zip to tessereact-ocr directory.
Now I have there directories:
tessereact-ocr\APIExample\, tessereact-ocr\include\
and tessereact-ocr\lib\
5. then I open APIExample.sln in VS2010 (Express),
confirmed conversion and build it. DLL Release, DLL Debug worked without
problem (e.g. I do not need to change anything). LIB configuration produce
quite a lot of errors, but it is other issue. (As far a I test
it quickly this can be solved by compiling tesseract-ocr within VS2010 - so
it looks like you can not use static tesseract-ocr vs2008 libs in vs2010...)
6. So I modified example code to use Generic vector and I was able to
compile it, but program crashed (Win 7 , tesseract-ocr and example code
build by VS2010).
7. I tried to use the same code in VS2008 (and Windows XP) and it
compiled fine, run fine (no crash) but it did not create output ;-). When I
change mode from OEM_TESSERACT_CUBE_COMBINED to OEM_DEFAULT, than it
produced output :-)
Conclusions:
- if you need example for linking: have a look
at tesseract-3.02.02-win32-lib-include-dirs.zip and steps above
- there was something changed in VS2010 vs VS2008 (or WIN XP vs WIN 7
???) that cause the same code (that use Generic vector) crashes.
Analyse/patch from VS2010 experts is welcomed.
Zdenko
On Wed, Dec 5, 2012 at 5:51 PM, Vantuil Oliveira <[email protected]>wrote:
> Thank you for your help, bus isn't working :(
>
> I tried, some of the libs are not in the vs2010 project.
> So I copied them from the vs2008 project, and still is not working :(
> Someone have any idea?
>
> --
> Vantuil Oliveira
> Tecnólogo em Análise e Desenvolvimento de Sistemas - IFMG Bambuí
> Mestrando em Ciência da Computação - UFOP
> [email protected]
> 031 92078977
> *
> *
>
> --
> You received this message because you are subscribed to the Google
> Groups "tesseract-ocr" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/tesseract-ocr?hl=en
>
--
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en