Subject: CGAL users discussion list
List archive
- From: Leonid <>
- To:
- Subject: [cgal-discuss] Building Python Bindings stops at Mesh_2
- Date: Mon, 9 Aug 2010 23:16:56 -0700 (PDT)
The building process stops at compilation of the Mesh_2 module. Build and
install of the bindings without Mesh_2 module succeeds.
system Ubuntu 9.10
all prerequisites are fulllfilled but boost_python library is replaced
by boost_python-mt
build output:
.../cgal-python-0.9.4-beta1$ python setup.py buildrunning build
running build_py
running build_ext
building 'CGAL/Mesh_2' extension
creating build/temp.linux-i686-2.6
creating build/temp.linux-i686-2.6/bindings
creating build/temp.linux-i686-2.6/bindings/Mesh_2
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -DCGAL_DONT_USE_LAZY_KERNEL -I../..
-I/.../cgal-python-0.9.4-beta1 -I/usr/include/python2.6 -c
bindings/Mesh_2/Py_Delaunay_mesher_2.cpp -o
build/temp.linux-i686-2.6/bindings/Mesh_2/Py_Delaunay_mesher_2.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
In file included from
/.../cgal-python-0.9.4-beta1/include/approximate_sqrt.h:39,
from bindings/Mesh_2/Py_Delaunay_mesher_2.cpp:21:
/usr/include/CGAL/Lazy_exact_nt.h: In member function ‘void
CGAL::Lazy_exact_Min<ET>::update_exact() [with ET = CGAL::Gmpq]’:
bindings/Mesh_2/Py_Delaunay_mesher_2.cpp:122: instantiated from here
/usr/include/CGAL/Lazy_exact_nt.h:294: error: call of overloaded
‘min(CGAL::Gmpq&, CGAL::Gmpq&)’ is ambiguous
/usr/include/CGAL/utils.h:30: note: candidates are: T CGAL::min(const
T&, const T&) [with T = CGAL::Gmpq]
/.../cgal-python-0.9.4-beta1/include/Kernels.h:77: note:
const CGAL::Lazy_exact_nt<CGAL::Gmpq>& CGAL::min(const
CGAL::Lazy_exact_nt<CGAL::Gmpq>&, const
CGAL::Lazy_exact_nt<CGAL::Gmpq>&)
/usr/include/c++/4.4/bits/stl_algobase.h:186: note:
const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = CGAL::Gmpq]
error: command 'gcc' failed with exit status 1
kind regards
Leonid
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Building-Python-Bindings-stops-at-Mesh-2-tp2319348p2319348.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Building Python Bindings stops at Mesh_2, Leonid, 08/10/2010
- Re: [cgal-discuss] Building Python Bindings stops at Mesh_2, Sylvain Pion, 08/10/2010
- [cgal-discuss] Re: Building Python Bindings stops at Mesh_2, Leonid, 08/10/2010
- Re: [cgal-discuss] Building Python Bindings stops at Mesh_2, Sylvain Pion, 08/10/2010
Archive powered by MHonArc 2.6.16.