You should give definition to compiler. Have a look how it is done with autotools (or VC++ solution if you are familiar with it).
I am not eclipse user (even I tried once to open and compile tesseract project in it. It was smooth as far as I remember) but I would expect that eclipse is able to import autotools project... -- Zdenko On Sun, Nov 18, 2012 at 1:48 AM, Linda Li <[email protected]>wrote: > Thanks. > > Then where should I put > #define USE_STD_NAMESPACE? > > I put it in the tesseractmain.h, but the same error appears: fatal error: > base/commandlineflags.h: No such file or directory > > Sorry if my question is dumb. > Thanks. > > On Friday, November 16, 2012 2:47:50 PM UTC-6, zdenop wrote: >> >> On Fri, Nov 16, 2012 at 3:03 AM, Linda Li <[email protected]> wrote: >> >>> >>> There is no such commandlineflags.h file. >>> >> >> If you would have a look at source, you could see that commandlineflags.h >> is part of conditional inclusion. >> >> How can I solve this problem? >>> >> >> Define identifier USE_STD_NAMESPACE. >> >> -- >> Zdenko >> > -- > 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 > -- 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

