点云技术相关产学研社区

 找回密码
 立即注册加入PCL中国点云技术相关产学研社区

扫一扫,访问微社区

查看: 4936|回复: 1

pcl1.8编译出错

[复制链接]
发表于 2015-3-25 11:25:01 | 显示全部楼层 |阅读模式
编译环境为vs2013  第三方库分别是boost1.57 eigen3.03 openNI2 vtk6.1


////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
camke记录
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
Found OpenMP
Boost version: 1.57.0
Found the following Boost libraries:
  system
  filesystem
  thread
  date_time
  iostreams
Eigen found (include: C:/Program Files/PCL 1.7.2/3rdParty/Eigen/eigen3, version: 3.2.4)
FLANN found (include: C:/Program Files/PCL 1.7.2/3rdParty/FLANN/include, lib: optimized;C:/Program Files/PCL 1.7.2/3rdParty/FLANN/lib/flann.lib;debug;C:/Program Files/PCL 1.7.2/3rdParty/FLANN/lib/flann-gd.lib)
Could NOT find LIBUSB_1 (missing:  LIBUSB_1_LIBRARY LIBUSB_1_INCLUDE_DIR)
Could NOT find OpenNI (missing:  OPENNI_LIBRARY OPENNI_INCLUDE_DIR)
OpenNI 2 found (include: C:/Program Files/OpenNI2/Include, lib: C:/Program Files/OpenNI2/Lib/OpenNI2.lib, redist: )
Could NOT find FZAPI (missing:  FZAPI_LIBS FZAPI_INCLUDE_DIR)
Could NOT find ensenso (missing:  ENSENSO_LIBRARY ENSENSO_INCLUDE_DIR)
Could NOT find PXCAPI (missing:  PXCAPI_LIBS PXCAPI_INCLUDE_DIRS)
Could NOT find ZLIB (missing:  ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Could NOT find PNG (missing:  PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
QHULL found (include: C:/Program Files/PCL 1.7.2/3rdParty/Qhull/include, lib: optimized;C:/Program Files/PCL 1.7.2/3rdParty/Qhull/lib/qhull.lib;debug;C:/Program Files/PCL 1.7.2/3rdParty/Qhull/lib/qhull_d.lib)
Found unsuitable Qt version "" from NOTFOUND
VTK_MAJOR_VERSION 6
VTK found (include: C:/Program Files/PCL 1.7.2/3rdParty/VTK/include/vtk-6.1, lib: vtkalglib;vtkChartsCore;vtkCommonColor;vtkCommonDataModel;vtkCommonMath;vtkCommonCore;vtksys;vtkCommonMisc;vtkCommonSystem;vtkCommonTransforms;vtkInfovisCore;vtkFiltersExtraction;vtkCommonExecutionModel;vtkFiltersCore;vtkFiltersGeneral;vtkCommonComputationalGeometry;vtkFiltersStatistics;vtkImagingFourier;vtkImagingCore;vtkRenderingContext2D;vtkRenderingCore;vtkFiltersGeometry;vtkFiltersSources;vtkRenderingFreeType;vtkfreetype;vtkzlib;vtkftgl;vtkRenderingOpenGL;vtkImagingHybrid;vtkIOImage;vtkDICOMParser;vtkIOCore;vtkmetaio;vtkjpeg;vtkpng;vtktiff;vtkDomainsChemistry;vtkIOXML;vtkIOGeometry;vtkjsoncpp;vtkIOXMLParser;vtkexpat;vtkexoIIc;vtkNetCDF;vtkNetCDF_cxx;vtkhdf5_hl;vtkhdf5;vtkFiltersAMR;vtkParallelCore;vtkIOLegacy;vtkFiltersFlowPaths;vtkFiltersGeneric;vtkFiltersHybrid;vtkImagingSources;vtkFiltersHyperTree;vtkFiltersImaging;vtkImagingGeneral;vtkFiltersModeling;vtkFiltersParallel;vtkFiltersParallelImaging;vtkFiltersProgrammable;vtkFiltersSelection;vtkFiltersSMP;vtkFiltersTexture;vtkFiltersVerdict;verdict;vtkGeovisCore;vtkInfovisLayout;vtkInteractionStyle;vtkInteractionWidgets;vtkRenderingAnnotation;vtkImagingColor;vtkRenderingVolume;vtkViewsCore;vtkproj4;vtkgl2ps;vtkImagingMath;vtkImagingMorphological;vtkImagingStatistics;vtkImagingStencil;vtkInteractionImage;vtkIOAMR;vtkIOEnSight;vtkIOExodus;vtkIOExport;vtkRenderingGL2PS;vtkRenderingLabel;vtkIOImport;vtkIOInfovis;vtklibxml2;vtkIOLSDyna;vtkIOMINC;vtkIOMovie;vtkoggtheora;vtkIONetCDF;vtkIOParallel;vtkIOPLY;vtkIOSQL;vtksqlite;vtkIOVideo;vtkRenderingFreeTypeOpenGL;vtkRenderingImage;vtkRenderingLIC;vtkRenderingLOD;vtkRenderingVolumeAMR;vtkRenderingVolumeOpenGL;vtkViewsContext2D;vtkViewsGeovis;vtkViewsInfovis
Could NOT find PCAP (missing:  PCAP_LIBRARIES PCAP_INCLUDE_DIRS)
CMake Warning (dev) at cmake/pcl_targets.cmake:113 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "EIGEN_FOUND" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  common/CMakeLists.txt:7 (PCL_SUBSYS_DEPEND)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/pcl_targets.cmake:113 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "FLANN_FOUND" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  kdtree/CMakeLists.txt:7 (PCL_SUBSYS_DEPEND)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/pcl_targets.cmake:113 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "FLANN_FOUND" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  search/CMakeLists.txt:7 (PCL_SUBSYS_DEPEND)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/pcl_targets.cmake:113 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "VTK_FOUND" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  visualization/CMakeLists.txt:17 (PCL_SUBSYS_DEPEND)
This warning is for project developers.  Use -Wno-dev to suppress it.

DOXYGEN_FOUND
HTML_HELP_COMPILER
Found CPack generators: NSIS
The following subsystems will be built:
  common
  octree
  io
  kdtree
  search
  sample_consensus
  filters
  2d
  geometry
  features
  ml
  segmentation
  visualization
  surface
  registration
  keypoints
  tracking
  recognition
  stereo
  outofcore
  people
The following subsystems will not be built:
  apps: No reason
  examples: Code examples are disabled by default.
  simulation: Disabled by default.
  global_tests: No reason
  tools: Disabled manually.
Configuring done



///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
工程全部生成错误记录

错误        12        error LNK2001: 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ)        C:\pcl1.80\build\io\ply_parser.obj        pcl_io_ply
错误        13        error LNK2001: 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ)        C:\pcl1.80\build\io\ply_parser.obj        pcl_io_ply
错误        14        error LNK1120: 2 个无法解析的外部命令        C:\pcl1.80\build\bin\pcl_io_ply_release.dll        pcl_io_ply
错误        22        error LNK1112: 模块计算机类型“x64”与目标计算机类型“X86”冲突        C:\pcl1.80\build\common\libboost_thread-vc120-mt-1_57.lib(thread.obj)        pcl_common
错误        57        error LNK1181: 无法打开输入文件“..\lib\pcl_common_release.lib”        C:\pcl1.80\build\kdtree\LINK        pcl_kdtree
错误        63        error LNK1181: 无法打开输入文件“..\lib\pcl_common_release.lib”        C:\pcl1.80\build\ml\LINK        pcl_ml
错误        95        error LNK1181: 无法打开输入文件“..\lib\pcl_kdtree_release.lib”        C:\pcl1.80\build\search\LINK        pcl_search
错误        104        error LNK1181: 无法打开输入文件“..\lib\pcl_common_release.lib”        C:\pcl1.80\build\sample_consensus\LINK        pcl_sample_consensus
错误        143        error LNK1181: 无法打开输入文件“..\lib\pcl_common_release.lib”        C:\pcl1.80\build\io\LINK        pcl_io
错误        145        error LNK1181: 无法打开输入文件“..\lib\pcl_search_release.lib”        C:\pcl1.80\build\surface\LINK        pcl_surface
错误        146        error LNK1181: 无法打开输入文件“..\lib\pcl_io_release.lib”        C:\pcl1.80\build\2d\LINK        pcl_2d
错误        166        error LNK1181: 无法打开输入文件“..\lib\pcl_sample_consensus_release.lib”        C:\pcl1.80\build\filters\LINK        pcl_filters
错误        182        error LNK1181: 无法打开输入文件“..\lib\pcl_filters_release.lib”        C:\pcl1.80\build\tracking\LINK        pcl_tracking
错误        183        error LNK1181: 无法打开输入文件“..\lib\pcl_io_release.lib”        C:\pcl1.80\build\visualization\LINK        pcl_visualization
错误        191        error LNK1181: 无法打开输入文件“..\lib\pcl_visualization_release.lib”        C:\pcl1.80\build\outofcore\LINK        pcl_outofcore
错误        232        error LNK1181: 无法打开输入文件“..\lib\pcl_filters_release.lib”        C:\pcl1.80\build\features\LINK        pcl_features
错误        304        error LNK1181: 无法打开输入文件“..\lib\pcl_features_release.lib”        C:\pcl1.80\build\keypoints\LINK        pcl_keypoints
错误        325        error LNK1181: 无法打开输入文件“..\lib\pcl_ml_release.lib”        C:\pcl1.80\build\segmentation\LINK        pcl_segmentation
错误        358        error LNK1181: 无法打开输入文件“..\lib\pcl_features_release.lib”        C:\pcl1.80\build\registration\LINK        pcl_registration
错误        408        error LNK1181: 无法打开输入文件“..\lib\pcl_registration_release.lib”        C:\pcl1.80\build\recognition\LINK        pcl_recognition

回复

使用道具 举报

发表于 2016-5-25 22:57:11 | 显示全部楼层
楼主我也遇到这种问题了 请问你是怎么解决的呢?
回复 支持 反对

使用道具 举报

本版积分规则

QQ|小黑屋|点云技术相关产学研社区 ( 陕ICP备13001629号 )

GMT+8, 2024-4-28 04:37 , Processed in 1.660677 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表