OpenCV+PCL+VS2017配置
配置path时候需要重启,不然可能出现.dll丢失错误
-
OpenCV+VS2017配置
参考这个教程:https://blog.csdn.net/gurenyigu/article/details/78773395
注意 :
- 链接器->输入->附加依赖项,boost库的lib文件,当使用VS2017时候由于编译器版本变了,所以添加的lib文件名要进行相应的更改,具体到相应目录下寻找。
这里贴一份PCL 1.8.1 VS2017能用的:
1 flann-gd.lib 2 flann_cpp-gd.lib 3 flann_cpp_s-gd.lib 4 flann_s-gd.lib 5 libboost_atomic-vc141-mt-gd-1_64.lib 6 libboost_bzip2-vc141-mt-gd-1_64.lib 7 libboost_chrono-vc141-mt-gd-1_64.lib 8 libboost_container-vc141-mt-gd-1_64.lib 9 libboost_context-vc141-mt-gd-1_64.lib 10 libboost_coroutine-vc141-mt-gd-1_64.lib 11 libboost_date_time-vc141-mt-gd-1_64.lib 12 libboost_exception-vc141-mt-gd-1_64.lib 13 libboost_fiber-vc141-mt-gd-1_64.lib 14 libboost_filesystem-vc141-mt-gd-1_64.lib 15 libboost_graph-vc141-mt-gd-1_64.lib 16 libboost_graph_parallel-vc141-mt-gd-1_64.lib 17 libboost_iostreams-vc141-mt-gd-1_64.lib 18 libboost_locale-vc141-mt-gd-1_64.lib 19 libboost_log-vc141-mt-gd-1_64.lib 20 libboost_log_setup-vc141-mt-gd-1_64.lib 21 libboost_math_c99-vc141-mt-gd-1_64.lib 22 libboost_math_c99f-vc141-mt-gd-1_64.lib 23 libboost_math_c99l-vc141-mt-gd-1_64.lib 24 libboost_math_tr1-vc141-mt-gd-1_64.lib 25 libboost_math_tr1f-vc141-mt-gd-1_64.lib 26 libboost_math_tr1l-vc141-mt-gd-1_64.lib 27 libboost_mpi-vc141-mt-gd-1_64.lib 28 libboost_numpy-vc141-mt-gd-1_64.lib 29 libboost_numpy3-vc141-mt-gd-1_64.lib 30 libboost_prg_exec_monitor-vc141-mt-gd-1_64.lib 31 libboost_program_options-vc141-mt-gd-1_64.lib 32 libboost_python-vc141-mt-gd-1_64.lib 33 libboost_python3-vc141-mt-gd-1_64.lib 34 libboost_random-vc141-mt-gd-1_64.lib 35 libboost_regex-vc141-mt-gd-1_64.lib 36 libboost_serialization-vc141-mt-gd-1_64.lib 37 libboost_signals-vc141-mt-gd-1_64.lib 38 libboost_system-vc141-mt-gd-1_64.lib 39 libboost_test_exec_monitor-vc141-mt-gd-1_64.lib 40 libboost_thread-vc141-mt-gd-1_64.lib 41 libboost_timer-vc141-mt-gd-1_64.lib 42 libboost_type_erasure-vc141-mt-gd-1_64.lib 43 libboost_unit_test_framework-vc141-mt-gd-1_64.lib 44 libboost_wave-vc141-mt-gd-1_64.lib 45 libboost_wserialization-vc141-mt-gd-1_64.lib 46 libboost_zlib-vc141-mt-gd-1_64.lib 47 pcl_common_debug.lib 48 pcl_features_debug.lib 49 pcl_filters_debug.lib 50 pcl_io_debug.lib 51 pcl_io_ply_debug.lib 52 pcl_kdtree_debug.lib 53 pcl_keypoints_debug.lib 54 pcl_ml_debug.lib 55 pcl_octree_debug.lib 56 pcl_outofcore_debug.lib 57 pcl_people_debug.lib 58 pcl_recognition_debug.lib 59 pcl_registration_debug.lib 60 pcl_sample_consensus_debug.lib 61 pcl_search_debug.lib 62 pcl_segmentation_debug.lib 63 pcl_stereo_debug.lib 64 pcl_surface_debug.lib 65 pcl_tracking_debug.lib 66 pcl_visualization_debug.lib 67 qhullcpp_d.lib 68 qhullstatic_d.lib 69 qhullstatic_r_d.lib 70 qhull_d.lib 71 qhull_p_d.lib 72 qhull_r_d.lib 73 vtkalglib-8.0-gd.lib 74 vtkChartsCore-8.0-gd.lib 75 vtkCommonColor-8.0-gd.lib 76 vtkCommonComputationalGeometry-8.0-gd.lib 77 vtkCommonCore-8.0-gd.lib 78 vtkCommonDataModel-8.0-gd.lib 79 vtkCommonExecutionModel-8.0-gd.lib 80 vtkCommonMath-8.0-gd.lib 81 vtkCommonMisc-8.0-gd.lib 82 vtkCommonSystem-8.0-gd.lib 83 vtkCommonTransforms-8.0-gd.lib 84 vtkDICOMParser-8.0-gd.lib 85 vtkDomainsChemistry-8.0-gd.lib 86 vtkexoIIc-8.0-gd.lib 87 vtkexpat-8.0-gd.lib 88 vtkFiltersAMR-8.0-gd.lib 89 vtkFiltersCore-8.0-gd.lib 90 vtkFiltersExtraction-8.0-gd.lib 91 vtkFiltersFlowPaths-8.0-gd.lib 92 vtkFiltersGeneral-8.0-gd.lib 93 vtkFiltersGeneric-8.0-gd.lib 94 vtkFiltersGeometry-8.0-gd.lib 95 vtkFiltersHybrid-8.0-gd.lib 96 vtkFiltersHyperTree-8.0-gd.lib 97 vtkFiltersImaging-8.0-gd.lib 98 vtkFiltersModeling-8.0-gd.lib 99 vtkFiltersParallel-8.0-gd.lib 100 vtkFiltersParallelImaging-8.0-gd.lib 101 vtkFiltersPoints-8.0-gd.lib 102 vtkFiltersProgrammable-8.0-gd.lib 103 vtkFiltersSelection-8.0-gd.lib 104 vtkFiltersSMP-8.0-gd.lib 105 vtkFiltersSources-8.0-gd.lib 106 vtkFiltersStatistics-8.0-gd.lib 107 vtkFiltersTexture-8.0-gd.lib 108 vtkFiltersTopology-8.0-gd.lib 109 vtkFiltersVerdict-8.0-gd.lib 110 vtkfreetype-8.0-gd.lib 111 vtkGeovisCore-8.0-gd.lib 112 vtkgl2ps-8.0-gd.lib 113 vtkhdf5-8.0-gd.lib 114 vtkhdf5_hl-8.0-gd.lib 115 vtkImagingColor-8.0-gd.lib 116 vtkImagingCore-8.0-gd.lib 117 vtkImagingFourier-8.0-gd.lib 118 vtkImagingGeneral-8.0-gd.lib 119 vtkImagingHybrid-8.0-gd.lib 120 vtkImagingMath-8.0-gd.lib 121 vtkImagingMorphological-8.0-gd.lib 122 vtkImagingSources-8.0-gd.lib 123 vtkImagingStatistics-8.0-gd.lib 124 vtkImagingStencil-8.0-gd.lib 125 vtkInfovisCore-8.0-gd.lib 126 vtkInfovisLayout-8.0-gd.lib 127 vtkInteractionImage-8.0-gd.lib 128 vtkInteractionStyle-8.0-gd.lib 129 vtkInteractionWidgets-8.0-gd.lib 130 vtkIOAMR-8.0-gd.lib 131 vtkIOCore-8.0-gd.lib 132 vtkIOEnSight-8.0-gd.lib 133 vtkIOExodus-8.0-gd.lib 134 vtkIOExport-8.0-gd.lib 135 vtkIOExportOpenGL-8.0-gd.lib 136 vtkIOGeometry-8.0-gd.lib 137 vtkIOImage-8.0-gd.lib 138 vtkIOImport-8.0-gd.lib 139 vtkIOInfovis-8.0-gd.lib 140 vtkIOLegacy-8.0-gd.lib 141 vtkIOLSDyna-8.0-gd.lib 142 vtkIOMINC-8.0-gd.lib 143 vtkIOMovie-8.0-gd.lib 144 vtkIONetCDF-8.0-gd.lib 145 vtkIOParallel-8.0-gd.lib 146 vtkIOParallelXML-8.0-gd.lib 147 vtkIOPLY-8.0-gd.lib 148 vtkIOSQL-8.0-gd.lib 149 vtkIOTecplotTable-8.0-gd.lib 150 vtkIOVideo-8.0-gd.lib 151 vtkIOXML-8.0-gd.lib 152 vtkIOXMLParser-8.0-gd.lib 153 vtkjpeg-8.0-gd.lib 154 vtkjsoncpp-8.0-gd.lib 155 vtklibharu-8.0-gd.lib 156 vtklibxml2-8.0-gd.lib 157 vtklz4-8.0-gd.lib 158 vtkmetaio-8.0-gd.lib 159 vtkNetCDF-8.0-gd.lib 160 vtknetcdf_c++-gd.lib 161 vtkoggtheora-8.0-gd.lib 162 vtkParallelCore-8.0-gd.lib 163 vtkpng-8.0-gd.lib 164 vtkproj4-8.0-gd.lib 165 vtkRenderingAnnotation-8.0-gd.lib 166 vtkRenderingContext2D-8.0-gd.lib 167 vtkRenderingContextOpenGL-8.0-gd.lib 168 vtkRenderingCore-8.0-gd.lib 169 vtkRenderingFreeType-8.0-gd.lib 170 vtkRenderingGL2PS-8.0-gd.lib 171 vtkRenderingImage-8.0-gd.lib 172 vtkRenderingLabel-8.0-gd.lib 173 vtkRenderingLIC-8.0-gd.lib 174 vtkRenderingLOD-8.0-gd.lib 175 vtkRenderingOpenGL-8.0-gd.lib 176 vtkRenderingVolume-8.0-gd.lib 177 vtkRenderingVolumeOpenGL-8.0-gd.lib 178 vtksqlite-8.0-gd.lib 179 vtksys-8.0-gd.lib 180 vtktiff-8.0-gd.lib 181 vtkverdict-8.0-gd.lib 182 vtkViewsContext2D-8.0-gd.lib 183 vtkViewsCore-8.0-gd.lib 184 vtkViewsInfovis-8.0-gd.lib 185 vtkzlib-8.0-gd.lib