title: Point Cloud Library and Visual Studio 2010
body: <p>I've been trying to compile some simple code for point cloud, I believe I've included the relevant h files and libs but visual studio just seems to be giving me this:</p>
  
  <p><img src="https://i.stack.imgur.com/YvZwm.png" alt="enter image description here"></p>
  
  <p>My include directories (in VC++ directories property page):</p>
  
  <blockquote>
    <p>C:\Program Files %28x86%29\OpenNI\Include\Win32;C:\Program Files %28x86%29\OpenNI\Include;C:\Program Files (x86)\PCL 1.6.0\3rdParty\VTK\include\vtk-5.8;C:\Program Files %28x86%29\PCL 1.6.0\3rdParty\Qhull\include;C:\Program Files %28x86%29\PCL 1.6.0\3rdParty\FLANN\include;C:\Program Files %28x86%29\PCL 1.6.0\3rdParty\Eigen\include;C:\Program Files %28x86%29\PCL 1.6.0\3rdParty\Boost\include;C:\Program Files %28x86%29\PCL 1.6.0\include\pcl-1.6;$(IncludePath);$(WindowsSdkDir)\lib;C:\Program Files (x86)\PCL 1.6.0\lib</p>
  </blockquote>
  
  <p>Library Directories (VC++ directories property page):</p>
  
  <blockquote>
    <p>C:\Program Files %28x86%29\OpenNI\Lib;$(LibraryPath)</p>
  </blockquote>
  
  <p>Additional Include DIrectories (from C/C++ property page):</p>
  
  <blockquote>
    <p>C:\Program Files %28x86%29\OpenNI\Lib;$(LibraryPath)</p>
  </blockquote>
  
  <p>Additional Library Dependencies (from Linker property page):</p>
  
  <blockquote>
    <p>C:\Program Files (x86)\PCL 1.6.0\3rdParty\FLANN\lib;C:\Program Files %28x86%29\OpenNI\Lib;C:\Program Files (x86)\PCL 1.6.0\3rdParty\VTK\lib\vtk-5.8;C:\Program Files (x86)\PCL 1.6.0\3rdParty\Qhull\lib;C:\Program Files (x86)\PCL 1.6.0\lib;$(WindowsSdkDir)\lib;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib;C:\Program Files (x86)\PCL 1.6.0\3rdParty\Boost\lib;C:\Program Files (x86)\OpenNI\Lib</p>
  </blockquote>
  
  <p>I must have missed out an include somewhere. I presume it has to do with the OpenNI libraries as the error is mentioning the OpenNI. </p>
  
  <p>Any ideas?  </p>
  
  <p>I do not want to use CMake as an alternative to VS2010.</p>