|
-
October 4th, 2018, 05:39 AM
#31
Re: Using Tesseract in MFC
 Originally Posted by 2kaud
You are redefining the symbol DLLSYM.
Try just
Code:
debug_file = "C:\\Flaviu\\test.txt";
I have tried that, the test.txt file is still empty ... I am not get it ... I have compiled leptonica, and tesseract library successfully, included inside my project, no error, still, the following simple code is not working:
Code:
if (0 != api.Init(NULL, NULL))
{
m_sState.Format(_T("tesseract initialize error. last error: %d"), GetLastError());
::SendMessage(theApp.m_pMainWnd->GetSafeHwnd(), WM_SETMESSAGESTRING, 0, (LPARAM)(LPCTSTR)m_sState);
}
// tesseract initialize error. last error: 3
strange ... I guess is about configuring tesseract ? However, they were compiled successfully ... with no error, the same platform, the same settings ...
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|