diff --git a/src/slic3r/Utils/WxFontUtils.cpp b/src/slic3r/Utils/WxFontUtils.cpp index f7845bed5..d9e42742f 100644 --- a/src/slic3r/Utils/WxFontUtils.cpp +++ b/src/slic3r/Utils/WxFontUtils.cpp @@ -2,8 +2,9 @@ #include "libslic3r/MapUtils.hpp" #if defined(__APPLE__) -#include #include +#include +#include // wxNativeFontInfo #include #elif defined(__linux__) #include "slic3r/Utils/FontConfigHelp.hpp" diff --git a/tests/libslic3r/test_quadric_edge_collapse.cpp b/tests/libslic3r/test_quadric_edge_collapse.cpp index 3ae44d561..f9b014375 100644 --- a/tests/libslic3r/test_quadric_edge_collapse.cpp +++ b/tests/libslic3r/test_quadric_edge_collapse.cpp @@ -246,7 +246,7 @@ TEST_CASE("Simplify frog_legs.obj to 5% by IGL/qslim", "[]") TriangleMesh mesh = load_model(obj_filename); REQUIRE_FALSE(mesh.empty()); indexed_triangle_set &its = mesh.its; - double original_volume = its_volume(its); + //double original_volume = its_volume(its); uint32_t wanted_count = its.indices.size() * 0.05; Eigen::MatrixXd V(its.vertices.size(), 3);