sudo apt-get install \\ git \\ cmake \\ ninja-build \\ build-essential \\ libboost-program-options-dev \\ libboost-filesystem-dev \\ libboost-graph-dev \\ libboost-system-dev \\ libeigen3-dev \\ libflann-dev \\ libfreeimage-dev \\ libmetis-dev \\ libgoogle-glog-dev \\ libgtes...
ubuntu的命令行,另一个残破的地方在于,各种包总是喜欢私自添加lib前缀,比如,好好的opencv,非得要libopencv才行(全名并不是libopencv和oepncv,通常都是用-dev或-devel各种的包) fatal error: glog/logging.h: 没有那个文件或目录 尝试apt-get install glog,妈蛋,没有。要这样: sudo apt-get install libgoogle...
sudo apt-get install -y libopenblas-dev libatlas-base-dev libblas-dev sudo apt-get install -y liblapack-dev liblapacke-dev libeigen3-dev gfortran sudo apt-get install -y libhdf5-dev protobuf-compiler sudo apt-get install -y libprotobuf-dev libgoogle-glog-dev libgflags-dev # remove ol...
sudo apt install libc6-dev sudo apt install libelf-dev sudo apt install bison sudo apt install flex sudo apt install linux-generic sudo apt install dkms sudo apt install build-essential linux-headers-generic sudo apt install build-essential xserver-xorg-dev pkg-config linux-headers-`uname -r`...
sudo apt-get install -y libprotobuf-dev libgoogle-glog-dev libgflags-dev # remove old versions or previous builds cd~ sudo rm -rf opencv* # download the latest version wget -O opencv.zip https://github.com/opencv/opencv/archive/4.5.4.zip ...
sudo apt install python-rosdep2 1. 2. //还是找不到命令请输入: sudo apt install python3-rosdep2 1. 2. (这是因为ubuntu20.04一般只预装python3,因此第二条指令往往可以解决这个问题) 再运行sudo rosdep init 即可 c)错误2:ERROR: cannot download default sources list from:https : //http://raw.gi...