install pcl1.7.2

it must be the pcl1.7.2, i test the pcl1.7.1 can not pass the bellow steps
 
tar xvfj pcl-pcl-1.7.2.tar.gz

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

cd pcl-pcl-1.7.2 && mkdir build && cd build

Run the CMake build system using the default options:

cmake ..

Or change them (uses cmake-curses-gui):

ccmake ..

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 (see compiler_optimizations):

make -j2

And install the result:

make -j2 install

ps: if it turns up as error description  "Maybe need administrative privileges", you need add sudo and run the above command! as follow:

Or alternatively, if you did not change the variable which declares where PCL should be installed, do:

sudo make -j2 install

Here’s everything again, in case you want to copy & paste it:

cd pcl-pcl-1.7.2 && mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j2
sudo make -j2 install

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值