반응형

When I tried to build the workspace, error about cv_bridge is occured.

 

fig.1

 

The error shows about the library link structure.

So I had to check opencv version and correct the lib path for cv_bridge.

fig.2

 

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

 

 

fig.3

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.

 

반응형

+ Recent posts