随笔分类 -  c++ 基础

摘要:1. 找不到库? make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libIlmImf.so', needed by '../lib/libORB_SLAM2.so'. Stop.CMakeFiles/Makefile2:1 阅读全文
posted @ 2018-06-02 23:14 实事求是>_< 阅读(621) 评论(0) 推荐(0)
摘要:这个系列的博客是是从cmake 官方学来的,相当于是他的中文版吧,原版请看https://cmake.org/cmake-tutorial/ 官方教程有7步,我打算只讲(fanyi)前2步,后面的基本都类似,看官方教程即可。 Step 1:新建一个可执行程序 首先确保你已经安装了cmake 和 g+ 阅读全文
posted @ 2017-11-18 18:41 实事求是>_< 阅读(5034) 评论(0) 推荐(0)
摘要://SLAM 相关,需要用到,于是写了一个...这里只实现了course==,不过想达到fine,也是分分钟可以实现的,哈哈 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include ... 阅读全文
posted @ 2017-11-09 22:52 实事求是>_< 阅读(2207) 评论(0) 推荐(0)
摘要:1 //c++用priority_queue实现最小堆,并求解很多数中的最大的n个数 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 struct Node { 8 double value; 9 int idx; 10 Node (double v, i... 阅读全文
posted @ 2017-11-09 22:39 实事求是>_< 阅读(3314) 评论(0) 推荐(0)