ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The project's API Samples page gives the proper command-line arguments for building and linking against the tesseract_ocr library: "g++ -o myprogram myprogram.cpp -llept -ltesseract
"
In cmake, you can link against libraries using target_link_libraries()
; cmake will automatically add the -l
flag for you, so all you have to do is:
target_link_libraries(my_tesseract_node lept tesseract)