cpp-io2d / P0267_RefImpl

Reference Implementations of P0267, the proposed 2D graphics API for ISO C++
Other
314 stars 115 forks source link

Ubuntu 18.04 First Build error "call to implicitly-deleted copy constructor" #131

Open josephnicholas opened 4 years ago

josephnicholas commented 4 years ago

Good day,

Currently doing some courses in Udacity, and I was mainly gonna do the project in my local computer, but it seems that there is some error during the final steps of the build, specifically the test part.


/P0267_RefImpl/P0267_RefImpl/Samples/svg/external/svgpp/include/svgpp/attribute_dispatcher.hpp:450:38: error: call to implicitly-deleted copy constructor of 'svgpp::detail::on_exit_attributes_functor<Canvas, svgpp::referencing_element<void>, svgpp::processed_elements<boost::mpl::set12<svgpp::tag::element::svg, svgpp::tag::element::g, svgpp::tag::element::use_, svgpp::tag::element::circle, svgpp::tag::element::ellipse, svgpp::tag::element::line, svgpp::tag::element::path, svgpp::tag::element::polygon, svgpp::tag::element::polyline, svgpp::tag::element::rect, svgpp::tag::element::linearGradient, svgpp::tag::element::stop> >, svgpp::processed_attributes<boost::mpl::s_item<svgpp::tag::attribute::x, boost::mpl::s_item<svgpp::tag::attribute::y, boost::mpl::s_item<svgpp::tag::attribute::width, boost::mpl::s_item<svgpp::tag::attribute::height, boost::mpl::s_item<svgpp::tag::attribute::viewBox, boost::mpl::s_item<svgpp::tag::attribute::preserveAspectRatio, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::path, svgpp::tag::attribute::d>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::rect, svgpp::tag::attribute::x>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::rect, svgpp::tag::attribute::y>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::rect, svgpp::tag::attribute::width>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::rect, svgpp::tag::attribute::height>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::rect, svgpp::tag::attribute::rx>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::rect, svgpp::tag::attribute::ry>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::circle, svgpp::tag::attribute::cx>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::circle, svgpp::tag::attribute::cy>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::circle, svgpp::tag::attribute::r>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::ellipse, svgpp::tag::attribute::cx>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::ellipse, svgpp::tag::attribute::cy>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::ellipse, svgpp::tag::attribute::rx>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::ellipse, svgpp::tag::attribute::ry>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::line, svgpp::tag::attribute::x1>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::line, svgpp::tag::attribute::y1>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::line, svgpp::tag::attribute::x2>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::line, svgpp::tag::attribute::y2>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::polyline, svgpp::tag::attribute::points>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::polygon, svgpp::tag::attribute::points>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::use_, svgpp::tag::attribute::xlink::href>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::stop, svgpp::tag::attribute::stop_opacity>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::stop, svgpp::tag::attribute::stop_color>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::stop, svgpp::tag::attribute::offset>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::linearGradient, svgpp::tag::attribute::id>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::linearGradient, svgpp::tag::attribute::y2>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::linearGradient, svgpp::tag::attribute::x2>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::linearGradient, svgpp::tag::attribute::y1>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::linearGradient, svgpp::tag::attribute::x1>, boost::mpl::s_item<boost::mpl::pair<svgpp::tag::element::linearGradient, svgpp::tag::attribute::gradientTransform>, boost::mpl::s_item<svgpp::tag::attribute::stroke_opacity, boost::mpl::s_item<svgpp::tag::attribute::fill_opacity, boost::mpl::s_item<svgpp::tag::attribute::opacity, boost::mpl::s_item<svgpp::tag::attribute::fill, boost::mpl::s_item<svgpp::tag::attribute::stroke_width, boost::mpl::s_item<svgpp::tag::attribute::stroke, boost::mpl::s_item<svgpp::tag::attribute::transform, boost::mpl::set0<mpl_::na> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >, svgpp::viewport_policy<svgpp::policy::viewport::as_transform>, svgpp::path_policy<PathPolicy>, svgpp::context_factories<ChildContextFactories>, svgpp::color_factory<svgpp::factory::color::percentage_adapter<ColorFactoryBase> >, svgpp::length_policy<svgpp::policy::length::forward_to_method<Canvas, const svgpp::factory::length::unitless<float, float, svgpp::tag::length_units::mm> > >, svgpp::attribute_traversal_policy<AttributeTraversal> >'
    boost::fusion::for_each(states_, fn);

Best, Joseph

Rajat-Arora commented 2 years ago

Did you find any solution?