Subject: CGAL users discussion list
List archive
- From: Nikitita91 <>
- To:
- Subject: [cgal-discuss] Poisson triangulation
- Date: Tue, 3 Jun 2014 08:15:04 -0700 (PDT)
Hi i am trying to compile de "surface_reconstruction_points_3" example but
the next error apeared when i make it:
monica@monica-Aspire-E1-571:~/Escritorio/examples/Surface_reconstruction_points_3$
cmake -G "Eclipse CDT4 - Unix Makefiles"
-- Could not determine Eclipse version, assuming at least 3.6 (Helios).
Adjust CMAKE_ECLIPSE_VERSION if this is wrong.
-- CGAL not found. Set the CGAL_DIR cmake variable or environment variable
to the directory containing CGALConfig.cmake. This is either the binary
directory where CGAL was configured or PREFIX/lib/CGAL for an installation.
-- NOTICE: This program requires the CGAL library, and will not be compiled.
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/monica/Escritorio/examples/Surface_reconstruction_points_3
monica@monica-Aspire-E1-571:~/Escritorio/examples/Surface_reconstruction_points_3$
cmake -G "Eclipse CDT4 - Unix Makefiles"
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Could not determine Eclipse version, assuming at least 3.6 (Helios).
Adjust CMAKE_ECLIPSE_VERSION if this is wrong.
-- 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
-- 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 -Wl,--as-needed
'
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- Requested component: MPFR
-- Requested component: GMP
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "3.1.0")
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/monica/Escritorio/examples/Surface_reconstruction_points_3
monica@monica-Aspire-E1-571:~/Escritorio/examples/Surface_reconstruction_points_3$
make
Scanning dependencies of target poisson_reconstruction_example
[100%] Building CXX object
CMakeFiles/poisson_reconstruction_example.dir/poisson_reconstruction_example.cpp.o
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:65:0,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/ios:40,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from /usr/include/CGAL/trace.h:25,
from
/home/monica/Escritorio/examples/Surface_reconstruction_points_3/poisson_reconstruction_example.cpp:1:
/usr/include/c++/4.8/bits/stl_iterator_base_types.h: In instantiation of
‘struct std::iterator_traits<CGAL::Point_with_normal_3<CGAL::Epick> >’:
/usr/include/CGAL/value_type_traits.h:40:56: required from ‘struct
CGAL::value_type_traits<CGAL::Point_with_normal_3<CGAL::Epick> >’
/usr/include/CGAL/Point_with_normal_3.h:165:1: required by substitution of
‘template<class Iter> CGAL::Normal_of_point_with_normal_pmap<typename
CGAL::Kernel_traits<typename CGAL::value_type_traits<T>::type>::Kernel>
CGAL::make_normal_of_point_with_normal_pmap(Iter) [with Iter =
CGAL::Point_with_normal_3<CGAL::Epick>]’
/home/monica/Escritorio/examples/Surface_reconstruction_points_3/poisson_reconstruction_example.cpp:48:98:
required from here
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:165:53: error: no type
named ‘iterator_category’ in ‘class CGAL::Point_with_normal_3<CGAL::Epick>’
typedef typename _Iterator::iterator_category iterator_category;
^
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:166:53: error: no type
named ‘value_type’ in ‘class CGAL::Point_with_normal_3<CGAL::Epick>’
typedef typename _Iterator::value_type value_type;
^
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:167:53: error: no type
named ‘difference_type’ in ‘class CGAL::Point_with_normal_3<CGAL::Epick>’
typedef typename _Iterator::difference_type difference_type;
^
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:168:53: error: no type
named ‘pointer’ in ‘class CGAL::Point_with_normal_3<CGAL::Epick>’
typedef typename _Iterator::pointer pointer;
^
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:169:53: error: no type
named ‘reference’ in ‘class CGAL::Point_with_normal_3<CGAL::Epick>’
typedef typename _Iterator::reference reference;
^
/home/monica/Escritorio/examples/Surface_reconstruction_points_3/poisson_reconstruction_example.cpp:
In function ‘int main()’:
/home/monica/Escritorio/examples/Surface_reconstruction_points_3/poisson_reconstruction_example.cpp:48:98:
error: no matching function for call to
‘make_normal_of_point_with_normal_pmap(std::vector<CGAL::Point_with_normal_3<CGAL::Epick>
>::value_type)’
CGAL::make_normal_of_point_with_normal_pmap(PointList::value_type())))
^
/home/monica/Escritorio/examples/Surface_reconstruction_points_3/poisson_reconstruction_example.cpp:48:98:
note: candidate is:
In file included from
/usr/include/CGAL/Reconstruction_triangulation_3.h:25:0,
from
/usr/include/CGAL/Poisson_reconstruction_function.h:35,
from
/home/monica/Escritorio/examples/Surface_reconstruction_points_3/poisson_reconstruction_example.cpp:9:
/usr/include/CGAL/Point_with_normal_3.h:165:1: note: template<class Iter>
CGAL::Normal_of_point_with_normal_pmap<typename CGAL::Kernel_traits<typename
CGAL::value_type_traits<T>::type>::Kernel>
CGAL::make_normal_of_point_with_normal_pmap(Iter)
make_normal_of_point_with_normal_pmap(Iter)
^
/usr/include/CGAL/Point_with_normal_3.h:165:1: note: substitution of
deduced template arguments resulted in errors seen above
/home/monica/Escritorio/examples/Surface_reconstruction_points_3/poisson_reconstruction_example.cpp:60:113:
error: no matching function for call to
‘make_normal_of_point_with_normal_pmap(std::vector<CGAL::Point_with_normal_3<CGAL::Epick>
>::value_type)’
CGAL::make_normal_of_point_with_normal_pmap(PointList::value_type()) );
^
/home/monica/Escritorio/examples/Surface_reconstruction_points_3/poisson_reconstruction_example.cpp:60:113:
note: candidate is:
In file included from
/usr/include/CGAL/Reconstruction_triangulation_3.h:25:0,
from
/usr/include/CGAL/Poisson_reconstruction_function.h:35,
from
/home/monica/Escritorio/examples/Surface_reconstruction_points_3/poisson_reconstruction_example.cpp:9:
/usr/include/CGAL/Point_with_normal_3.h:165:1: note: template<class Iter>
CGAL::Normal_of_point_with_normal_pmap<typename CGAL::Kernel_traits<typename
CGAL::value_type_traits<T>::type>::Kernel>
CGAL::make_normal_of_point_with_normal_pmap(Iter)
make_normal_of_point_with_normal_pmap(Iter)
^
/usr/include/CGAL/Point_with_normal_3.h:165:1: note: template argument
deduction/substitution failed:
make[2]: ***
[CMakeFiles/poisson_reconstruction_example.dir/poisson_reconstruction_example.cpp.o]
Error 1
make[1]: *** [CMakeFiles/poisson_reconstruction_example.dir/all] Error 2
make: *** [all] Error 2
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Poisson-triangulation-tp4659394.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Poisson triangulation, Nikitita91, 06/03/2014
- Re: [cgal-discuss] Poisson triangulation, colonel_panic, 06/03/2014
Archive powered by MHonArc 2.6.18.