- 博客(4)
- 收藏
- 关注
原创 Ubuntu18.04+ROS+OpenCV4.5.x编译时报错terminate called after throwing an instance of ‘cv::Exception‘解决方法
在Ubuntu18.04+ROS+OpenCV4.5.x环境下编写简单代码测试OpenCV。在调用catkin_make编译后报错如下。Failed to load module "xxxxxxxxxxxxxxxxxx" terminate called after throwing an instance of 'cv::Exception'出现的问题是ROS无法调用部分OpenCV函数。原因是自己手动安装了OpenCV4.5.x等其他非ROS自带的版本。ROS在调用时出错。
2022-10-11 18:25:09
2274
原创 运行catkin build失败,提示catkin:未找到命令解决方法
原因:catkin build缺少catkin_tools导致失败。终端输入sudo apt-get install python3-catkin-tools安装成功即可正常运行catkin build如果出现报错:E: 无法定位软件包 python3-catkin-tools安装失败,可使用pip进行安装先安装pipsudo apt install python3-pip再安装catkin_toolssudo pip3 install -U catkin_to
2022-04-28 22:56:44
10165
2
原创 Ubuntu中Clion编译CMakeLists.txt报错
在使用Clion进行ROS开发时编译CMakeLists.txt出现以下报错CMake Error at CMakeLists.txt:65 (message):find_package(catkin) failed. catkin was neither found in the workspace norin the CMAKE_PREFIX_PATH.One reason may be that no ROSsetup.sh was sourced before.原因:Clion软件..
2022-04-03 15:53:48
2868
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人