can't find libopencv_viz.so.3.3.1?

1 I finished all the os and sdk install process
2 when i compline program,error fellows:

Make [2]: there is no rule to make the target “/ usr / lib / aarch64 Linux GNU / libopencv_viz. So. 3.2.0”, which is required by “/ home / cpilab / catkin_ws / devel_isolated / apriltag_ros / lib / libapriltag_ros_common. So” Stop it.

3 I try to use commed such as

sudo ln -s /usr/lib/libopencv_viz.so.3.3.1 /usr/lib/aarch64-linux-gnu/libopencv_viz.so.3.2.0

4 but i can’t find “libopencv_viz.so.3.3.1” in the usr/lib

5 can i use the commend "sudo apt install libopencv_viz…“to sovle this? dose this commed make effect to the “ros-melodic” or “opecv”,last time,after i do this,my opencv seems broken,i can’t use"pkg-config --modversion opencv”,so i dont know how to this?

it seems that you are trying ROS;
you may try looking if you have the file at all is in place at your system, and if it exists you will adjust PATH accordingly, otherwise install it somehow.

sudo apt-get install mlocate
sudo updatedb
locate  libopencv_viz.so
1 Like