Thanks for the explantion regarding ./, Nick. I get it, now.
The actual error during compile that I got was:
ambigs.cpp: In member function 'bool
tesseract::UnicharAmbigs::ParseAmbiguityLine(int, int, int, const
UNICHARSET&, char*, int*, UNICHAR_ID*, int*, char*, int*)':
ambigs.cpp:273:63: error: 'strtok_r' was not declared in this scope
if (!(token = strtok_r(buffer, kAmbigDelimiters, &next_token)) ||
^
ambigs.cpp:285:63: error: 'strtok_r' was not declared in this scope
if (!(token = strtok_r(NULL, kAmbigDelimiters, &next_token))) break;
^
ambigs.cpp:295:61: error: 'strtok_r' was not declared in this scope
!(token = strtok_r(NULL, kAmbigDelimiters, &next_token)) ||
^
ambigs.cpp:308:63: error: 'strtok_r' was not declared in this scope
if (!(token = strtok_r(NULL, kAmbigDelimiters, &next_token))) break;
^
ambigs.cpp:329:63: error: 'strtok_r' was not declared in this scope
if (!(token = strtok_r(NULL, kAmbigDelimiters, &next_token)) ||
This is the code where the error is:
#ifdef WIN32#ifndef __GNUC__#define strtok_r strtok_s#else#include
"strtok_r.h"#endif /* __GNUC__ */#endif /* WIN32 */
The following seems to show that the file exists in vs2010 folders.
-
http://code.metager.de/source/history/google/tesseract-ocr/vs2010/port/strtok_r.h
Would it also be available during compile under mingw/msys or cygwin?
On Thursday, August 21, 2014 6:39:41 PM UTC+5:30, Nick White wrote:
>
> On Thu, Aug 21, 2014 at 01:41:23PM +0530, Shree Devi Kumar wrote:
> > Hi Zdenko,
> >
> > ./ confusing for me :-)
>
> :-) ./ is a common idiom for unix. '.' means 'current directory', so
> ./ means 'in the current directory'. You have to do it to run
> programs in the current directory (or just do something like 'sh
> autogen.sh', as you did), so you don't cd to a directory containing
> malicious or weird programs and inadvertantly run them when you're
> trying to run standard system programs.
>
> Nick
>
--
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 http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tesseract-ocr/611bede6-6a6d-40fa-993c-db27d2ec6970%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.