chrisidefix / cgal-bindings

Automatically exported from code.google.com/p/cgal-bindings
Boost Software License 1.0
0 stars 0 forks source link

Compilation error #53

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

I just tried to compile cgal-bindings with the last CGAL available, and last 
version of boost too. The compilation goes almost to the end but crash while 
building Point_set_processing.

I endup with the following error message:

[ 98%] Building CXX object 
SWIG_CGAL/Point_set_processing_3/CMakeFiles/CGAL_Point_set_processing_3.dir/CGAL
_Point_set_processing_3JAVA_wrap.cxx.o
In file included from 
/home/vincent/cgal-bindings/SWIG_CGAL/Point_set_processing_3/CGAL_Point_set_proc
essing_3JAVA_wrap.cxx:281:0:
/home/vincent/cgal-bindings/SWIG_CGAL/Point_set_processing_3/functions.h: In 
function ‘void jet_smooth_point_set(Wrapper_iterator_helper<Point_3>::input, 
unsigned int, unsigned int, unsigned int)’:
/home/vincent/cgal-bindings/SWIG_CGAL/Point_set_processing_3/functions.h:111:102
: erreur: no matching function for call to 
‘jet_smooth_point_set(std::vector<CGAL::Point_3<CGAL::Epick> >::iterator, 
std::vector<CGAL::Point_3<CGAL::Epick> >::iterator, unsigned int&, unsigned 
int&, unsigned int&)’
/home/vincent/cgal-bindings/SWIG_CGAL/Point_set_processing_3/functions.h:111:102
: note: candidate is:
/usr/local/include/CGAL/jet_smooth_point_set.h:136:1: note: template<class 
InputIterator, class PointPMap, class Kernel, class SvdTraits> void 
CGAL::jet_smooth_point_set(InputIterator, InputIterator, PointPMap, unsigned 
int, const Kernel&, unsigned int, unsigned int)
/home/vincent/cgal-bindings/SWIG_CGAL/Point_set_processing_3/functions.h: In 
function ‘void jet_estimate_normals(Wrapper_iterator_helper<Point_3>::input, 
Wrapper_iterator_helper<Vector_3>::output, unsigned int, unsigned int)’:
/home/vincent/cgal-bindings/SWIG_CGAL/Point_set_processing_3/functions.h:127:101
: erreur: no matching function for call to 
‘jet_estimate_normals(std::vector<std::pair<CGAL::Point_3<CGAL::Epick>, 
CGAL::Vector_3<CGAL::Epick> > >::iterator, 
std::vector<std::pair<CGAL::Point_3<CGAL::Epick>, CGAL::Vector_3<CGAL::Epick> > 
>::iterator, 
CGAL::First_of_pair_property_map<std::pair<CGAL::Point_3<CGAL::Epick>, 
CGAL::Vector_3<CGAL::Epick> > >&, 
CGAL::Second_of_pair_property_map<std::pair<CGAL::Point_3<CGAL::Epick>, 
CGAL::Vector_3<CGAL::Epick> > >&, unsigned int&, unsigned int&)’
/home/vincent/cgal-bindings/SWIG_CGAL/Point_set_processing_3/functions.h:127:101
: note: candidate is:
/usr/local/include/CGAL/jet_estimate_normals.h:138:1: note: template<class 
ForwardIterator, class PointPMap, class NormalPMap, class Kernel, class 
SvdTraits> void CGAL::jet_estimate_normals(ForwardIterator, ForwardIterator, 
PointPMap, NormalPMap, unsigned int, const Kernel&, unsigned int)
make[2]: *** 
[SWIG_CGAL/Point_set_processing_3/CMakeFiles/CGAL_Point_set_processing_3.dir/CGA
L_Point_set_processing_3JAVA_wrap.cxx.o] Erreur 1
make[1]: *** 
[SWIG_CGAL/Point_set_processing_3/CMakeFiles/CGAL_Point_set_processing_3.dir/all
] Erreur 2

Could you please help me to solve this problem?

Original issue reported on code.google.com by vincentr...@gmail.com on 9 Sep 2014 at 3:22

GoogleCodeExporter commented 9 years ago
Any information on your system?

Original comment by sloriot...@gmail.com on 10 Sep 2014 at 12:09

GoogleCodeExporter commented 9 years ago
I have posted a bit more informations on the discussion group in fact.
I am using Ubuntu 12.04 and I am trying to compile the cgal-binding with CGal 
4.5.

Original comment by vincentr...@gmail.com on 22 Sep 2014 at 11:24

GoogleCodeExporter commented 9 years ago
Could you post the boost version and the compiler version?

Original comment by sloriot...@gmail.com on 25 Sep 2014 at 12:27

GoogleCodeExporter commented 9 years ago
For the compiler I use GNU make version 3.81
and the boost version is 1.46.1

Original comment by vincentr...@gmail.com on 29 Sep 2014 at 7:28

GoogleCodeExporter commented 9 years ago
I just tried with the last version of boost, 1.56 and I have the same issue.

Original comment by vincentr...@gmail.com on 29 Sep 2014 at 8:07

GoogleCodeExporter commented 9 years ago
make is not a compiler, I guess your using g++., but which version?

Original comment by sloriot...@gmail.com on 29 Sep 2014 at 8:38

GoogleCodeExporter commented 9 years ago
yes you are right, I am using gcc 4.6.3

Original comment by vincentr...@gmail.com on 29 Sep 2014 at 2:25