반응형
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.
반응형
'ROS' 카테고리의 다른 글
Ubuntu에서 기존 설치된 OpenCV 삭제 및 재설치 (0) | 2021.03.11 |
---|---|
VINS-MONO (0) | 2021.03.09 |
Realsense D435i Rtabmap (0) | 2021.03.09 |
RPLIDAR A3 실행(Hector SLAM In ROS) (0) | 2021.02.02 |
Ubuntu에서 ROS를 통해 Intel Realsense D435i 사용하기 (1) | 2021.01.06 |