小觅摄像头提供了小觅版的SLAM,编译的时候遇到了这个错误:
-- ~~ traversing 1 packages in topological order:
-- ~~ - mynt_eye_ros_wrapper
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'mynt_eye_ros_wrapper'
-- ==> add_subdirectory(mynt_eye_ros_wrapper)
CMake Error at /opt/ros/melodic/share/cv_bridge/cmake/cv_bridgeConfig.cmake:113 (message):
Project 'cv_bridge' specifies '/usr/include/opencv' as an include dir,
which is not found. It does neither exist as an absolute directory nor in
'${{prefix}}//usr/include/opencv'. 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/melodic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
mynt_eye_ros_wrapper/CMakeLists.txt:36 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/jetson/wcs/MYNT-EYE-S-SDK/wrappers/ros/build/CMakeFiles/CMakeOutput.log".
See also "/home/jetson/wcs/MYNT-EYE-S-SDK/wrappers/ros/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
Makefile:151: recipe for target 'ros' failed
make: *** [ros] Error 1
就像上面说的在/opt/ros/melodic/share/cv_bridge/cmake/cv_bridgeConfig.cmake:113附近大概是94和96行,/use/include/opencv改成/use/include/opencv4
另外还有一个错误没有解决,看到的知道怎么解决麻烦告知一下谢谢
E/synthetic.cc:561 ERROR: no suited processor for disparity computing.
E/synthetic.cc:137 ERROR: no suited processor for stream Stream::LEFT_RECTIFIED
[mynteye/mynteye_wrapper_node-2] process has died [pid 7417, exit code -11, cmd /home/jetson/wcs/MYNT-EYE-S-SDK/wrappers/ros/devel/lib/mynt_eye_ros_wrapper/mynteye_wrapper_node __name:=mynteye_wrapper_node __log:=/home/jetson/.ros/log/b52c291a-524a-11ec-951f-48b02d3cedea/mynteye-mynteye_wrapper_node-2.log].
log file: /home/jetson/.ros/log/b52c291a-524a-11ec-951f-48b02d3cedea/mynteye-mynteye_wrapper_node-2*.log