Code Monkey home page Code Monkey logo

Comments (7)

nschloe avatar nschloe commented on May 27, 2024

Ubuntu 16.04

This is too old. You need CGAL 5 and also a newer compiler.

from pygalmesh.

xingyul3 avatar xingyul3 commented on May 27, 2024

Can you give a suggestion of what versions of gcc/g++?

from pygalmesh.

nschloe avatar nschloe commented on May 27, 2024

I'm not too sure. The tighter restriction is usually CGAL 5.

from pygalmesh.

xingyul3 avatar xingyul3 commented on May 27, 2024

Thanks for the quick response. I have installed GCAL 5 from source and have upgraded g++ to g++-9. Here are two of the errors:

/usr/local/include/CGAL/Mesh_criteria_3.h:111:78: error: no matching function for call to ‘CGAL::Mesh_cell_criteria_3<CGAL::Mesh_3_regular_triangulation_3_wrapper<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Triangulation_data_structure_3<CGAL::Mesh_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Mesh_domain_with_polyline_features_3<CGAL::Labeled_mesh_domain_3<CGAL::Epick> >, CGAL::Regular_triangulation_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Triangulation_ds_vertex_base_3<void> > >, CGAL::Compact_mesh_cell_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Mesh_domain_with_polyline_features_3<CGAL::Labeled_mesh_domain_3<CGAL::Epick> >, void>, CGAL::Sequential_tag> >, CGAL::Mesh_3::Cell_criteria_visitor_with_features<CGAL::Mesh_3_regular_triangulation_3_wrapper<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Triangulation_data_structure_3<CGAL::Mesh_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Mesh_domain_with_polyline_features_3<CGAL::Labeled_mesh_domain_3<CGAL::Epick> >, CGAL::Regular_triangulation_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Triangulation_ds_vertex_base_3<void> > >, CGAL::Compact_mesh_cell_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Mesh_domain_with_polyline_features_3<CGAL::Labeled_mesh_domain_3<CGAL::Epick> >, void>, CGAL::Sequential_tag> > > >::Mesh_cell_criteria_3(const double&, const pygalmesh::generate_with_sizing_field(const std::shared_ptr<pygalmesh::DomainBase>&, const string&, const std::vector<std::vector<std::array<double, 3ul> > >&, double, bool, bool, bool, bool, double, double, double, double, double, const std::shared_ptr<pygalmesh::SizingFieldBase>&, bool)::<lambda(CGAL::Type_equality_wrapper<CGAL::Cartesian_base_no_ref_count<double, CGAL::Epick>, CGAL::Epick>::Point_3, int, const Index&)>&)’
                                  | args[parameters::sizing_field | FT(0)] ] ])
/usr/local/include/CGAL/Mesh_cell_criteria_3.h:70:3: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’
/usr/local/include/CGAL/Mesh_criteria_3.h: In instantiation of ‘CGAL::internal::Mesh_criteria_3_impl<Tr, EdgeCriteria, FacetCriteria, CellCriteria>::Mesh_criteria_3_impl(const ArgumentPack&) [with ArgumentPack = boost::parameter::aux::arg_list<const boost::parameter::aux::tagged_argument<CGAL::parameters::tag::cell_size_, const pygalmesh::generate_with_sizing_field(const std::shared_ptr<pygalmesh::DomainBase>&, const string&, const std::vector<std::vector<std::array<double, 3ul> > >&, double, bool, bool, bool, bool, double, double, double, double, double, const std::shared_ptr<pygalmesh::SizingFieldBase>&, bool)::<lambda(CGAL::Type_equality_wrapper<CGAL::Cartesian_base_no_ref_count<double, CGAL::Epick>, CGAL::Epick>::Point_3, int, const Index&)> >, boost::parameter::aux::arg_list<const boost::parameter::aux::tagged_argument<CGAL::parameters::tag::cell_radius_edge_ratio_, const double>, boost::parameter::aux::arg_list<const boost::parameter::aux::tagged_argument<CGAL::parameters::tag::facet_distance_, const double>, boost::parameter::aux::arg_list<const boost::parameter::aux::tagged_argument<CGAL::parameters::tag::facet_size_, const double>, boost::parameter::aux::arg_list<const boost::parameter::aux::tagged_argument<CGAL::parameters::tag::facet_angle_, const double>, boost::parameter::aux::arg_list<const boost::parameter::aux::tagged_argument<CGAL::parameters::tag::edge_size_, const double>, boost::parameter::aux::empty_arg_list> > > > > >; Tr = CGAL::Mesh_3_regular_triangulation_3_wrapper<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Triangulation_data_structure_3<CGAL::Mesh_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Mesh_domain_with_polyline_features_3<CGAL::Labeled_mesh_domain_3<CGAL::Epick> >, CGAL::Regular_triangulation_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Triangulation_ds_vertex_base_3<void> > >, CGAL::Compact_mesh_cell_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Mesh_domain_with_polyline_features_3<CGAL::Labeled_mesh_domain_3<CGAL::Epick> >, void>, CGAL::Sequential_tag> >; EdgeCriteria = CGAL::Mesh_edge_criteria_3<CGAL::Mesh_3_regular_triangulation_3_wrapper<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Triangulation_data_structure_3<CGAL::Mesh_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Mesh_domain_with_polyline_features_3<CGAL::Labeled_mesh_domain_3<CGAL::Epick> >, CGAL::Regular_triangulation_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Triangulation_ds_vertex_base_3<void> > >, CGAL::Compact_mesh_cell_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Mesh_domain_with_polyline_features_3<CGAL::Labeled_mesh_domain_3<CGAL::Epick> >, void>, CGAL::Sequential_tag> > >; FacetCriteria = CGAL::Mesh_facet_criteria_3<CGAL::Mesh_3_regular_triangulation_3_wrapper<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Triangulation_data_structure_3<CGAL::Mesh_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Mesh_domain_with_polyline_features_3<CGAL::Labeled_mesh_domain_3<CGAL::Epick> >, CGAL::Regular_triangulation_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Triangulation_ds_vertex_base_3<void> > >, CGAL::Compact_mesh_cell_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Mesh_domain_with_polyline_features_3<CGAL::Labeled_mesh_domain_3<CGAL::Epick> >, void>, CGAL::Sequential_tag> >, CGAL::Mesh_3::Facet_criterion_visitor_with_features<CGAL::Mesh_3_regular_triangulation_3_wrapper<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Triangulation_data_structure_3<CGAL::Mesh_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Mesh_domain_with_polyline_features_3<CGAL::Labeled_mesh_domain_3<CGAL::Epick> >, CGAL::Regular_triangulation_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Triangulation_ds_vertex_base_3<void> > >, CGAL::Compact_mesh_cell_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Mesh_domain_with_polyline_features_3<CGAL::Labeled_mesh_domain_3<CGAL::Epick> >, void>, CGAL::Sequential_tag> > > >; CellCriteria = CGAL::Mesh_cell_criteria_3<CGAL::Mesh_3_regular_triangulation_3_wrapper<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Triangulation_data_structure_3<CGAL::Mesh_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Mesh_domain_with_polyline_features_3<CGAL::Labeled_mesh_domain_3<CGAL::Epick> >, CGAL::Regular_triangulation_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Triangulation_ds_vertex_base_3<void> > >, CGAL::Compact_mesh_cell_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Mesh_domain_with_polyline_features_3<CGAL::Labeled_mesh_domain_3<CGAL::Epick> >, void>, CGAL::Sequential_tag> >, CGAL::Mesh_3::Cell_criteria_visitor_with_features<CGAL::Mesh_3_regular_triangulation_3_wrapper<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Triangulation_data_structure_3<CGAL::Mesh_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Mesh_domain_with_polyline_features_3<CGAL::Labeled_mesh_domain_3<CGAL::Epick> >, CGAL::Regular_triangulation_vertex_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Triangulation_ds_vertex_base_3<void> > >, CGAL::Compact_mesh_cell_base_3<CGAL::Robust_weighted_circumcenter_filtered_traits_3<CGAL::Epick>, CGAL::Mesh_domain_with_polyline_features_3<CGAL::Labeled_mesh_domain_3<CGAL::Epick> >, void>, CGAL::Sequential_tag> > > >]’:

Any help will be appreciated!

from pygalmesh.

nschloe avatar nschloe commented on May 27, 2024

No idea, sorry.

from pygalmesh.

xingyul3 avatar xingyul3 commented on May 27, 2024

Then can you tell me the system configuration that you are using that works? For example, OS, compiler, CGAL version, python version etc.? I didn't find such info in the README.

from pygalmesh.

nschloe avatar nschloe commented on May 27, 2024

The easiest thing is probably to install it from the debian/ubuntu archive. https://packages.ubuntu.com/search?keywords=python3-pygalmesh

from pygalmesh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.