chrisidefix / cgal-bindings

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

cgal-bindings build failed with cgal-4.0.2-1 on ubuntu 13.04 64bit #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
cd ; cd sandbox;
git clone https://code.google.com/p/cgal-bindings
cd cgal-bindings
mkdir build/CGAL-4.0.2-1 -p
cd build/CGAL-4.0.2-1
export LANG=C; export LANGUAGE=en_US:en
cmake -DCGAL_DIR=/usr/lib/CGAL -DBUILD_PYTHON=OFF 
-DJAVA_OUTDIR_PREFIX=../../examples/java ../..
make -j

What is the expected output?
the project build without errors
What do you see instead?
fossil@fossil-lt5:~/sandbox/cgal-bindings/build/CGAL-4.0.2-1$ cmake 
-DCGAL_DIR=/usr/lib/CGAL -DBUILD_PYTHON=OFF 
-DJAVA_OUTDIR_PREFIX=../../examples/java ../..
-- The C compiler identification is GNU 4.7.3
-- The CXX compiler identification is GNU 4.7.3
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found SWIG: /usr/bin/swig2.0 (found version "2.0.8") 
-- Build type: Release
-- USING CXXFLAGS = '-g -O2 -fstack-protector --param=ssp-buffer-size=4 
-Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -frounding-math -O3 
-DNDEBUG'
-- USING EXEFLAGS = ' -Wl,-Bsymbolic-functions -Wl,-z,relro '
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- Using patches for CGAL-4.0
-- Using patches from CGAL-4.2
-- Release mode with g++: using -fno-strict-aliasing flags
-- BUILD_Ruby is set to OFF: no CGAL-bindings for Ruby will be generated.
-- BUILD_PYTHON is set to OFF: no CGAL-bindings for Python will be generated.
-- Found JNI: /usr/lib/jvm/default-java/jre/lib/amd64/libjawt.so  
-- Found JNI: JNI include dirs /usr/lib/jvm/default-java/include 
/usr/lib/jvm/default-java/include.
-- CGAL-SWIG Java libraries and files will be respectively written in 
/home/fossil/sandbox/cgal-bindings/examples/java/lib and 
/home/fossil/sandbox/cgal-bindings/examples/java/CGAL.
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "3.1.0") 
-- Configuring done
-- Generating done
-- Build files have been written to: 
/home/fossil/sandbox/cgal-bindings/build/CGAL-4.0.2-1
fossil@fossil-lt5:~/sandbox/cgal-bindings/build/CGAL-4.0.2-1$ make -j
Scanning dependencies of target CGAL_Java_cpp
Scanning dependencies of target CGAL_Kernel_cpp
[  1%] [  3%] Building CXX object 
SWIG_CGAL/Java/CMakeFiles/CGAL_Java_cpp.dir/JavaData.cpp.o
Building CXX object 
SWIG_CGAL/Java/CMakeFiles/CGAL_Java_cpp.dir/global_functions.cpp.o
[  4%] [  6%] [  7%] [  9%] Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Weighted_point_2.cpp.o
Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Point_2.cpp.o
Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Segment_2.cpp.o
Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Triangle_2.cpp.o
[ 10%] [ 12%] [ 14%] Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Ray_2.cpp.o
Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Direction_2.cpp.o
[ 15%] [ 17%] Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Line_2.cpp.o
[ 18%] Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Vector_2.cpp.o
Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Polygon_2.cpp.o
[ 20%] Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Point_3.cpp.o
[ 21%] Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Weighted_point_3.cpp.o
Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Sphere_3.cpp.o
[ 23%] [ 25%] Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Plane_3.cpp.o
[ 26%] Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Segment_3.cpp.o
[ 28%] Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Line_3.cpp.o
Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Triangle_3.cpp.o
[ 29%] [ 31%] Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Tetrahedron_3.cpp.o
[ 34%] [ 32%] Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Direction_3.cpp.o
[ 35%] Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Ray_3.cpp.o
Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Vector_3.cpp.o
[ 37%] Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Object.cpp.o
[ 39%] [ 40%] Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/global_functions.cpp.o
Building CXX object SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Origin.cpp.o
Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel_cpp.dir/Iso_rectangle_2.cpp.o
Linking CXX shared library ../../lib/libCGAL_Java_cpp.so
[ 40%] Built target CGAL_Java_cpp
[ 42%] Swig source
Scanning dependencies of target CGAL_Java
[ 43%] Building CXX object 
SWIG_CGAL/Java/CMakeFiles/CGAL_Java.dir/CGAL_JavaJAVA_wrap.cxx.o
Linking CXX shared module ../../../../examples/java/lib/libCGAL_Java.so
[ 43%] Built target CGAL_Java
Linking CXX shared library ../../lib/libCGAL_Kernel_cpp.so
[ 43%] Built target CGAL_Kernel_cpp
[ 45%] [ 46%] Scanning dependencies of target CGAL_Triangulation_3_cpp
[ 48%] Scanning dependencies of target CGAL_Triangulation_2_cpp
Swig source
Scanning dependencies of target CGAL_Mesh_3_cpp
Scanning dependencies of target CGAL_Surface_mesher_cpp
Scanning dependencies of target CGAL_AABB_tree_cpp
Swig source
[ 50%] Scanning dependencies of target CGAL_Alpha_shape_2_cpp
[ 53%] [ 54%] Swig source
Swig source
[ 57%] [ 56%] [ 57%] [ 59%] Swig source
Swig source
Swig source
Building CXX object 
SWIG_CGAL/Triangulation_2/CMakeFiles/CGAL_Triangulation_2_cpp.dir/Object.cpp.o
[ 62%] [ 62%] Swig source
[ 64%] Building CXX object 
SWIG_CGAL/Mesh_3/CMakeFiles/CGAL_Mesh_3_cpp.dir/Object.cpp.o
Building CXX object 
SWIG_CGAL/Alpha_shape_2/CMakeFiles/CGAL_Alpha_shape_2_cpp.dir/Object.cpp.o
[ 65%] Building CXX object 
SWIG_CGAL/Triangulation_3/CMakeFiles/CGAL_Triangulation_3_cpp.dir/Object.cpp.o
Building CXX object 
SWIG_CGAL/Surface_mesher/CMakeFiles/CGAL_Surface_mesher_cpp.dir/Object.cpp.o
Building CXX object 
SWIG_CGAL/AABB_tree/CMakeFiles/CGAL_AABB_tree_cpp.dir/Object.cpp.o
Scanning dependencies of target CGAL_Point_set_processing_3
Scanning dependencies of target CGAL_Convex_hull_2
[ 67%] [ 68%] Building CXX object 
SWIG_CGAL/Point_set_processing_3/CMakeFiles/CGAL_Point_set_processing_3.dir/CGAL
_Point_set_processing_3JAVA_wrap.cxx.o
Building CXX object 
SWIG_CGAL/Convex_hull_2/CMakeFiles/CGAL_Convex_hull_2.dir/CGAL_Convex_hull_2JAVA
_wrap.cxx.o
Scanning dependencies of target CGAL_HalfedgeDS
[ 70%] Building CXX object 
SWIG_CGAL/HalfedgeDS/CMakeFiles/CGAL_HalfedgeDS.dir/CGAL_HalfedgeDSJAVA_wrap.cxx
.o
Scanning dependencies of target CGAL_Polyhedron_3
[ 71%] Building CXX object 
SWIG_CGAL/Polyhedron_3/CMakeFiles/CGAL_Polyhedron_3.dir/CGAL_Polyhedron_3JAVA_wr
ap.cxx.o
Scanning dependencies of target CGAL_Interpolation
[ 73%] Building CXX object 
SWIG_CGAL/Interpolation/CMakeFiles/CGAL_Interpolation.dir/CGAL_InterpolationJAVA
_wrap.cxx.o
Scanning dependencies of target CGAL_Kernel
[ 75%] Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/CGAL_Kernel.dir/CGAL_KernelJAVA_wrap.cxx.o
Scanning dependencies of target CGAL_Mesh_2
[ 76%] Building CXX object 
SWIG_CGAL/Mesh_2/CMakeFiles/CGAL_Mesh_2.dir/CGAL_Mesh_2JAVA_wrap.cxx.o
Linking CXX shared library ../../lib/libCGAL_Surface_mesher_cpp.so
[ 76%] Built target CGAL_Surface_mesher_cpp
[ 78%] Swig source
Linking CXX shared library ../../lib/libCGAL_Triangulation_2_cpp.so
Linking CXX shared library ../../lib/libCGAL_Triangulation_3_cpp.so
Linking CXX shared library ../../lib/libCGAL_Alpha_shape_2_cpp.so
Scanning dependencies of target CGAL_Spatial_searching
[ 79%] [ 79%] Built target CGAL_Triangulation_2_cpp
Building CXX object 
SWIG_CGAL/Spatial_searching/CMakeFiles/CGAL_Spatial_searching.dir/CGAL_Spatial_s
earchingJAVA_wrap.cxx.o
[ 81%] [ 82%] Swig source
Swig source
[ 82%] Built target CGAL_Triangulation_3_cpp
[ 82%] [ 84%] Built target CGAL_Alpha_shape_2_cpp
Swig source
[ 85%] Swig source
Linking CXX shared library ../../lib/libCGAL_AABB_tree_cpp.so
[ 85%] Built target CGAL_AABB_tree_cpp
[ 87%] Swig source
Linking CXX shared library ../../lib/libCGAL_Mesh_3_cpp.so
[ 87%] Built target CGAL_Mesh_3_cpp
[ 89%] Swig source
Scanning dependencies of target CGAL_AABB_tree
[ 90%] Building CXX object 
SWIG_CGAL/AABB_tree/CMakeFiles/CGAL_AABB_tree.dir/CGAL_AABB_treeJAVA_wrap.cxx.o
Scanning dependencies of target CGAL_Surface_mesher
[ 92%] Building CXX object 
SWIG_CGAL/Surface_mesher/CMakeFiles/CGAL_Surface_mesher.dir/CGAL_Surface_mesherJ
AVA_wrap.cxx.o
Scanning dependencies of target CGAL_Alpha_shape_2
[ 93%] Building CXX object 
SWIG_CGAL/Alpha_shape_2/CMakeFiles/CGAL_Alpha_shape_2.dir/CGAL_Alpha_shape_2JAVA
_wrap.cxx.o
Scanning dependencies of target CGAL_Mesh_3
[ 95%] Building CXX object 
SWIG_CGAL/Mesh_3/CMakeFiles/CGAL_Mesh_3.dir/CGAL_Mesh_3JAVA_wrap.cxx.o
Linking CXX shared module ../../../../examples/java/lib/libCGAL_Convex_hull_2.so
[ 95%] Built target CGAL_Convex_hull_2
Scanning dependencies of target CGAL_Triangulation_3
[ 96%] Building CXX object 
SWIG_CGAL/Triangulation_3/CMakeFiles/CGAL_Triangulation_3.dir/CGAL_Triangulation
_3JAVA_wrap.cxx.o
Linking CXX shared module ../../../../examples/java/lib/libCGAL_HalfedgeDS.so
[ 96%] Built target CGAL_HalfedgeDS
Scanning dependencies of target CGAL_Voronoi_diagram_2
[ 98%] Building CXX object 
SWIG_CGAL/Voronoi_diagram_2/CMakeFiles/CGAL_Voronoi_diagram_2.dir/CGAL_Voronoi_d
iagram_2JAVA_wrap.cxx.o
In file included from 
/home/fossil/sandbox/cgal-bindings/SWIG_CGAL/Alpha_shape_2/typedefs.h:11:0,
                 from /home/fossil/sandbox/cgal-bindings/SWIG_CGAL/Alpha_shape_2/all_includes.h:10,
                 from /home/fossil/sandbox/cgal-bindings/build/CGAL-4.0.2-1/SWIG_CGAL/Alpha_shape_2/CGAL_Alpha_shape_2JAVA_wrap.cxx:283:
/usr/include/CGAL/Alpha_shape_2.h: In instantiation of 'CGAL::Alpha_shape_2<Dt, 
ExactAlphaComparisonTag>::Classification_type CGAL::Alpha_shape_2<Dt, 
ExactAlphaComparisonTag>::classify(const Point&, const Type_of_alpha&) const 
[with Dt = CGAL::Delaunay_triangulation_2<CGAL::Epick, 
CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Epick
>, CGAL::Triangulation_face_base_with_info_2<JavaData, CGAL::Epick, 
CGAL::Alpha_shape_face_base_2<CGAL::Epick, 
CGAL::Triangulation_face_base_2<CGAL::Epick> > > > >; ExactAlphaComparisonTag = 
CGAL::Boolean_tag<false>; CGAL::Alpha_shape_2<Dt, 
ExactAlphaComparisonTag>::Point = CGAL::Point_2<CGAL::Epick>; 
CGAL::Alpha_shape_2<Dt, ExactAlphaComparisonTag>::Type_of_alpha = double]':
/home/fossil/sandbox/cgal-bindings/SWIG_CGAL/Alpha_shape_2/Alpha_shape_2.h:93:3:
   required from 'Classification_type Alpha_shape_2_wrapper<Alpha_shape, Point, 
Vertex_handle, Face_handle, Weighted_tag, Base_wrapper>::classify(const Point&, 
const double&) [with Alpha_shape = 
CGAL::Alpha_shape_2<CGAL::Delaunay_triangulation_2<CGAL::Epick, 
CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Epick
>, CGAL::Triangulation_face_base_with_info_2<JavaData, CGAL::Epick, 
CGAL::Alpha_shape_face_base_2<CGAL::Epick, 
CGAL::Triangulation_face_base_2<CGAL::Epick> > > > > >; Point = Point_2; 
Vertex_handle = 
SWIG_Triangulation_2::CGAL_Vertex_handle<CGAL::Alpha_shape_2<CGAL::Delaunay_tria
ngulation_2<CGAL::Epick, 
CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Epick
>, CGAL::Triangulation_face_base_with_info_2<JavaData, CGAL::Epick, 
CGAL::Alpha_shape_face_base_2<CGAL::Epick, 
CGAL::Triangulation_face_base_2<CGAL::Epick> > > > > >, Point_2>; Face_handle = 
SWIG_Triangulation_2::CGAL_Face_handle<CGAL::Alpha_shape_2<CGAL::Delaunay_triang
ulation_2<CGAL::Epick, 
CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Epick
>, CGAL::Triangulation_face_base_with_info_2<JavaData, CGAL::Epick, 
CGAL::Alpha_shape_face_base_2<CGAL::Epick, 
CGAL::Triangulation_face_base_2<CGAL::Epick> > > > > >, Point_2>; Weighted_tag 
= CGAL::Boolean_tag<false>; Base_wrapper = 
Delaunay_triangulation_2_wrapper<CGAL::Alpha_shape_2<CGAL::Delaunay_triangulatio
n_2<CGAL::Epick, 
CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Epick
>, CGAL::Triangulation_face_base_with_info_2<JavaData, CGAL::Epick, 
CGAL::Alpha_shape_face_base_2<CGAL::Epick, 
CGAL::Triangulation_face_base_2<CGAL::Epick> > > > > >, 
SWIG_Triangulation_2::CGAL_Vertex_handle<CGAL::Alpha_shape_2<CGAL::Delaunay_tria
ngulation_2<CGAL::Epick, 
CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Epick
>, CGAL::Triangulation_face_base_with_info_2<JavaData, CGAL::Epick, 
CGAL::Alpha_shape_face_base_2<CGAL::Epick, 
CGAL::Triangulation_face_base_2<CGAL::Epick> > > > > >, Point_2>, 
SWIG_Triangulation_2::CGAL_Face_handle<CGAL::Alpha_shape_2<CGAL::Delaunay_triang
ulation_2<CGAL::Epick, 
CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Epick
>, CGAL::Triangulation_face_base_with_info_2<JavaData, CGAL::Epick, 
CGAL::Alpha_shape_face_base_2<CGAL::Epick, 
CGAL::Triangulation_face_base_2<CGAL::Epick> > > > > >, Point_2> >]'
/home/fossil/sandbox/cgal-bindings/build/CGAL-4.0.2-1/SWIG_CGAL/Alpha_shape_2/CG
AL_Alpha_shape_2JAVA_wrap.cxx:9971:98:   required from here
/usr/include/CGAL/Alpha_shape_2.h:594:44: error: 'locate' was not declared in 
this scope, and no declarations were found by argument-dependent lookup at the 
point of instantiation [-fpermissive]
/usr/include/CGAL/Alpha_shape_2.h:594:44: note: declarations in dependent base 
'CGAL::Triangulation_2<CGAL::Epick, 
CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Epick
>, CGAL::Triangulation_face_base_with_info_2<JavaData, CGAL::Epick, 
CGAL::Alpha_shape_face_base_2<CGAL::Epick, 
CGAL::Triangulation_face_base_2<CGAL::Epick> > > > >' are not found by 
unqualified lookup
/usr/include/CGAL/Alpha_shape_2.h:594:44: note: use 'this->locate' instead
/usr/include/CGAL/Alpha_shape_2.h: In instantiation of 'CGAL::Alpha_shape_2<Dt, 
ExactAlphaComparisonTag>::Classification_type CGAL::Alpha_shape_2<Dt, 
ExactAlphaComparisonTag>::classify(const Point&, const Type_of_alpha&) const 
[with Dt = 
CGAL::Regular_triangulation_2<CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL
::Epick>, 
CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Weigh
ted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Regular_triangulation_vertex_base_2<CGAL::Weighted_alpha_shape_euclidean_t
raits_2<CGAL::Epick> > >, CGAL::Triangulation_face_base_with_info_2<JavaData, 
CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Alpha_shape_face_base_2<CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL
::Epick>, 
CGAL::Regular_triangulation_face_base_2<CGAL::Weighted_alpha_shape_euclidean_tra
its_2<CGAL::Epick> > > > > >; ExactAlphaComparisonTag = 
CGAL::Boolean_tag<false>; CGAL::Alpha_shape_2<Dt, 
ExactAlphaComparisonTag>::Point = CGAL::Point_2<CGAL::Epick>; 
CGAL::Alpha_shape_2<Dt, ExactAlphaComparisonTag>::Type_of_alpha = double]':
/home/fossil/sandbox/cgal-bindings/SWIG_CGAL/Alpha_shape_2/Alpha_shape_2.h:93:3:
   required from 'Classification_type Alpha_shape_2_wrapper<Alpha_shape, Point, 
Vertex_handle, Face_handle, Weighted_tag, Base_wrapper>::classify(const Point&, 
const double&) [with Alpha_shape = 
CGAL::Alpha_shape_2<CGAL::Regular_triangulation_2<CGAL::Weighted_alpha_shape_euc
lidean_traits_2<CGAL::Epick>, 
CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Weigh
ted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Regular_triangulation_vertex_base_2<CGAL::Weighted_alpha_shape_euclidean_t
raits_2<CGAL::Epick> > >, CGAL::Triangulation_face_base_with_info_2<JavaData, 
CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Alpha_shape_face_base_2<CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL
::Epick>, 
CGAL::Regular_triangulation_face_base_2<CGAL::Weighted_alpha_shape_euclidean_tra
its_2<CGAL::Epick> > > > > > >; Point = Weighted_point_2; Vertex_handle = 
SWIG_Triangulation_2::CGAL_Vertex_handle<CGAL::Alpha_shape_2<CGAL::Regular_trian
gulation_2<CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Weigh
ted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Regular_triangulation_vertex_base_2<CGAL::Weighted_alpha_shape_euclidean_t
raits_2<CGAL::Epick> > >, CGAL::Triangulation_face_base_with_info_2<JavaData, 
CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Alpha_shape_face_base_2<CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL
::Epick>, 
CGAL::Regular_triangulation_face_base_2<CGAL::Weighted_alpha_shape_euclidean_tra
its_2<CGAL::Epick> > > > > > >, Weighted_point_2>; Face_handle = 
SWIG_Triangulation_2::CGAL_Face_handle<CGAL::Alpha_shape_2<CGAL::Regular_triangu
lation_2<CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Weigh
ted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Regular_triangulation_vertex_base_2<CGAL::Weighted_alpha_shape_euclidean_t
raits_2<CGAL::Epick> > >, CGAL::Triangulation_face_base_with_info_2<JavaData, 
CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Alpha_shape_face_base_2<CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL
::Epick>, 
CGAL::Regular_triangulation_face_base_2<CGAL::Weighted_alpha_shape_euclidean_tra
its_2<CGAL::Epick> > > > > > >, Weighted_point_2>; Weighted_tag = 
CGAL::Boolean_tag<true>; Base_wrapper = 
Regular_triangulation_2_wrapper<CGAL::Alpha_shape_2<CGAL::Regular_triangulation_
2<CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Weigh
ted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Regular_triangulation_vertex_base_2<CGAL::Weighted_alpha_shape_euclidean_t
raits_2<CGAL::Epick> > >, CGAL::Triangulation_face_base_with_info_2<JavaData, 
CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Alpha_shape_face_base_2<CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL
::Epick>, 
CGAL::Regular_triangulation_face_base_2<CGAL::Weighted_alpha_shape_euclidean_tra
its_2<CGAL::Epick> > > > > > >, 
SWIG_Triangulation_2::CGAL_Vertex_handle<CGAL::Alpha_shape_2<CGAL::Regular_trian
gulation_2<CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Weigh
ted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Regular_triangulation_vertex_base_2<CGAL::Weighted_alpha_shape_euclidean_t
raits_2<CGAL::Epick> > >, CGAL::Triangulation_face_base_with_info_2<JavaData, 
CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Alpha_shape_face_base_2<CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL
::Epick>, 
CGAL::Regular_triangulation_face_base_2<CGAL::Weighted_alpha_shape_euclidean_tra
its_2<CGAL::Epick> > > > > > >, Weighted_point_2>, 
SWIG_Triangulation_2::CGAL_Face_handle<CGAL::Alpha_shape_2<CGAL::Regular_triangu
lation_2<CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Weigh
ted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Regular_triangulation_vertex_base_2<CGAL::Weighted_alpha_shape_euclidean_t
raits_2<CGAL::Epick> > >, CGAL::Triangulation_face_base_with_info_2<JavaData, 
CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Alpha_shape_face_base_2<CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL
::Epick>, 
CGAL::Regular_triangulation_face_base_2<CGAL::Weighted_alpha_shape_euclidean_tra
its_2<CGAL::Epick> > > > > > >, Weighted_point_2> >]'
/home/fossil/sandbox/cgal-bindings/build/CGAL-4.0.2-1/SWIG_CGAL/Alpha_shape_2/CG
AL_Alpha_shape_2JAVA_wrap.cxx:19595:107:   required from here
/usr/include/CGAL/Alpha_shape_2.h:594:44: error: 'locate' was not declared in 
this scope, and no declarations were found by argument-dependent lookup at the 
point of instantiation [-fpermissive]
/usr/include/CGAL/Alpha_shape_2.h:594:44: note: declarations in dependent base 
'CGAL::Triangulation_2<CGAL::Weighted_point_mapper_2<CGAL::Weighted_alpha_shape_
euclidean_traits_2<CGAL::Epick> >, 
CGAL::Triangulation_data_structure_2<CGAL::Alpha_shape_vertex_base_2<CGAL::Weigh
ted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Regular_triangulation_vertex_base_2<CGAL::Weighted_alpha_shape_euclidean_t
raits_2<CGAL::Epick> > >, CGAL::Triangulation_face_base_with_info_2<JavaData, 
CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL::Epick>, 
CGAL::Alpha_shape_face_base_2<CGAL::Weighted_alpha_shape_euclidean_traits_2<CGAL
::Epick>, 
CGAL::Regular_triangulation_face_base_2<CGAL::Weighted_alpha_shape_euclidean_tra
its_2<CGAL::Epick> > > > > >' are not found by unqualified lookup
/usr/include/CGAL/Alpha_shape_2.h:594:44: note: use 'this->locate' instead
Linking CXX shared module ../../../../examples/java/lib/libCGAL_Polyhedron_3.so
[ 98%] Built target CGAL_Polyhedron_3
Scanning dependencies of target CGAL_Triangulation_2
[100%] Building CXX object 
SWIG_CGAL/Triangulation_2/CMakeFiles/CGAL_Triangulation_2.dir/CGAL_Triangulation
_2JAVA_wrap.cxx.o
make[2]: *** 
[SWIG_CGAL/Alpha_shape_2/CMakeFiles/CGAL_Alpha_shape_2.dir/CGAL_Alpha_shape_2JAV
A_wrap.cxx.o] Error 1
make[1]: *** [SWIG_CGAL/Alpha_shape_2/CMakeFiles/CGAL_Alpha_shape_2.dir/all] 
Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX shared module 
../../../../examples/java/lib/libCGAL_Point_set_processing_3.so
[100%] Built target CGAL_Point_set_processing_3
Linking CXX shared module ../../../../examples/java/lib/libCGAL_Kernel.so
[100%] Built target CGAL_Kernel
Linking CXX shared module ../../../../examples/java/lib/libCGAL_Interpolation.so
[100%] Built target CGAL_Interpolation
Linking CXX shared module ../../../../examples/java/lib/libCGAL_Mesh_2.so
[100%] Built target CGAL_Mesh_2
Linking CXX shared module 
../../../../examples/java/lib/libCGAL_Spatial_searching.so
[100%] Built target CGAL_Spatial_searching
Linking CXX shared module ../../../../examples/java/lib/libCGAL_AABB_tree.so
[100%] Built target CGAL_AABB_tree
Linking CXX shared module 
../../../../examples/java/lib/libCGAL_Voronoi_diagram_2.so
[100%] Built target CGAL_Voronoi_diagram_2
Linking CXX shared module 
../../../../examples/java/lib/libCGAL_Surface_mesher.so
[100%] Built target CGAL_Surface_mesher
Linking CXX shared module 
../../../../examples/java/lib/libCGAL_Triangulation_3.so
[100%] Built target CGAL_Triangulation_3
Linking CXX shared module 
../../../../examples/java/lib/libCGAL_Triangulation_2.so
[100%] Built target CGAL_Triangulation_2
Linking CXX shared module ../../../../examples/java/lib/libCGAL_Mesh_3.so
[100%] Built target CGAL_Mesh_3
make: *** [all] Error 2

What version of the product are you using? On what operating system?
ubuntu 13.04 upgraded from 12.04, 12.10
fossil@fossil-lt5:~/sandbox/cgal-bindings/build/CGAL-4.0.2-1$ dpkg -l libcgal*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                   Version                  
Architecture             Description
+++-======================================-========================-============
============-===================================================================
==============
ii  libcgal-demo                           4.0.2-1                  all         
             C++ library for computational geometry (demos)
ii  libcgal-dev                            4.0.2-1                  amd64       
             C++ library for computational geometry (development files)
ii  libcgal-ipelets                        4.0.2-1                  amd64       
             C++ library for computational geometry (ipelets)
ii  libcgal9                               4.0.2-1                  amd64       
             C++ library for computational geometry

Please provide any additional information below.

fossil@fossil-lt5:~/sandbox/cgal-bindings/build/CGAL-4.0.2-1$ dpkg -l swig*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                   Version                  
Architecture             Description
+++-======================================-========================-============
============-===================================================================
==============
ii  swig                                   2.0.8-1ubuntu3           amd64       
             Generate scripting interfaces to C/C++ code
ii  swig-doc                               2.0.8-1ubuntu3           all         
             HTML documentation for SWIG
ii  swig-examples                          2.0.8-1ubuntu3           all         
             Examples for applications of SWIG
ii  swig2.0                                2.0.8-1ubuntu3           amd64       
             Generate scripting interfaces to C/C++ code
ii  swig2.0-doc                            2.0.8-1ubuntu3           all         
             HTML documentation for SWIG
ii  swig2.0-examples                       2.0.8-1ubuntu3           all         
             Examples for applications of SWIG

fossil@fossil-lt5:~/sandbox/cgal-bindings/build/CGAL-4.0.2-1$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 13.04
Release:    13.04
Codename:   raring

Original issue reported on code.google.com by victor.p...@gmail.com on 25 Aug 2013 at 8:44

GoogleCodeExporter commented 9 years ago
You need CGAL version 4.2

Original comment by sloriot...@gmail.com on 2 Sep 2013 at 6:44

GoogleCodeExporter commented 9 years ago
the installation guide saying:

https://code.google.com/p/cgal-bindings/wiki/Installation
"
Prerequisites
CGAL version 4.0 or newer,
"

the ubuntu 13.04 has cgal version 4.0.2-1, so it is fulfill the "version 4.0 or 
newer" requirements.

BUT the build using this default version failed.

This means, that you either need to change the description to explain, that you 
need 4.2 and provide details about how to get it installed in parallel to 
existing one.
OR provide reference # in git of cgal-bindings corresponding to 4.0.2-1

Otherwise a lot of people, who have default installation will face with this 
trouble and spent a lot of time trying different options.

Original comment by victor.p...@gmail.com on 2 Sep 2013 at 6:26

GoogleCodeExporter commented 9 years ago
git pull and try again.

Original comment by sloriot...@gmail.com on 3 Sep 2013 at 5:19