cpp-io2d / P0267_RefImpl

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

Arch Linux: Build gets to 66% then spews errors #136

Open numine777 opened 4 years ago

numine777 commented 4 years ago

Attempting to run this library on Arch and while I can configure cmake without errors, when I go to run build, I get to 66% and then my terminal explodes into a slew of errors. Most of them revolve around a discontinuity in number of arguments given to hpp files. I've attached what my terminal will give me for an error log, but it is damned hard to read. IO2DBuildAttempt.txt

Duck-Development commented 3 years ago

i get the same failer

git/P0267_RefImpl/P0267_RefImpl/Samples/svg/external/svgpp/include/svgpp/policy/value_events.hpp:23:5: note: candidate expects 2 arguments, 3 provided 23 | context.set(tag, args...);

shivaarunkumar commented 3 years ago

This error occurs on Ubuntu 20.04 as well. The actual error is when compiling the SVG sample:

P0267_RefImpl/P0267_RefImpl/Samples/svg/external/svgpp/include/svgpp/policy/value_events.hpp:23:5: error: no matching function for call to ‘GradientStopContext::set(svgpp::tag::attribute::stroke&, const svgpp::tag::iri_fragment&, const boost::iterator_range<const char*>&, const int&)’

/mnt/e/C/Uda/W/P0267_RefImpl/Debug master lsb_release -a ✔ base Py 02:29:06 PM No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.1 LTS Release: 20.04 Codename: focal

cmake --version ✔ base Py 02:29:50 PM cmake version 3.16.3

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Looks like a known issue (boost bug or incompatibility): https://github.com/svgpp/svgpp/issues/79 Just need to upgrade to svgpp 1.3.0 instead of 1.2.1