Install PCL 1.13.0 in Ubuntu 20.04

该文指导如何在Ubuntu20.04系统上从源代码编译安装PointCloudLibrary(PCL)的1.13.0版本。首先从GitHub下载源码,解压后进入目录创建build文件夹。接着使用CMake配置构建类型为Release的编译环境,然后用make-j2进行编译,最后执行makeinstall进行安装。
摘要由CSDN通过智能技术生成

Install PCL 1.13.0 in Ubuntu 20.04

01 Mar 2023

For systems for which we do not offer precompiled binaries, you need to compile Point Cloud Library (PCL) from source. Here are the steps that you need to take: Go to Github and download the version number of your choice. Uncompress the tar-bzip archive, e.g. (replace 1.13.0 with the correct version number):

tar xvfj pcl-pcl-1.13.0.tar.gz

Change the directory to the pcl-pcl-1.13.0 (replace 1.13. with the correct version number) directory, and create a build directory in there:

cd pcl-pcl-1.13.0 && mkdir build && cd build

Please note that cmake might default to a debug build. If you want to compile a release build of PCL with enhanced compiler optimizations, you can change the build target to “Release” with “-DCMAKE_BUILD_TYPE=Release”:

cmake -DCMAKE_BUILD_TYPE=Release ..

Finally, compile everything

make -j2

And install the result:

make install
  • 2
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
Ubuntu 20.04安装PCL(点云库)时,可以按照以下步骤进行操作: 1. 首先,确保已安装所需的依赖项。可以使用以下命令安装PCL的依赖项: ``` sudo apt-get install libflann1.9 libflann-dev libvtk7.1p-qt libvtk7.1p libvtk7-qt-dev qt-sdk ``` 2. 下载PCL的最新版本。可以使用以下命令克隆PCL的GitHub仓库: ``` git clone https://github.com/PointCloudLibrary/pcl.git ``` 3. 进入PCL的源代码目录,并进行编译。可以按照以下步骤进行操作: ``` cd pcl mkdir build cd build cmake .. make sudo make install ``` 4. 完成编译后,可以进行验证。可以使用以下命令进行验证: ``` pcl_viewer ``` 以上是在Ubuntu 20.04安装PCL的一般步骤。请根据您的具体需求和环境进行相应的调整。\[1\]\[2\]\[3\] #### 引用[.reference_title] - *1* [【UbuntuPCL】Ubuntu20.04安装PCL](https://blog.csdn.net/qq_44324181/article/details/120827256)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* *3* [Ubuntu 20.04安装PCL](https://blog.csdn.net/weixin_41836738/article/details/121451965)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值