Console command also has opencv libraries and code has opencv headers included, you dont need them.
2011/11/13 Merve Temizer <[email protected]> > Hello, > > I attached a cpp file which i tried something with it. It is not a tidy > code but i think you can find some clues on how to use api directory of > tesseract. > Below is the console command on linux that i use to compile this cpp file > > g++ deneme234.cpp -I /usr/include/opencv -L/usr/lib > -L/usr/lib/pyshared/python2.7/opencv -lcxcore -lcv -lhighgui -lcvaux -I > /usr/include -I /usr/local/include/leptonica -I /usr/include/leptonica -I > /usr/local/include -I /usr/local/include/tesseract -L/usr/local/lib -I ./ > -ltesseract_api -ltesseract_textord -ltesseract_main -ltesseract_wordrec > -ltesseract_classify -ltesseract_dict -ltesseract_viewer -ltesseract_ccutil > -ltesseract_ccstruct -ltesseract_cutil -ltesseract_image -ltiff -lpthread > -L ./ -g -O0 -o deneme2346 > > > > 2011/11/13 zdenko podobny <[email protected]> > >> >> >> On Sun, Nov 13, 2011 at 5:32 AM, cyrt <[email protected]> wrote: >> >>> Could someone please explain how I can use tesseract in c++? >> >> >> use api/tesseractmain.cpp api/tesseractmain.h as example >> >>> I >>> downloaded the source files via svn and compiled the solution. Which >>> libraries do I now have to link and where do I find an include >>> directory containing all necessary header files? >>> >> officially there is no windows library solution yet. >> >> But have a look at developer forum - there are information with proposed >> solution for library on windows. >> >>> >>> -- >>> 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 >> > > -- 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

