Here is another code sample In CPP. This is super duper basic.
#include <tesseract/baseapi.h>
#include <leptonica/allheaders.h>
int main()
{
char *outText;
tesseract::TessBaseAPI *api = new tesseract::TessBaseAPI();
return 0;
}
This gives the following error.
..................
error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
--
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/5004b4ee-d406-4e73-9908-1cbb3b268d04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.