Skip to content

Commit

Permalink
+ fixes #2321: Build failure on current (71be79e) master
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Nov 1, 2015
1 parent 71be79e commit caec2d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/ReverseEngineering/App/BSplineFitting.cpp
Expand Up @@ -22,6 +22,7 @@


#include "PreCompiled.h"
#if defined(HAVE_PCL_SURFACE)
#ifndef _PreComp_
# include <Geom_BSplineSurface.hxx>
# include <TColgp_Array2OfPnt.hxx>
Expand All @@ -35,7 +36,6 @@

#include "BSplineFitting.h"

#if defined(HAVE_PCL_SURFACE)
#include <pcl/pcl_config.h>
#if PCL_VERSION_COMPARE(>=,1,7,0)
# include <pcl/point_cloud.h>
Expand All @@ -44,7 +44,6 @@
# include <pcl/surface/on_nurbs/fitting_surface_tdm.h>
# include <pcl/surface/on_nurbs/fitting_curve_2d_asdm.h>
#endif
#endif

using namespace Reen;

Expand Down Expand Up @@ -237,3 +236,4 @@ Handle(Geom_BSplineSurface) BSplineFitting::perform()
return Handle_Geom_BSplineSurface();
#endif
}
#endif // HAVE_PCL_SURFACE
3 changes: 3 additions & 0 deletions src/Mod/ReverseEngineering/App/BSplineFitting.h
Expand Up @@ -24,6 +24,7 @@
#ifndef REEN_BSPLINEFITTING_H
#define REEN_BSPLINEFITTING_H

#if defined(HAVE_PCL_SURFACE)
#include <Handle_Geom_BSplineSurface.hxx>
#include <Base/Vector3D.h>
#include <vector>
Expand Down Expand Up @@ -57,4 +58,6 @@ class BSplineFitting

}

#endif // HAVE_PCL_SURFACE

#endif // REEN_BSPLINEFITTING_H

0 comments on commit caec2d9

Please sign in to comment.