ROS
ROS cv_bridge Error
둥H
2021. 6. 11. 15:37
반응형
When I tried to build the workspace, error about cv_bridge is occured.
The error shows about the library link structure.
So I had to check opencv version and correct the lib path for cv_bridge.
I could get the lib path by typing the commend showd upward picture.
And then I need to change the lib path in cv_bridge.
For linking library process, we have to edit cv_bridgeConfig.cmake file
cd /opt/ros/melodic/share/cv_bridge/cmake sudo gedit cv_bridgeConfig.cmake
sudo gedit cv_bridgeConfig.cmake
upward picture shows the cmake file and we can check "_include_dirs" part.
we have to edit the setting of opencv include path to fig.2
It would be like below.
반응형