title: Generating project with PCL (Point Cloud Library) on Mac OS X
body: <p>I installed all the dependencies and the pre-compiled PCL library as it suggested on their <a href="http://pointclouds.org/downloads/macosx.html" rel="noreferrer">site</a>. </p>
  
  <p>After I installed everything I wanted to generate a project following <a href="http://pointclouds.org/documentation/tutorials/using_pcl_pcl_config.php#using-pcl-pcl-config" rel="noreferrer">this</a> tutorial.</p>
  
  <p>After executing the 'make' command I get several warnings and the following two errors:</p>
  
  <pre><code>37 warnings generated.
  Linking CXX executable pcd_write_test
  Undefined symbols for architecture x86_64:
    "pcl::PCDWriter::writeASCII(std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; const&amp;, sensor_msgs::PointCloud2 const&amp;, Eigen::Matrix&lt;float, 4, 1, 0, 4, 1&gt; const&amp;, Eigen::Quaternion&lt;float, 0&gt; const&amp;, int)", referenced from:
        pcl::PCDWriter::write(std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; const&amp;, sensor_msgs::PointCloud2 const&amp;, Eigen::Matrix&lt;float, 4, 1, 0, 4, 1&gt; const&amp;, Eigen::Quaternion&lt;float, 0&gt; const&amp;, bool) in pcd_write.cpp.o
    "pcl::PCDWriter::writeBinary(std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; const&amp;, sensor_msgs::PointCloud2 const&amp;, Eigen::Matrix&lt;float, 4, 1, 0, 4, 1&gt; const&amp;, Eigen::Quaternion&lt;float, 0&gt; const&amp;)", referenced from:
        pcl::PCDWriter::write(std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; const&amp;, sensor_msgs::PointCloud2 const&amp;, Eigen::Matrix&lt;float, 4, 1, 0, 4, 1&gt; const&amp;, Eigen::Quaternion&lt;float, 0&gt; const&amp;, bool) in pcd_write.cpp.o
  ld: symbol(s) not found for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  make[2]: *** [pcd_write_test] Error 1
  make[1]: *** [CMakeFiles/pcd_write_test.dir/all] Error 2
  make: *** [all] Error 2
  </code></pre>
  
  <p>Anybody has any suggestions how to fix this?</p>
  
  <p>I am using Mac OS X 10.9.4.</p>