tesseract
tesseract copied to clipboard
Linking issue when building repository alongside debian release
Recently I have been trying to build the master branch of tesseract
while the distributed version is also installed on my system. However, the build fails where API changes have been made, presumably because catkin
is linking the tesseract
packages in my workspace against the distributed versions in the /opt/ros/noetic
folder rather than the freshly built equivalents in my workspace. If I uninstall the distributed version of tesseract
, my workspace build succeeds.
My expectation was that catkin
would know to look in the workspace for CMake
dependencies before resorting to the /opt
and usr
directories. Is the way that we are exporting, installing or linking the tesseract
packages with ros_industrial_cmake_boilerplate
causing this error?
This issue is the two places where the following were added to solve windows ros build issues. I am going to wrap them with windows compiler def to solve the linux issue.
include_directories(BEFORE ${FCL_INCLUDE_DIRS})
link_directories(BEFORE ${FCL_LIBRARY_DIRS})