On Wed, Sep 26, 2012 at 9:57 AM, Nada Feteha <[email protected]> wrote:
> 'try.exe': Loaded 'C:\BuildFolder\lib\liblept168d.dll', Cannot find or open
> the PDB file

The binary releases of leptonica do not supply the PDB files needed to
debug DLL versions. You will need to build the DLL Debug configuration
of Leptonica yourself. See [1] for instructions.

Alternatively, you could use the DLL Release version of tesseract. Or,
with a minor mod to the Solution, build a DLL Debug version of
tesseract that links with the liblept168.dll instead of
liblept168d.dll. You wouldn't be able to step into leptonica functions
in that case.

You could also temporarily use the LIB Debug configuration to do your debugging.

This is the unfortunate result of my not understanding what the /Z7
Visual C++ 2008 compiler switch [2] does. From reading the doc I
assumed that no PDB file would be required, but after v1.68 was
released I discovered that was not the case. I am considering not
bothering to include Debug DLLs in future binary releases since they
are apparently useless without also supplying the pdb (which has
explicit references to locations on my filesystem). Also, frankly, if
you are savvy enough to be using a DEBUG version, then you presumably
also have the source files and might as well build it yourself.

[1] http://tpgit.github.com/UnOfficialLeptDocs/vs2008/building-liblept.html

[2] http://msdn.microsoft.com/en-us/library/958x11bc(v=vs.90).aspx

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

Reply via email to