El sábado, 24 de noviembre de 2012, 19:30:25 (UTC-6), Minjie Zheng escribió: > > Okay, I have spent literally two days trying to get tesseract to work in > VS2012. No matter what I do, my programs would not execute. It compiles > without error. It always say "The application was unable to start correctly > (0xc0150002)." Using dependency walker, I found that both libtesseract and > liblepton are looking for MSVCR90D.dll, which I obviously don't have since > I don't have VS2008. > > So I tried to recompile both libtesseract and liblepton with > VS2012. libtesseract302 compiled fine under VS2012 and it now works with > MSVCR110D.dll. However, I can't get liblepton to compile. I have zlib, > lpng, jpeg-8c all compiled with VS2012. But when I try to compile > tiff-3.9.4 following instruction here > http://www.leptonica.org/vs2008doc/building-image-libraries.html. cl.exe > just returns an error 0xc0150002, which was the same error with my new > program. >
> Unable to compile liblepton with MSVCR110D, I thought maybe I'll just > statically link my project to the libraries. Under my project > properties->linker->Input->Additional Dependencies, I > put libtesseract302-static-debug.lib liblept168-static-mtdll-debug.lib. > However, now my project won't even compile. It throws over 100 errors in > both libs. Am I not linking the static library correctly? I'm completely > out of ideas as to how to proceed. Any help would be appreciated. > tesseract only works with vs2008 -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscr...@googlegroups.com. To post to this group, send email to tesseract-ocr@googlegroups.com. Visit this group at http://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/f6baf9e1-3c64-4ea5-b42c-85a4df078c74%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.