1. CMake
-
下载软件包
下载地址
-
解压文件
-
检查依赖
./bootstrap
Q1
:CMake Error at Utilities/cmcurl/CMakeLists.txt:647 (message): Could not find OpenSSL. Install an OpenSSL development package or configure CMake with -DCMAKE_USE_OPENSSL=OFF to build without OpenSSL.
- 安装ssl
sudo apt-get install libssl-dev
- 安装ssl
-
编译
make -j8
-
安装
sudo make install
2. boost
- 下载软件包
下载地址
- 解压压缩包
tar -zxvf xxx.tar.gz
- 编译
./bootstrap.sh --with-libraries=all --with-toolset=gcc
./b2
sudo ./b2 install
删除旧有的环境
sudo rm -f /usr/local/lib/libboost*
sudo rm -rf /usr/local/include/boost
sudo rm -rf /usr/local/lib/cmake/*-1.76.0*
3. pcl
sudo apt-get install libpcl-dev
版本:1.7.2
对应eigen版本:3.2.10
Make Error at /usr/local/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY
OPENGL_INCLUDE_DIR)
sudo apt-get install libgl1-mesa-dev mesa-common-dev libglu1-mesa-dev