openscad / docker-openscad

OpenSCAD-related docker files
BSD 2-Clause "Simplified" License
10 stars 10 forks source link

Failed to build CGAL #22

Closed PashaWNN closed 3 weeks ago

PashaWNN commented 3 weeks ago

Here is the listing of an error:


...redacted because of GitHub length limit...
#17 848.8 In member function 'CGAL::internal::Weight_min_max_dihedral_and_area CGAL::internal::Weight_min_max_dihedral_and_area::operator+(const CGAL::internal::Weight_min_max_dihedral_and_area&) const':
#17 848.8 cc1plus: note: parameter passing for argument of type 'CGAL::internal::Weight_min_max_dihedral_and_area' when C++17 is enabled changed to match C++14 in GCC 10.1
#17 1046.7 /usr/include/CGAL/Cartesian_converter.h: In function 'typename K2::Vector_3 CGAL::Cartesian_converter<K1, K2, Converter>::operator()(const typename K1::Vector_3&) const [with K1 = CGAL::Simple_cartesian<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >; K2 = CGAL::Simple_cartesian<CGAL::Interval_nt<false> >; Converter = CGAL::NT_converter<__gmp_expr<__mpq_struct [1], __mpq_struct [1]>, CGAL::Interval_nt<false> >]':
#17 1046.7 /usr/include/CGAL/Cartesian_converter.h:306:5: note: parameter passing for argument of type 'std::pair<double, double>' when C++17 is enabled changed to match C++14 in GCC 10.1
#17 1046.7   306 |     operator()(const typename K1::Vector_3 &a) const
#17 1046.7       |     ^~~~~~~~
#17 1415.3 c++: fatal error: Killed signal terminated program cc1plus
#17 1415.3 compilation terminated.
#17 1415.3 make[2]: *** [CMakeFiles/OpenSCAD.dir/build.make:429: CMakeFiles/OpenSCAD.dir/src/geometry/cgal/cgalutils-corefine.cc.o] Error 1
#17 1415.3 make[1]: *** [CMakeFiles/Makefile2:385: CMakeFiles/OpenSCAD.dir/all] Error 2
#17 1415.4 make: *** [Makefile:166: all] Error 2
t-paul commented 3 weeks ago

That's 99% likely an out of memory issue.