title: Point Cloud Library Build Errors in Visual Studio
body: <p>I am trying to use the Point Cloud Library in conjunction with the kinect for a paper, but when I followed <a href="http://www.pointclouds.org/documentation/tutorials/using_pcl_pcl_config.php" rel="nofollow">this tutorial</a>, and tried to compile the solution in Visual Studio 2010, I had a couple of build errors:</p>
  
  <pre><code>pcd_write.obj : error LNK2019: unresolved external symbol "public: int __thiscall pcl::PCDWriter::writeASCII(class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; const &amp;,struct sensor_msgs::PointCloud2 const &amp;,class Eigen::Matrix&lt;float,4,1,0,4,1&gt; const &amp;,class Eigen::Quaternion&lt;float,0&gt; const &amp;,int)" (?writeASCII@PCDWriter@pcl@@QAEHABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABUPointCloud2@sensor_msgs@@ABV?$Matrix@M$03$00$0A@$03$00@Eigen@@ABV?$Quaternion@M$0A@@8@H@Z) referenced in function "public: virtual int __thiscall pcl::PCDWriter::write(class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; const &amp;,struct sensor_msgs::PointCloud2 const &amp;,class Eigen::Matrix&lt;float,4,1,0,4,1&gt; const &amp;,class Eigen::Quaternion&lt;float,0&gt; const &amp;,bool)" (?write@PCDWriter@pcl@@UAEHABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABUPointCloud2@sensor_msgs@@ABV?$Matrix@M$03$00$0A@$03$00@Eigen@@ABV?$Quaternion@M$0A@@8@_N@Z)
  pcd_write.obj : error LNK2019: unresolved external symbol "public: int __thiscall pcl::PCDWriter::writeBinary(class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; const &amp;,struct sensor_msgs::PointCloud2 const &amp;,class Eigen::Matrix&lt;float,4,1,0,4,1&gt; const &amp;,class Eigen::Quaternion&lt;float,0&gt; const &amp;)" (?writeBinary@PCDWriter@pcl@@QAEHABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABUPointCloud2@sensor_msgs@@ABV?$Matrix@M$03$00$0A@$03$00@Eigen@@ABV?$Quaternion@M$0A@@8@@Z) referenced in function "public: virtual int __thiscall pcl::PCDWriter::write(class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; const &amp;,struct sensor_msgs::PointCloud2 const &amp;,class Eigen::Matrix&lt;float,4,1,0,4,1&gt; const &amp;,class Eigen::Quaternion&lt;float,0&gt; const &amp;,bool)" (?write@PCDWriter@pcl@@UAEHABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABUPointCloud2@sensor_msgs@@ABV?$Matrix@M$03$00$0A@$03$00@Eigen@@ABV?$Quaternion@M$0A@@8@_N@Z)
  pcd_write.obj : error LNK2019: unresolved external symbol "void __cdecl pcl::console::print(enum pcl::console::VERBOSITY_LEVEL,char const *,...)" (?print@console@pcl@@YAXW4VERBOSITY_LEVEL@12@PBDZZ) referenced in function "public: int __thiscall pcl::PCDWriter::writeASCII&lt;struct pcl::PointXYZ&gt;(class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; const &amp;,class pcl::PointCloud&lt;struct pcl::PointXYZ&gt; const &amp;,int)" (??$writeASCII@UPointXYZ@pcl@@@PCDWriter@pcl@@QAEHABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV?$PointCloud@UPointXYZ@pcl@@@1@H@Z)
  </code></pre>
  
  <p>Can someone explain why these errors are occurring and how I can fix them? All help is greatly appreciated and I always accept an answer!</p>