title: error LNK2001 when including "pcl_visualizer.h"
body: <p>I want to visualize a point cloud using the point-cloud-library. I already included:</p>
  
  <pre><code>#include &lt;pcl/point_types.h&gt;
  #include &lt;pcl/io/pcd_io.h&gt;
  #include &lt;pcl/kdtree/kdtree_flann.h&gt;
  #include &lt;pcl/features/normal_3d.h&gt;
  #include &lt;pcl/surface/gp3.h&gt;
  </code></pre>
  
  <p>without any problem, but when I add</p>
  
  <pre><code>#include &lt;pcl/visualization/pcl_visualizer.h&gt;
  </code></pre>
  
  <p>to my code I receive an LNK2001 error.</p>
  
  <blockquote>
    <p>Fehler 51  error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual void __cdecl pcl::visualization::PCLVisualizer::FPSCallback::Execute(class vtkObject *,unsigned long,void *)" (?Execute@FPSCallback@PCLVisualizer@visualization@pcl@@UEAAXPEAVvtkObject@@KPEAX@Z)"</p>
  </blockquote>
  
  <p>I think there is a library missing but I can't figure out which one. This is the list with the additional dependencies of my program:</p>
  
  <ul>
  <li>pcl_common_debug.lib</li>
  <li>pcl_io_debug.lib</li>
  <li>pcl_kdtree_debug.lib</li>
  <li>pcl_features_debug.lib</li>
  <li>pcl_surface_debug.lib</li>
  <li>pcl_search_debug.lib</li>
  <li>pcl_visualization_debug.lib</li>
  <li>vtkCommonCore-6.1.lib</li>
  <li>vtksys-6.1.lib</li>
  <li>and some opencv libs</li>
  </ul>
  
  <p>can anyone tell me which library is missing?</p>
  
  <p>Thanks in advance!</p>
  
  <p><em>edit:</em></p>
  
  <p>I created a little cpp-file based on the greedy_projection.cpp code. Thanks to the advice of drescherjm, I used cmake to create the project and I could compile it without errors. Then I wanted to include the stuff in my other project but the same error occurred.
  Now I figured out, that the reason for the error is the \clr flag. I have a Windows.Forms Project so it is compiled with \clr. The greedy_projection.cpp Project was compiled without this flag. Is there any way to avoid this incompatibility of pcl_visualizer.h with \clr?</p>