I am new to Linux programming, I am trying create an OCR application on Ubuntu 12.10 using Tesseract and OpenCV. So far I have setup tesseract and OpenCV on linux also I have followed this tutorial, in this tutorial I found it very easy that we create one file CMakeList.txt and link OpenCV in it.
Now I am trying to compile tesseract-ocr library with this code. As I know I did not make a link between tesseract-ocr and my code and thats why I am having errors.
All I want and searching for is if I can link Tesseract and OpenCV using CMake in one file, if it is possible. A tutorial would be good as I am totally new to Linux. Thanks in advance