I'm using latest dev version 3.05.00dev and I used peirick/leptonica 
(https://github.com/peirick/leptonica) to build libtesseract.dll and 
liblept.dll with Visual Studio 2015.
However, the resulting DLLs I'm using in Embarcadero C++ Builder 10.1 after 
I created the import libs with implib. And after doing some more debugging 
it looks like I found the reason: in baselinedetect.cpp there is this code:
  for (int i = 0; i < positions.size(); ++i)
     offsets.push_back(fmod(positions[i], *m_out));

In some cases *m_out can be 0.0 causing fmod to return 'nan' on Visual 
Studio projects but causing an 'floating point invalid operation' on 
C++Builder projects.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/837e6c33-c468-431d-9825-69aea40cbff1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to