Package Details: ultimaker-libnest2d-git 0.4.r26.g4d6fb4d-2

Git Clone URL: https://aur.archlinux.org/ultimaker-libnest2d-git.git (read-only, click to copy)
Package Base: ultimaker-libnest2d-git
Description: 2D irregular bin packaging and nesting library written in modern C++ (Ultimaker fork)
Upstream URL: https://github.com/Ultimaker/libnest2d
Licenses: LGPL3
Conflicts: libnest2d
Provides: libnest2d
Submitter: ad1217
Maintainer: None
Last Packager: ad1217
Votes: 2
Popularity: 0.000000
First Submitted: 2020-11-09 02:01 (UTC)
Last Updated: 2020-12-22 16:29 (UTC)

Dependencies (5)

Required by (2)

Sources (2)

Latest Comments

tomasstorck commented on 2020-12-22 20:08 (UTC)

@ad1217, legend, I really learned something today. These changes and the changes you made in the AUR package python-pynest2d-git made the AUR package cura-git compile again for me.

ad1217 commented on 2020-12-22 16:31 (UTC)

@ooijevaer boost-geometry requires C++14 as of 1.75, but this package was building using C++11. I've added a patch to bump up the version, so it hopefully should build now.

tomasstorck commented on 2020-12-22 09:59 (UTC)

Using yay, I'm getting compilation errors despite having base-devel installed. The first I've parsed below. Any suggestions?

==> Entering fakeroot environment...
==> Starting package()...
Scanning dependencies of target libnest2d_clipper_nlopt
[ 50%] Building CXX object CMakeFiles/libnest2d_clipper_nlopt.dir/src/libnest2d.cpp.o
In file included from /usr/include/boost/geometry/geometry.hpp:26,
                 from /usr/include/boost/geometry.hpp:17,
                 from /home/tomas/.cache/yay/ultimaker-libnest2d-git/src/libnest2d/include/libnest2d/utils/boost_alg.hpp:17,
                 from /home/tomas/.cache/yay/ultimaker-libnest2d-git/src/libnest2d/include/libnest2d/backends/clipper/geometries.hpp:348,
                 from /home/tomas/.cache/yay/ultimaker-libnest2d-git/src/libnest2d/include/libnest2d/libnest2d.hpp:7,
                 from /home/tomas/.cache/yay/ultimaker-libnest2d-git/src/libnest2d/src/libnest2d.cpp:1:
/usr/include/boost/geometry/geometry.hpp:27:1: note: ‘#pragma message: CAUTION: Boost.Geometry in Boost 1.73 deprecates support for C++03 and will require C++14 from Boost 1.75 onwards.’
   27 | BOOST_PRAGMA_MESSAGE("CAUTION: Boost.Geometry in Boost 1.73 deprecates support for C++03 and will require C++14 from Boost 1.75 onwards.")
      | ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/geometry/geometry.hpp:28:1: note: ‘#pragma message: CAUTION: Define BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING to suppress this message.’
   28 | BOOST_PRAGMA_MESSAGE("CAUTION: Define BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING to suppress this message.")
      | ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/geometry/core/tag.hpp:23,
                 from /usr/include/boost/geometry/core/ring_type.hpp:28,
                 from /usr/include/boost/geometry/core/closure.hpp:24,
                 from /usr/include/boost/geometry/geometry.hpp:34,
                 from /usr/include/boost/geometry.hpp:17,
                 from /home/tomas/.cache/yay/ultimaker-libnest2d-git/src/libnest2d/include/libnest2d/utils/boost_alg.hpp:17,
                 from /home/tomas/.cache/yay/ultimaker-libnest2d-git/src/libnest2d/include/libnest2d/backends/clipper/geometries.hpp:348,
                 from /home/tomas/.cache/yay/ultimaker-libnest2d-git/src/libnest2d/include/libnest2d/libnest2d.hpp:7,
                 from /home/tomas/.cache/yay/ultimaker-libnest2d-git/src/libnest2d/src/libnest2d.cpp:1:
/usr/include/boost/geometry/util/type_traits_std.hpp:54:25: error: expected template-name before ‘<’ token
   54 |     : std::conditional_t<Trait::value, conjunction<Traits...>, Trait>
      |                         ^
/usr/include/boost/geometry/util/type_traits_std.hpp:54:25: error: expected ‘{’ before ‘<’ token
/usr/include/boost/geometry/util/type_traits_std.hpp:68:25: error: expected template-name before ‘<’ token
   68 |     : std::conditional_t<Trait::value, Trait, disjunction<Traits...>>
      |                         ^
/usr/include/boost/geometry/util/type_traits_std.hpp:68:25: error: expected ‘{’ before ‘<’ token
/usr/include/boost/geometry/util/type_traits_std.hpp:95:23: error: ‘remove_cv_t’ in namespace ‘std’ does not name a template type; did you mean ‘remove_cv’?
   95 |     using type = std::remove_cv_t<std::remove_reference_t<T>>;
      |                       ^~~~~~~~~~~
      |                       remove_cv
/usr/include/boost/geometry/util/type_traits_std.hpp:105:23: error: ‘remove_const_t’ in namespace ‘std’ does not name a template type; did you mean ‘remove_const’?
  105 |     using type = std::remove_const_t<std::remove_reference_t<T>>;
      |                       ^~~~~~~~~~~~~~
      |                       remove_const
/usr/include/boost/geometry/util/type_traits_std.hpp:115:23: error: ‘remove_const_t’ in namespace ‘std’ does not name a template type; did you mean ‘remove_const’?
  115 |     using type = std::remove_const_t
      |                       ^~~~~~~~~~~~~~
      |                       remove_const
/usr/include/boost/geometry/util/type_traits_std.hpp:129:23: error: ‘conditional_t’ in namespace ‘std’ does not name a template type; did you mean ‘conditional’?
  129 |     using type = std::conditional_t
      |                       ^~~~~~~~~~~~~
      |                       conditional
/usr/include/boost/geometry/util/type_traits_std.hpp:166:18: error: ‘conditional_t’ in namespace ‘std’ does not name a template type; did you mean ‘conditional’?
  166 |     typedef std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional