Some CGAL examples (e.g. Jet Smoothing and Normal Orientation) fail to compile
<p>I am currently working on a project in which, using some of the CGAL algorithms for point set processing would be highly advantageous.</p>

<p>Amongst others, I need to get the jet smoothing algorithm running - here shown by the example from:
<a href="http://doc.cgal.org/latest/Point_set_processing_3/" rel="nofollow">http://doc.cgal.org/latest/Point_set_processing_3/</a></p>

<pre><code>#include &lt;CGAL/Exact_predicates_inexact_constructions_kernel.h&gt;
#include &lt;CGAL/jet_smooth_point_set.h&gt;
#include &lt;vector&gt;

// types
typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel;
typedef Kernel::Point_3 Point;

int main(void)
{
  // generate point set
  std::vector&lt;Point&gt; points;
  points.push_back(Point( 0.0, 0.0, 0.001));
  points.push_back(Point(-0.1,-0.1, 0.002));
  points.push_back(Point(-0.1,-0.2, 0.001));
  points.push_back(Point(-0.1, 0.1, 0.002));
  points.push_back(Point( 0.1,-0.1, 0.000));
  points.push_back(Point( 0.1, 0.2, 0.001));
  points.push_back(Point( 0.2, 0.0, 0.002));
  points.push_back(Point( 0.2, 0.1, 0.000));
  points.push_back(Point( 0.0,-0.1, 0.001));

  // Smoothing.
  const unsigned int nb_neighbors = 8; // default is 24 for real-life point sets
  CGAL::jet_smooth_point_set(points.begin(), points.end(), nb_neighbors);
  return EXIT_SUCCESS;
}
</code></pre>

<p>When compiling this (using CMake), I am hit with the following errors:</p>

<pre><code>   error: no matching function for call to ‘jet_smooth_point_set(std::vector&lt;CGAL::Point_3&lt;CGAL::Epick&gt; &gt;::iterator, std::vector&lt;CGAL::Point_3&lt;CGAL::Epick&gt; &gt;::iterator, const unsigned int&amp;)’
   CGAL::jet_smooth_point_set(points.begin(), points.end(), nb_neighbors);

   jet_smooth_point_set.h:177:1: note: candidate: template&lt;class Concurrency_tag, class InputIterator, class PointPMap, class Kernel, class SvdTraits&gt; void CGAL::jet_smooth_point_set(InputIterator, InputIterator, PointPMap, unsigned int, const Kernel&amp;, unsigned int, unsigned int)

   note:   candidate expects 7 arguments, 3 provided
   CGAL::jet_smooth_point_set(points.begin(), points.end(), nb_neighbors);
</code></pre>

<p>The error seems to imply that the function is not specified in the included header file? Yet it seems that the header has been located correctly?</p>

<p>The same issue arises in the examples shipped with the CGAL repository.</p>

<p>My set up is Ubuntu 15.10, GCC 5.2.1, CMake 3.2.2, and I have produced this error with CGAL 4.6 from the Ubuntu repositories and the CGAL 4.8-beta compiled from the Github repository.</p>

<p>For what it is worth, the outlier removal-example as well as the input/output-examples compile and execute correctly.</p>

<p>I feel somewhat stuck at this point and would appreciate any help.</p>