Update: I tried to make changes as suggested in a comment on Paul's http://vorba.ch/2014/tesseract-cygwin.html page
It went through that step but then got a different error "off_t' has a previous declaration as 'typedef _off64_t off_t'" I have files these as separate issues. https://code.google.com/p/tesseract-ocr/issues/detail?id=1288&start=100 https://code.google.com/p/tesseract-ocr/issues/detail?id=1289&start=100 On Friday, August 22, 2014 5:51:02 PM UTC+5:30, shree wrote: > > Thanks for the explanation 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/519e5118-fce0-4214-bfcf-bded23c5f9c1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

