Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error with cgal #45

Open
zweistein opened this issue May 19, 2020 · 0 comments
Open

Compile error with cgal #45

zweistein opened this issue May 19, 2020 · 0 comments
Assignees

Comments

@zweistein
Copy link
Contributor

During the migration of the code to Ubuntu 18.04 (from 14.04 with libcgal10 ) I got a compile error linking against libcgal13_4.11-2build1_amd64.deb.

Does this problem originate from cgal version differences?

[  6%] Building CXX object CMakeFiles/pose_sets.dir/src/ecto_rbo_grasping/PoseSet.cpp.o
In file included from /usr/local/include/CGAL/Homogeneous/Homogeneous_base.h:51:0,
                 from /usr/local/include/CGAL/Homogeneous.h:28,
                 from /usr/local/include/CGAL/Extended_homogeneous.h:24,
                 from /home/elod/work/ws_robfun/src/vision/ecto_rbo_grasping/src/ecto_rbo_grasping/PoseSet.cpp:20:
/usr/local/include/CGAL/Cartesian/Line_3.h: In instantiation of ‘const Point_3& CGAL::LineC3<R_>::point() const [with R_ = CGAL::Simple_cartesian<CGAL::Nef_polynomial<CGAL::Lazy_exact_nt<CGAL::Gmpq> > >; CGAL::LineC3<R_>::Point_3 = CGAL::Point_3<CGAL::Simple_cartesian<CGAL::Nef_polynomial<CGAL::Lazy_exact_nt<CGAL::Gmpq> > > >]’:
/usr/local/include/CGAL/Cartesian/Line_3.h:144:25:   required from ‘bool CGAL::LineC3<R_>::has_on(const Point_3&) const [with R_ = CGAL::Simple_cartesian<CGAL::Nef_polynomial<CGAL::Lazy_exact_nt<CGAL::Gmpq> > >; CGAL::LineC3<R_>::Point_3 = CGAL::Point_3<CGAL::Simple_cartesian<CGAL::Nef_polynomial<CGAL::Lazy_exact_nt<CGAL::Gmpq> > > >]’
/usr/local/include/CGAL/Cartesian/function_objects.h:3577:30:   required from ‘CGAL::CartesianKernelFunctors::Has_on_3<K>::result_type CGAL::CartesianKernelFunctors::Has_on_3<K>::operator()(const Line_3&, const Point_3&) const [with K = CGAL::Simple_cartesian<CGAL::Nef_polynomial<CGAL::Lazy_exact_nt<CGAL::Gmpq> > >; CGAL::CartesianKernelFunctors::Has_on_3<K>::result_type = bool; CGAL::CartesianKernelFunctors::Has_on_3<K>::Line_3 = CGAL::Line_3<CGAL::Simple_cartesian<CGAL::Nef_polynomial<CGAL::Lazy_exact_nt<CGAL::Gmpq> > > >; CGAL::CartesianKernelFunctors::Has_on_3<K>::Point_3 = CGAL::Point_3<CGAL::Simple_cartesian<CGAL::Nef_polynomial<CGAL::Lazy_exact_nt<CGAL::Gmpq> > > >]’
/usr/local/include/CGAL/Line_3.h:108:33:   required from ‘bool CGAL::Line_3<R_>::has_on(const Point_3&) const [with R_ = CGAL::Simple_cartesian<CGAL::Nef_polynomial<CGAL::Lazy_exact_nt<CGAL::Gmpq> > >; CGAL::Line_3<R_>::Point_3 = CGAL::Point_3<CGAL::Simple_cartesian<CGAL::Nef_polynomial<CGAL::Lazy_exact_nt<CGAL::Gmpq> > > >]’
/usr/local/include/CGAL/Nef_S2/Sphere_circle.h:77:8:   required from ‘CGAL::Sphere_circle<R>::Sphere_circle(const CGAL::Sphere_point<R>&, const CGAL::Sphere_point<R>&) [with R_ = CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >]’
/usr/local/include/CGAL/Nef_S2/SM_overlayer.h:1734:19:   required from ‘void CGAL::SM_overlayer<SM_decorator_>::subdivide(const Map*, const Map*, Association&, bool) [with Association = CGAL::ID_support_handler<CGAL::SNC_items, CGAL::SNC_decorator<CGAL::SNC_structure<CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >, CGAL::SNC_items, bool> > >; SM_decorator_ = CGAL::SM_decorator<CGAL::SNC_sphere_map<CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >, CGAL::SNC_items, bool> >; CGAL::SM_overlayer<SM_decorator_>::Map = CGAL::SNC_sphere_map<CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >, CGAL::SNC_items, bool>]’
/usr/local/include/CGAL/Nef_3/Binary_operation.h:145:5:   required from ‘CGAL::Binary_operation<Map>::Vertex_handle CGAL::Binary_operation<Map>::binop_local_views(CGAL::Binary_operation<Map>::Vertex_const_handle, CGAL::Binary_operation<Map>::Vertex_const_handle, const Selection&, CGAL::Binary_operation<Map>::SNC_structure&, Association&) [with Selection = CGAL::Nef_polyhedron_3<CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> > >::AND; Association = CGAL::ID_support_handler<CGAL::SNC_items, CGAL::SNC_decorator<CGAL::SNC_structure<CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >, CGAL::SNC_items, bool> > >; Map = CGAL::SNC_structure<CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >, CGAL::SNC_items, bool>; CGAL::Binary_operation<Map>::Vertex_handle = CGAL::internal::In_place_list_iterator<CGAL::SNC_in_place_list_sm<CGAL::SNC_sphere_map<CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >, CGAL::SNC_items, bool> >, std::allocator<CGAL::SNC_in_place_list_sm<CGAL::SNC_sphere_map<CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >, CGAL::SNC_items, bool> > > >; CGAL::Binary_operation<Map>::Vertex_const_handle = CGAL::internal::In_place_list_const_iterator<CGAL::SNC_in_place_list_sm<CGAL::SNC_sphere_map<CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >, CGAL::SNC_items, bool> >, std::allocator<CGAL::SNC_in_place_list_sm<CGAL::SNC_sphere_map<CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >, CGAL::SNC_items, bool> > > >; CGAL::Binary_operation<Map>::SNC_structure = CGAL::SNC_structure<CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >, CGAL::SNC_items, bool>]’
/usr/local/include/CGAL/Nef_3/Binary_operation.h:368:19:   required from ‘void CGAL::Binary_operation<Map>::operator()(CGAL::Binary_operation<Map>::SNC_point_locator*, const SNC_structure&, const SNC_point_locator*, const SNC_structure&, const SNC_point_locator*, const Selection&) [with Selection = CGAL::Nef_polyhedron_3<CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> > >::AND; Map = CGAL::SNC_structure<CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >, CGAL::SNC_items, bool>; CGAL::Binary_operation<Map>::SNC_point_locator = CGAL::SNC_point_locator<CGAL::SNC_decorator<CGAL::SNC_structure<CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >, CGAL::SNC_items, bool> > >; CGAL::Binary_operation<Map>::SNC_structure = CGAL::SNC_structure<CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >, CGAL::SNC_items, bool>]’
/usr/local/include/CGAL/Nef_polyhedron_3.h:1350:7:   required from ‘CGAL::Nef_polyhedron_3<K, I, Mk> CGAL::Nef_polyhedron_3<K, I, Mk>::intersection(const CGAL::Nef_polyhedron_3<K, I, Mk>&) const [with Kernel_ = CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >; Items_ = CGAL::SNC_items; Mark_ = bool]’
/usr/local/include/CGAL/Nef_polyhedron_3.h:1414:24:   required from ‘CGAL::Nef_polyhedron_3<K, I, Mk> CGAL::Nef_polyhedron_3<K, I, Mk>::operator*(const CGAL::Nef_polyhedron_3<K, I, Mk>&) const [with Kernel_ = CGAL::Extended_cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >; Items_ = CGAL::SNC_items; Mark_ = bool]’
/home/elod/work/ws_robfun/src/vision/ecto_rbo_grasping/src/ecto_rbo_grasping/PoseSet.cpp:392:33:   required from here
/usr/local/include/CGAL/Cartesian/Line_3.h:78:17: error: call of overloaded ‘get(const Base&)’ is ambiguous
       return get(base).first;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant