安装VS------安装Qt-------安装PCL------安装cmake-----安装VTK-----环境配置
安装用了两天时间
https://my.visualstudio.com/Downloads?q=visual%20studio%202019&wt.mc_id=omsftvscom~older-downloads
https://download.qt.io/archive/online install
选择online install
●选择安装版本
纯QT编程就选择 MinGW 8.1.0 32-bit和 MinGW 8.1.0 64-bit
我们使用是VS2019的编译器,所有我们选择是MSVC 2019 32-bit和MSVC 2019 64-bit
选择好了,点击Next,等安装完就OK了.
下载地址
https://github.com/PointCloudLibrary/pcl/releases
安装PCL
点击安装不要改变安装位置
配置环境变量一定注意目录所在文件夹的名称,空格也会影响环境,例如C:\PCL 1.12.1与C:\PCL1.12.1完全不一样
测试安装是否成功 cmd界面
C:\Users>cd…
C:>cd PCL 1.12.1
C:\PCL 1.12.1>cd bin
C:\PCL 1.12.1\bin>pcl_viewer.exe cloud_normalpro.pcd //输入PCD文件
安装cmake
https://cmake.org/files/v3.22/
安装VTK
下载https://github.com/Kitware/VTK/tags
configure----generate----openproject 打开vs2019
如果安装不成功,用管理员身份打开vs重新生成
完成后 会生成VTK文件夹(这需要看cmake设置 CMAKE_INSTALL_PREFIX)
(1)把生成的VTK文件替换PCL1.12.1/3rdParty中的VTK
(2)将pcl1.12.1.pri文件拷贝到PCL1.12.1文件夹
注意pcl1.12.1.pri中文件夹位置信息,文件里面包含vtk库所在位置信息
INCLUDEPATH += C:/PCL1.12.1/include/pcl-1.12
INCLUDEPATH += C:/PCL1.12.1/3rdParty/Boost/include/boost-1_78
INCLUDEPATH += C:/PCL1.12.1/3rdParty/Eigen/eigen3
INCLUDEPATH += C:/PCL1.12.1/3rdParty/FLANN/include
INCLUDEPATH += C:/PCL1.12.1/3rdParty/OpenNI2/Include
INCLUDEPATH += C:/PCL1.12.1/3rdParty/Qhull/include
INCLUDEPATH += C:/PCL1.12.1/3rdParty/VTK/include/vtk-9.1
INCLUDEPATH += C:/PCL1.12.1/3rdParty/VTK
win32:CONFIG(release, debug|release):{
LIBS += -LC:/PCL1.12.1/3rdParty/Qhull/lib/ -lqhull_r
}
else:win32:CONFIG(debug, debug|release):{
LIBS += -LC:/PCL1.12.1/3rdParty/Qhull/lib/ -lqhull_rd
}
win32:CONFIG(release, debug|release):{
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_filters
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_io
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_io_ply
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_kdtree
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_keypoints
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_ml
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_octree
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_outofcore
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_people
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_recognition
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_registration
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_sample_consensus
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_search
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_segmentation
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_stereo
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_surface
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_tracking
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_visualization
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_common
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_features
LIBS += -LC:/PCL1.12.1/3rdParty/FLANN/lib/ -lflann
# LIBS += -LC:/PCL1.12.1/3rdParty/Qhull/lib/ -lqhullstatic
}
else:win32:CONFIG(debug, debug|release):{
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_filtersd
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_io_plyd
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_iod
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_kdtreed
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_keypointsd
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_mld
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_octreed
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_outofcored
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_peopled
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_recognitiond
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_registrationd
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_sample_consensusd
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_searchd
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_segmentationd
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_stereod
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_surfaced
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_trackingd
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_visualizationd
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_commond
LIBS += -LC:/PCL1.12.1/lib/ -lpcl_featuresd
LIBS += -LC:/PCL1.12.1/3rdParty/FLANN/lib/ -lflann-gd
# LIBS += -LC:/PCL1.12.1/3rdParty/Qhull/lib/ -lqhullstatic_d
}
win32:CONFIG(release, debug|release):{
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_atomic-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_bzip2-vc142-mt-x64-1_78.lib
LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_chrono-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_container-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_context-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_contract-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_coroutine-vc142-mt-x64-1_78.lib
LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_date_time-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_exception-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_fiber-vc142-mt-x64-1_78.lib
LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_filesystem-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_graph_parallel-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_graph-vc142-mt-x64-1_78.lib
LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_iostreams-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_locale-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_log_setup-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_log-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_math_c99f-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_math_c99l-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_math_c99-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_math_tr1f-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_math_tr1l-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_math_tr1-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_mpi-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_numpy27-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_numpy37-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_program_options-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_random-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_regex-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_serialization-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_signals-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_stacktrace_noop-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_stacktrace_windbg_cached-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_stacktrace_windbg-vc142-mt-x64-1_78.lib
LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_system-vc142-mt-x64-1_78.lib
LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_thread-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_timer-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_type_erasure-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_wave-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_wserialization-vc142-mt-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_zlib-vc142-mt-x64-1_78.lib
}
else:win32:CONFIG(debug, debug|release):{
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_atomic-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_bzip2-vc142-mt-gd-x64-1_78.lib
LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_chrono-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_container-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_context-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_contract-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_coroutine-vc142-mt-gd-x64-1_78.lib
LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_date_time-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_exception-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_fiber-vc142-mt-gd-x64-1_78.lib
LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_filesystem-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_graph_parallel-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_graph-vc142-mt-gd-x64-1_78.lib
LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_iostreams-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_locale-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_log_setup-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_log-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_math_c99f-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_math_c99l-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_math_c99-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_math_tr1f-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_math_tr1l-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_math_tr1-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_mpi-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_numpy27-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_numpy37-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_program_options-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_random-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_regex-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_serialization-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_signals-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_stacktrace_noop-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_stacktrace_windbg_cached-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_stacktrace_windbg-vc142-mt-gd-x64-1_78.lib
LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_system-vc142-mt-gd-x64-1_78.lib
LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_thread-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_timer-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_type_erasure-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_wave-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_wserialization-vc142-mt-gd-x64-1_78.lib
# LIBS += C:/PCL1.12.1/3rdParty/Boost/lib/libboost_zlib-vc142-mt-gd-x64-1_78.lib
}
win32:CONFIG(release, debug|release):{
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonDataModel-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonExecutionModel-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonMath-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonMisc-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonSystem-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonTransforms-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkDICOMParser-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkDomainsChemistry-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkDomainsChemistryOpenGL2-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkdoubleconversion-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkexodusII-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkexpat-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersAMR-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersCore-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersExtraction-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersFlowPaths-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersGeneral-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersGeneric-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersGeometry-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersHybrid-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersHyperTree-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersImaging-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersModeling-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersParallel-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersParallelImaging-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersPoints-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersProgrammable-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersSelection-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersSMP-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersSources-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersStatistics-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersTexture-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersTopology-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersVerdict-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkfreetype-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkGeovisCore-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkgl2ps-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkglew-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkGUISupportQt-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkGUISupportQtSQL-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkhdf5_hl-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkhdf5-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingColor-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingCore-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingFourier-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingGeneral-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingHybrid-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingMath-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingMorphological-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingSources-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingStatistics-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingStencil-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkInfovisCore-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkInfovisLayout-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkInteractionImage-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkInteractionStyle-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkInteractionWidgets-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOAMR-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOAsynchronous-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOCityGML-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOCore-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOEnSight-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOExodus-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOExport-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOExportPDF-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOGeometry-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOImage-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOImport-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOInfovis-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOLegacy-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOLSDyna-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOMINC-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOMovie-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIONetCDF-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOParallel-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOParallelXML-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOPLY-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOSegY-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOSQL-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOTecplotTable-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOVeraOut-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOVideo-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOXML-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOXMLParser-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkjpeg-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkjsoncpp-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtklibharu-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtklibxml2-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtklz4-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtklzma-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkmetaio-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkNetCDF-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkogg-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkParallelCore-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkpng-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkpugixml-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingAnnotation-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingContext2D-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingContextOpenGL2-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingCore-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingFreeType-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingGL2PSOpenGL2-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingImage-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingLabel-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingLOD-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingOpenGL2-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingQt-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingVolume-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingVolumeOpenGL2-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtksqlite-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtksys-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtktheora-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtktiff-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkverdict-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkViewsContext2D-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkViewsCore-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkViewsInfovis-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkViewsQt-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkzlib-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkChartsCore-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonColor-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonComputationalGeometry-9.1.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonCore-9.1.lib
}
else:win32:CONFIG(debug, debug|release):{
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonDataModel-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonExecutionModel-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonMath-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonMisc-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonSystem-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonTransforms-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkDICOMParser-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkDomainsChemistry-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkDomainsChemistryOpenGL2-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkdoubleconversion-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkexodusII-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkexpat-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersAMR-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersCore-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersExtraction-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersFlowPaths-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersGeneral-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersGeneric-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersGeometry-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersHybrid-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersHyperTree-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersImaging-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersModeling-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersParallel-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersParallelImaging-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersPoints-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersProgrammable-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersSelection-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersSMP-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersSources-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersStatistics-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersTexture-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersTopology-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkFiltersVerdict-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkfreetype-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkGeovisCore-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkgl2ps-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkglew-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkGUISupportQt-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkGUISupportQtSQL-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkhdf5_hl-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkhdf5-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingColor-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingCore-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingFourier-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingGeneral-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingHybrid-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingMath-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingMorphological-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingSources-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingStatistics-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkImagingStencil-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkInfovisCore-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkInfovisLayout-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkInteractionImage-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkInteractionStyle-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkInteractionWidgets-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOAMR-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOAsynchronous-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOCityGML-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOCore-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOEnSight-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOExodus-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOExport-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOExportPDF-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOGeometry-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOImage-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOImport-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOInfovis-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOLegacy-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOLSDyna-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOMINC-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOMovie-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIONetCDF-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOParallel-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOParallelXML-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOPLY-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOSegY-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOSQL-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOTecplotTable-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOVeraOut-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOVideo-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOXML-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkIOXMLParser-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkjpeg-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkjsoncpp-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtklibharu-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtklibxml2-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtklz4-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtklzma-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkmetaio-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkNetCDF-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkogg-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkParallelCore-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkpng-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkpugixml-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingAnnotation-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingContext2D-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingContextOpenGL2-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingCore-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingFreeType-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingGL2PSOpenGL2-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingImage-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingLabel-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingLOD-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingOpenGL2-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingQt-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingVolume-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkRenderingVolumeOpenGL2-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtksqlite-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtksys-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtktheora-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtktiff-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkverdict-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkViewsContext2D-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkViewsCore-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkViewsInfovis-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkViewsQt-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkzlib-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkChartsCore-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonColor-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonComputationalGeometry-9.1d.lib
LIBS += C:/PCL1.12.1/3rdParty/VTK/lib/vtkCommonCore-9.1d.lib
}
pcl.1.12.1.pri文件下载位置:
https://download.csdn.net/download/qq_42258981/88045553
到此安装完成
(创建工程)
编译遇到的问题“由于找不到vtkCommonCore-9.2d.dll,无法继续执行代码。重新安装程序可能会解决此问题。检查环境配置。
检查环境变量配置有问题,注意空格
例如C:\PCL1.12.1 与C:\PCL 1.12.1是完全不一样的,注意自己文件夹的名称
可以出界面测试成功