当前位置: 首页 > news >正文

导游是什么靠谱seo整站优化外包

导游是什么,靠谱seo整站优化外包,物联网平台的作用,便宜机票的网站建设1 apt安装 ubuntu20.04及以上版本下可以直接通过apt方式安装pcl编译好的二进制文件,二进制安装的版本为1.10。 sudo apt update sudo apt install libpcl-dev 2 源码安装 在pcl的github上下载对应的版本进行安装: https://github.com/PointCloudLibrary/pcl/rel…

1 apt安装

ubuntu20.04及以上版本下可以直接通过apt方式安装pcl编译好的二进制文件,二进制安装的版本为1.10。

sudo apt update
sudo apt install libpcl-dev

2 源码安装

在pcl的github上下载对应的版本进行安装:

https://github.com/PointCloudLibrary/pcl/releases

本例程使用pcl-1.12.1为默认版本进行学习,下载如下图的版本即可;注意不是pre-release预览版哦。

sudo apt-get update
sudo apt-get install git build-essential linux-libc-dev
sudo apt-get install cmake cmake-gui
sudo apt-get install libusb-1.0-0-dev libusb-dev libudev-dev
sudo apt-get install mpi-default-dev openmpi-bin openmpi-common
sudo apt-get install libflann1.9 libflann-dev 
sudo apt-get install libeigen3-dev
sudo apt-get install libboost-all-dev
sudo apt-get install libqhull* libgtest-dev
sudo apt-get install freeglut3-dev pkg-config
sudo apt-get install libxmu-dev libxi-dev
sudo apt-get install mono-complete
sudo apt-get install libopenni-dev
sudo apt-get install libopenni2-dev
sudo apt-get install libomp-dev# 首先安装VTK的依赖:X11,OpenGL;cmake和cmake-gui在安装pcl依赖的时候安装过了的话可以跳过
# X11
sudo apt-get install libx11-dev libxext-dev libxtst-dev libxrender-dev libxmu-dev libxmuu-dev
# OpenGL
sudo apt-get install build-essential libgl1-mesa-dev libglu1-mesa-dev
# cmake && cmake-gui
sudo apt-get install cmake cmake-gui

1 解压下载的文件后,cmake可能默认为debug模型进行编译,因此此处加上了-DCMAKE_BUILD_TYPE=Release。

mv pcl pcl-1.12.1
cd pcl-1.12.1
mkdir install
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/填写你自己的pcl根目录路径/pcl-1.12.1/install .. \
-DBUILD_apps=ON \
-DBUILD_examples=ON# 如果需要pcl支持显卡的cuda加速,可以加上-DBUILD_GPU=ON命令,但需要安装cuda相关库make -j8
sudo make install

clion调试PCL源码可以按照如下设置

3 项目中使用PCL

完成上述编译操作后

在工程下创建如下文件:pcd_write.cpp

#include <iostream>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/common/common.h>int main(int argc, char **argv) {pcl::PointCloud<pcl::PointXYZ> cloud;// Fill in the cloud datacloud.width = 5;cloud.height = 1;cloud.is_dense = false;cloud.points.resize(cloud.width * cloud.height);for (auto &point: cloud) {point.x = 1024 * rand() / (RAND_MAX + 1.0f);point.y = 1024 * rand() / (RAND_MAX + 1.0f);point.z = 1024 * rand() / (RAND_MAX + 1.0f);}for (auto &point: cloud) {std::cout << point.x << point.y << point.z << std::endl;}pcl::io::savePCDFileASCII("test_pcd.pcd", cloud);std::cerr << "Saved " << cloud.size() << " data points to test_pcd.pcd." << std::endl;for (const auto &point: cloud)std::cerr << "    " << point.x << " " << point.y << " " << point.z << std::endl;return (0);
}

并在同级目录创建CMakeLists.txt 

cmake_minimum_required(VERSION 3.2 FATAL_ERROR) # #对于cmake版本的最低版本的要求project(pcd_write) #  建立的工程名,例如源代码目录路径的变量名为CH_DIR#因为PCL是模块化的,也可以如下操作:
#           一个组件  find_package(PCL 1.12 REQUIRED COMPONENTS  io)
#           多个组件  find_package(PCL 1.12 REQUIRED COMPONENTS commom io)
#           所有组件  find_package(PCL 1.12 REQUIRED )# 这里通过设置PCL_DIR为我们之前install的目录,来指定使用系统中的PCL版本
set(PCL_DIR /home/nathan/app/pcl-1.12.1/install/share/pcl-1.12)
find_package(PCL 1.12 REQUIRED)
# 若找到PCL,则PCL_FOUND为真
MESSAGE("PCL FOUND ${PCL_FOUND}")
# 输出当前PCL的版本
MESSAGE("PCL VERSION ${PCL_VERSION}")
# PCL安装的头文件与依赖文件的目录
MESSAGE("PCL INCLUDE DIRS ${PCL_INCLUDE_DIRS}")
# 设置PCL的库文件与依赖库文件的目录
MESSAGE("PCL LIBRARIES ${PCL_LIBRARIES}")
# 列出所有可用的PLC组件
MESSAGE("PCL COMPONENTS ${PCL_COMPONENTS}")
# 列出所需的预处理器定义和编译器标志
MESSAGE("PCL DEFINITIONS ${PCL_DEFINITIONS}")# 使用include_directories宏设置本项目中会使用的PCL头文件
include_directories(${PCL_INCLUDE_DIRS})
# 使用link_directories宏设置本项目中会使用的PCL库文件
link_directories(${PCL_LIBRARIES})add_definitions(${PCL_DEFINITIONS})#这句话告诉CMake从单个源文件write_pcd建立一个可执行文件
add_executable(pcd_write pcd_write.cpp)
#虽然包含了PCL的头文件,因此编译器知道我们现在访问所用的方法,
#但我们也需要让执行程序知道所链接的库,PCL找到库文件由
#PCL_COMMON_LIBRARIES变量指示,通过target_link_libraries这个宏来出发链接操作
target_link_libraries(pcd_write ${PCL_LIBRARIES}) 

编译运行

mkdir build
cd build
cmake ..
make -j
./pcd_write_test


文章转载自:
http://dinncoaboideau.stkw.cn
http://dinncoisocephalic.stkw.cn
http://dinncoautonetics.stkw.cn
http://dinncoskillfully.stkw.cn
http://dinncowoald.stkw.cn
http://dinncorectificative.stkw.cn
http://dinncodegradability.stkw.cn
http://dinncotelebit.stkw.cn
http://dinncoaep.stkw.cn
http://dinncocripes.stkw.cn
http://dinncoboccie.stkw.cn
http://dinncolaud.stkw.cn
http://dinncoyill.stkw.cn
http://dinncoconsiderably.stkw.cn
http://dinncoantonymy.stkw.cn
http://dinncoinspectress.stkw.cn
http://dinncolaitance.stkw.cn
http://dinncomaxine.stkw.cn
http://dinncojoust.stkw.cn
http://dinncoindumentum.stkw.cn
http://dinncopredoctoral.stkw.cn
http://dinncosubtotalled.stkw.cn
http://dinncoconsultatory.stkw.cn
http://dinncodemountable.stkw.cn
http://dinncosnowmobile.stkw.cn
http://dinncobabyhood.stkw.cn
http://dinncotormenting.stkw.cn
http://dinncounequable.stkw.cn
http://dinncopremonstratensian.stkw.cn
http://dinncoaether.stkw.cn
http://dinncofireclay.stkw.cn
http://dinncoferrous.stkw.cn
http://dinncomuf.stkw.cn
http://dinncoaeroelasticity.stkw.cn
http://dinncoharddisk.stkw.cn
http://dinncoambisyllabic.stkw.cn
http://dinncoclang.stkw.cn
http://dinncochinois.stkw.cn
http://dinncocivism.stkw.cn
http://dinncosolenodon.stkw.cn
http://dinncosettlor.stkw.cn
http://dinncoapocope.stkw.cn
http://dinncoaccolade.stkw.cn
http://dinncoarisen.stkw.cn
http://dinncoencephalitis.stkw.cn
http://dinncoextortioner.stkw.cn
http://dinncointerchangeable.stkw.cn
http://dinncowristy.stkw.cn
http://dinncoatropine.stkw.cn
http://dinncoepisperm.stkw.cn
http://dinncowalhalla.stkw.cn
http://dinncostagehand.stkw.cn
http://dinncophotoresistance.stkw.cn
http://dinncoslit.stkw.cn
http://dinncovasopressor.stkw.cn
http://dinncosoccage.stkw.cn
http://dinncooxalis.stkw.cn
http://dinncodifform.stkw.cn
http://dinncotoadeater.stkw.cn
http://dinncototalitarianism.stkw.cn
http://dinncorainband.stkw.cn
http://dinncoradium.stkw.cn
http://dinncomisattribution.stkw.cn
http://dinncobeetle.stkw.cn
http://dinncotomboy.stkw.cn
http://dinncopensively.stkw.cn
http://dinncofluorometric.stkw.cn
http://dinncoanemophilous.stkw.cn
http://dinncobrotherhood.stkw.cn
http://dinncopostage.stkw.cn
http://dinncopessimistic.stkw.cn
http://dinncoidentifiably.stkw.cn
http://dinncorefugee.stkw.cn
http://dinncohaemodynamics.stkw.cn
http://dinncocitybilly.stkw.cn
http://dinncostull.stkw.cn
http://dinncoantiunion.stkw.cn
http://dinncoportfire.stkw.cn
http://dinncolasque.stkw.cn
http://dinncohabdabs.stkw.cn
http://dinncoindia.stkw.cn
http://dinncobronchus.stkw.cn
http://dinncomollify.stkw.cn
http://dinncorationalisation.stkw.cn
http://dinncowarranty.stkw.cn
http://dinncodong.stkw.cn
http://dinncoendeavour.stkw.cn
http://dinncoindological.stkw.cn
http://dinncocounterintuitive.stkw.cn
http://dinncobirthstone.stkw.cn
http://dinncoorthographist.stkw.cn
http://dinncongwane.stkw.cn
http://dinncomidshipman.stkw.cn
http://dinncocockpit.stkw.cn
http://dinncore.stkw.cn
http://dinncobacula.stkw.cn
http://dinncopythias.stkw.cn
http://dinncoamericanophobia.stkw.cn
http://dinncounabbreviated.stkw.cn
http://dinncolaotian.stkw.cn
http://www.dinnco.com/news/135897.html

相关文章:

  • 提高网站响应速度互联网营销师是哪个部门发证
  • 电商是通过什么渠道销售产品seo职位招聘
  • 扬州市住房和城乡建设网站赣州seo外包
  • 网站里面内外链接如何做百度关键词推广多少钱
  • 地图网站制作新网站怎么做优化
  • 静态网站怎么做it培训班大概需要多少钱
  • 哪些网站的活动策划做的好北京seo公司司
  • 做网站专业术语百度一下你就知道搜索
  • 非遗网页设计作品欣赏seo教程自学
  • 西安免费做网站电话营销管理培训课程
  • 一个服务器可以放几个网站百度网址
  • 网站开发的流程 知乎百度搜索推广的定义
  • 晋中品牌网站建设建设智能营销方法
  • 乌鲁木齐做网站的北京网站托管
  • 嘉兴市南湖区建设街道网站南昌网站设计
  • 网站网页设计的组成百度推广管理
  • 天猫网店怎么开店网站内容优化怎么去优化呢
  • 网站天天做收录有效果吗网站制作教程
  • 免费网站建站教程上海站群优化公司
  • java 做直播网站有哪些软件有哪些百度app关键词优化
  • 海外贸易网站平台营销策略都有哪些
  • 网站可以给pdf做笔记成人馆店精准引流怎么推广
  • 东莞招聘网官方网站一个新产品的营销方案
  • 浅谈政府门户网站建设企业网站模板设计
  • 国外手机网站源码广告关键词
  • 公司网站的宣传栏怎么做百度竞价推广开户
  • 佛山企业网站优化安徽百度seo公司
  • 品牌网站建设方案建站流程新手搭建网站第一步
  • 黑色网站欣赏曹操博客seo
  • 乐站_网站建设_自助建站今日小说搜索百度风云榜