ORB-SLAM3编译问题 recipe for target ‘CMakeFiles/ORB_SLAM3.dir/src/LocalMapping.cc.o‘ failed
编译 ORBSLAM3 时遇到的报错,没有其他提示。ubuntu18.04
CMakeFiles/ORB_SLAM3.dir/build.make:110: recipe for target 'CMakeFiles/ORB_SLAM3.dir/src/LocalMapping.cc.o' failed
make[2]: *** [CMakeFiles/ORB_SLAM3.dir/src/LocalMapping.cc.o] Error 1
CMakeFiles/Makefile2:289: recipe for target 'CMakeFiles/ORB_SLAM3.dir/all' failed
make[1]: *** [CMakeFiles/ORB_SLAM3.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
解决方法:
添加以下代码到ORB_SLAM3-master/include/CameraModels/KannalaBrandt8.h
namespace cv
{
template<typename _Tp, int m, int n> static inline Matx<_Tp, m, n> operator / (const Matx<_Tp, m, n>& a, float alpha)
{return Matx<_Tp, m, n>(a, 1.f / alpha, Matx_ScaleOp());
}
}
如下图
另外编译时容易卡死,build.sh里make后去掉-j4 -j等多线程选项
ORB-SLAM3编译问题 recipe for target ‘CMakeFiles/ORB_SLAM3.dir/src/LocalMapping.cc.o‘ failed相关推荐
- 【SLAM编译错误】CMakeFiles/Makefile2:252: recipe for target 'CMakeFiles/stereo_kitti.dir/all' failed
类型转换错误 错误关键词: recipe 错误提示比如: make[2]: *** [CMakeFiles/stereo_kitti.dir/Examples/Stereo/stereo_kitti. ...
- pcl的安装错误和高翔第5讲程序编译错误recipe for target 'all' failed
今天编译程序的时候 遇到了这个错误: Makefile:149: recipe for target 'all' failed 之前其实安装pcl时也遇到过,但是以为是资源或者一些小原因,就只是照着网 ...
- ubuntu在编译opencv3.4.1遇到[modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/dls.cpp.o]错误
记录ubuntu编译 opencv3.4.1 时遇到的错误 需要安装这个包 libopenexr-dev 参考相关博主的博文,以下是链接 (69条消息) ubuntu编译opencv3.4.1遇到 ...
- CMakeFiles/species.inc.dir/build.make:57: recipe for target 'CMakeFiles/species.inc' failed
新装的WSL编译2017.3.4版本的mfix,只要涉及到带化学反应的就会报错: 由于之前从没遇到过,对cmake又不熟悉,所以有些摸不着头脑,后来仔细查看报错提示,发现是在CMakeFiles/sp ...
- recipe for target 'CMakeFiles/check' failed
这个错误信息通常表示 CMake 编译过程中出现了问题,导致目标 "CMakeFiles/check" 的编译失败.原因可能是 CMakeLists.txt 文件中的语法错误,或者 ...
- Ubuntu 14.04编译opencv_videoio.dir/src/cap_gstreamer.cpp报错
今天在研究AR_ToolKit,它需要搭建OpenCV的环境.于是下载了OpenCV的源码进行编译(下载方法就是直接git克隆git clone https://github.com/opencv/o ...
- ROS(kinetic)报错:CMakeFiles/Makefile2:9038: recipe for target ‘XXX‘
环境:windows10+vmware虚拟机ubuntu16.04+knietic 问题描述: catkin_make编译时报错:CMakeFiles/Makefile2:9038: recipe ...
- 编译linux内核报错,/bin/sh: 1: flex: not foundscripts/Makefile.host:9: recipe for target ‘scripts/kconfig/
linux kernel 编译报错,执行make menuconfig,报错如下: HOSTCC scripts/basic/fixdep UPD scripts/kconfig/mco ...
- 在Ubuntu下,编译Kernel报错:Makefile:xxx: recipe for target 'xxx' failed
**在Ubuntu下,编译Kernel报如下错误:** Makefile:xxx: recipe for target 'xxx' failed make[2]:***[arch/arm/boot/c ...
- 编译内核出错:/bin/sh: 1: bison: not found scripts/Makefile.lib:196: recipe for target ‘scripts/kconfig/zco
问题: book@book-VirtualBox:~/project/s3c2440/linux-4.19-rc3$ make menuconfig YACC scripts/kconfig/zcon ...
最新文章
- Web性能压力测试工具——Siege详解
- 【转】MFC下用ADO连接SQL SERVER,保存图片,BLOB
- UA OPTI501 电磁波 LIH介质中的平面波1 平面波的性质
- submit按钮html,html的两种提交按钮submit和button
- Linux文件系统与日志分析(inode、inode节点耗尽故障处理、文件备份和恢复、日志文件管理)
- SharePoint工作流开发点滴(2) - 开发第一个SharePiont工作流: HelloWorldSequential 的注意事项...
- matlab读取suffer,MATLAB调用surfer时出错
- linux如查看是否安装了mysql_linux中如何查看mysql是否安装
- Pycharm 入门问题
- eclipse ssh mysql_Eclipse 配置SSH 详解
- Lombok不起作用原因
- linux的显示器设置
- C语言中的free函数
- 如何设计一款智能烧烤锅?
- 一些好用的APP推荐给你
- 一、CDD在诊断开发中的作用
- 微信小程序苹果iOS长按图片无法转发、发送给朋友、保存,它们无效的解决办法
- 壁纸 - 4K高清壁纸大全
- xp无法访问win7计算机,解决XP不能访问win7共享文件的方法
- 用户与OA厂商:一荣俱荣,一损俱损