lastools centos

2023-10-24  本文已影响0人  hehehehe

g++升级

sudo yum install centos-release-scl
sudo yum install devtoolset-8
scl enable devtoolset-8 bash
g++ --version


vim  ~/.bashrc
source scl_source enable devtoolset-8
source ~/.bashrc

cmake 升级

yum install -y epel-release
yum install -y cmake3
[root@c82537865a3c /]# cmake3 --version
cmake3 version 3.17.5

wget https://github.com/LAStools/LAStools/archive/refs/tags/v2.0.2.tar.gz
tar -zxvf v2.0.2.tar.gz
cd LAStools-2.0.2/
cmake3 . -DBUILD_SHARED_LIBS=ON
make -j8

上一篇 下一篇

猜你喜欢

热点阅读