У меня было много проблем с установкой opencv, и в процессе я случайно удалил папки opencv в / usr / include . Как мне восстановить их правильным способом, чтобы следующая ошибка не возникала при попытке catkin_make моих рабочих пространств ros?
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Error at /opt/ros/noetic/share/cv_bridge/cmake/cv_bridgeConfig.cmake:113 (message):
Project 'cv_bridge' specifies '/usr/include/opencv4' as an include dir,
which is not found. It does neither exist as an absolute directory nor in
'${{prefix}}//usr/include/opencv4'. Check the issue tracker
'https://github.com/ros-perception/vision_opencv/issues' and consider
creating a ticket if the problem has not been reported yet.
Call Stack (most recent call first):
/opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
LeGO-LOAM/LeGO-LOAM/CMakeLists.txt:8 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/lukas/workspace/catkin_ws_legoloam/build/CMakeFiles/CMakeOutput.log".
See also "/home/lukas/workspace/catkin_ws_legoloam/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:320: cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
Можно ли скопировать папки из / usr / local / include в / usr / include так как у меня остались те, которые остались после успешной установки, или это приведет к проблемам?