![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
fly1ng_duck
这个作者很懒,什么都没留下…
展开
-
Cmake 使用没有安装到系统的lib, 如OpenCV4
修改CmakeLists.txt假设 opencv4 安装在/home/user/xxx将 find_packages(OpenCV)在后面加上 find_packages(OpenCV REQUIRED PATHS /home/user/xxx)原创 2022-02-19 03:15:40 · 1936 阅读 · 0 评论 -
Linux Ubuntu16.04 完美环境配置
1.搜狗输入法,直接官网安装,然后language support设置 fcitx ,最后添加language搜狗输入法,我是英文系统所以取消了当前语言设置。最最后重启或者直接log out都行2.terminal 上网,安装proxychains-ng , 最后配置文件修改 端口或者socks5,sudo proxychains4 + curl or whatever you like , ...原创 2019-12-02 01:25:48 · 197 阅读 · 0 评论 -
ubuntu16.04进入登陆界面,但是键盘、鼠标没反应
1. 进入grub 然后选择高级模式进入 recovery mode2.选择enable network3.进入root shell 安装输入程序sudo apt install xserver-xorg-input-all4.reboot就可以了原创 2019-12-01 22:15:04 · 2243 阅读 · 4 评论 -
死锁2
#include <mutex>#include <iostream>class some_big_object{};void swap(some_big_object& lhs, some_big_object& rhs)//如果是fixed order交换,容易死锁{}class X{private: some_big_objec...原创 2018-07-19 10:00:14 · 122 阅读 · 0 评论 -
Cmakelist配置 PCL
find_package( PCL REQUIRED )include_directories( ${PCL_INCLUDE_DIRS} ) # if we linked catkin libraries again this it will cause ld error;link_directories(${PCL_LIBRARY_DIRS})add_definitions(${PC...原创 2018-11-27 15:15:54 · 1616 阅读 · 0 评论 -
gtest在ros下使用
在gtest folder 下编译 1998 sudo apt-get install libgtest-dev 1999 cd /usr/src 2000 ls 2001 cd gtest/ 2002 sudo cmake CMakeLists.txt 2003 sudo make 2004 sudo cp *.a /usr/lib 2005 history...原创 2018-11-27 15:34:43 · 995 阅读 · 0 评论 -
先锋机器人启动失败
rosrun rosaria RosAria 出现问题,报错应该是什么/port parameter 错误, 只需按restart 估计是复位小车里的寄存器, 然后再 rosrun 驱动就可以了原创 2018-12-05 15:39:48 · 248 阅读 · 0 评论 -
Git 去除那些没tracked到的文件
git clean -i -fdRemove .classpath [y/N]? NRemove .gitignore [y/N]? NRemove .project [y/N]? NRemove .settings/ [y/N]? NRemove src/com/amazon/arsdumpgenerator/inspector/ [y/N]? yRemove src/com/a...原创 2019-04-30 15:36:17 · 567 阅读 · 0 评论 -
系统空间不够了 移除docker image
要想移除docker image ,首先移除docker containersdocker ps -a 显示所有containersdocker rm $(docker ps -a ) 移除所有docker images -a 显示所有imagesdocker rmi $(docker images -a ) 移除所有 当然 以上都是可以单个移除的 只要列出单个ID即可...原创 2019-04-30 15:39:35 · 827 阅读 · 0 评论 -
安装glog的terminal 出现了个问题 就是NEWS不见了,直接新建个NEWS
booney@TitanXSLI:~/Dev/Github/glog$ ./autogen.shMakefile.am: error: required file './NEWS' not foundautoreconf: automake failed with exit status: 1booney@TitanXSLI:~/Dev/Github/glog$ ./autogen.shboone...原创 2018-07-05 19:48:18 · 1411 阅读 · 1 评论 -
Linux shell
shell就是个脚本解释器集合.sh就是脚本文件。可以理解为一个小程序然后这个小程序还需要解释器,#!指定解释器#!/bin/bashecho "Hello World !"或者直接commandline指定/bin/sh test.sh/bin/php test.php...原创 2018-07-05 18:52:14 · 87 阅读 · 0 评论 -
关于NVIDIA在Ubuntu下的驱动
查看了NVIDIA的驱动好像,Ubuntu在起始安装的时候就装好了 但是看不到因特尔的集显 ,然后面板显示的是NV106原创 2018-07-10 10:13:04 · 197 阅读 · 0 评论 -
nohup和杀掉进程
看了个油管 视屏 so let 's type sleep 100&and then type fg to see the background and then we can press ctrl C to terminate that process.so whit if we type nohup sleep 200pgrep sleep checking for the slee...原创 2018-04-16 21:14:52 · 2145 阅读 · 0 评论 -
linux 莫名其妙出现什么crawling and gvfs denied 错误
https://answers.ros.org/question/76896/permission-denied-gvfs/ 按照这个老哥的把这个删除了 就好了原创 2018-04-16 21:40:07 · 117 阅读 · 0 评论 -
vim without the authority to modify the file
I am trying to edit sources.list using vi editor but getting the following error while saving the file:/etc/apt/sources.list" E212: Can't open file for writingvi ubuntu-11.04shareimprove this questio...原创 2018-04-20 18:32:58 · 160 阅读 · 0 评论 -
install qt creator
1.go to the qt website for downloads 2.select a version need to be opensource 3.chmod +x .run file 4 ./run file原创 2018-07-02 15:42:28 · 85 阅读 · 0 评论 -
ceres install
1.ceres-solver website2.follow the comandlines provided3.git clone the github version directory 4.cmake 5.if you don't have the data folder cause the github version have not provided it原创 2018-07-02 16:50:52 · 232 阅读 · 0 评论 -
Ubuntu搜狗输入法安装
1.先去官网下载deb文件2.双击deb 然后在Ubuntu software 那里安装3.安装一个叫做fcitx的插件和其依赖项4.在system setting那里设置好fcitx5.重启原创 2018-07-02 19:08:44 · 103 阅读 · 0 评论 -
#include "Eigen/core" 与#include “eigen3/Eigen/core"
由于eigen库的安装都是把头文件放在eigen3这个目录下的,但是ceres等库的头文件都是includeEigen/core的所以查了很多方法都没有效果,比如说设置g++之类 还有建立 软映射 ln -sf 编译器都没有通过,最后一个很简单的方法就是直接在cmakelist 上 include_directories (绝对路径)这样IDE就编译过了 但是还是出现一堆bug...原创 2018-07-02 21:04:41 · 9715 阅读 · 0 评论