Trying to create a PCL on VS2012 in Windows 8.1 so that I can try to integrate my Kinect for Windows v2 with it, however I seem to encounter a bunch of CMake errors that I don’t know what to do. this is partly because I am not very familiar with CMake, so I follow the tutorial here that describes building dependencies using the CMake GUI. However, throughout this process, I found that the only ones that built correctly are the ones I build using cmake on the command line. errors:
For FLANN:
When I try to build INSTALL in VS2012 (this does not even get into other build errors, but lets start here) I get:
Error 21 Error C2228: to the left of '.serialize' should be class / struct / union D: \ flann-1.8.4-src \ flann-1.8.4-src \ src \ cpp \ flann \ util \ serialization.h line 18 : type.serialize (ar); Error 24 error LNK1181: cannot open input file '.. \ lib \ Release \ flann.lib' D: \ flann-1.8.4-src \ flann-1.8.4-src \ build \ examples \ LINK Error 25 error MSB3073 : command "setlocal C: \ CMake \ bin \ cmake.exe -DBUILD_TYPE = Release -P cmake_install.cmake if% errorlevel% neq 0 goto: cmEnd: cmEnd endlocal and call: cmErrorLevel% errorlevel% and goto: cmDone: cmErrorLevel exit / b% 1: cmDone if% errorlevel% neq 0 goto: VCEnd: VCEnd "exited with code 1. C: \ Program Files (x86) \ MSBuild \ Microsoft.Cpp \ v4.0 \ V110 \ Microsoft.CppCommon.targets 134
For VTK:
VTK_USE_QTOPENGL , VTK_USE_QT, VS2012 , ( , VTK )
Qhull:
, FLANN:
1 MSB3073: "setlocal C:\CMake\bin\cmake.exe -DBUILD_TYPE = Debug -P cmake_install.cmake if% errorlevel% neq 0 goto: cmEnd: cmEnd endlocal call: cmErrorLevel% errorlevel% goto: cmDone: cmErrorLevel exit/b% 1: cmDone, % errorlevel% neq 0 goto: VCEnd: VCEnd" 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 134
. .