Thank you, I will try that next week. Like I said I am using static libs, not .dlls, for everything except my final wrapping .dll So all the leptonica, giflib, tessearct, etc. are referenced as static libs when I build my wrapper .dll. And of those static libs, tessearct was rebuilt in VS2010, but leptonica and the support libraries are the original VS2008 ones.
Correct me if I'm wrong, but the point of that StackOverflow link, which I've seen before, discusses the hazards of linking with .dlls built in different versions, and mentions specifically that it seems to work when linking the static libs. And that echos what the unofficial leptonica documentation says as well - "Programs built with Visual Studio 2010 can link with the static binary libraries supplied in the liblept Visual Studio 2008 pre-built binaries for Windows archive." - http://tpgit.github.com/UnOfficialLeptDocs/vs2008/vs2010-notes.html Though I guess even if that's not true, if I just continue to rebuild everything (leptonica, giflib, etc.) all in VS2010, then theoretically at the very least there shouldn't be any weird cross crt library issues. At any rate, thanks for the help - NOT doing this one over Christmas lol :) On Thursday, December 20, 2012 9:42:13 AM UTC-5, TP wrote: > > On Wed, Dec 19, 2012 at 6:33 AM, occorled <[email protected] <javascript:>> > wrote: > > Do you think rebuilding the giflib from scratch with VS2010 would make > any > > difference? > > I ran into huge headaches when first testing leptonica with VS2010, > which led me to discover all sort of things about linking with > incompatible runtime libraries [1]. > > Forget about C# and tesseract for now, and just try with a simple > leptonica C program. Like I said, try to build and run gifio_reg > first. > > [1] > http://stackoverflow.com/questions/4171403/using-visual-studio-2010-how-can-one-link-to-a-dll-generated-by-visual-studio-2 > > -- 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

