I use opencv2.4 on my ubuntu 14.04. I just installed tesseract using "sudo apt-get install libtesseract-dev". I compiled main.cpp and I am getting the error as shown in the screenshot
kindly help!
It seems like you're using C++98. I'm using C++11, which allows things like for each loop. You should try to use C++11 compiler. Not sure how to enable that on your side though
I use opencv2.4 on my ubuntu 14.04. I just installed tesseract using "sudo apt-get install libtesseract-dev". I compiled main.cpp and I am getting the error as shown in the screenshot kindly help!