Fixed conflicts, fixed compilation of tests

This commit is contained in:
Lukas Matena 2024-09-30 15:33:27 +02:00
parent f03ee0a1b0
commit 15823c3776
10 changed files with 11 additions and 12 deletions

View File

@ -16,7 +16,7 @@
/*----------------------------------------------------------------*/
#include "libslic3r/Polygon.hpp"
#include "libslic3r/ConvexHull.hpp"
#include "libslic3r/Geometry/ConvexHull.hpp"
#include "seq_defs.hpp"
@ -43,7 +43,7 @@ struct PrinterGeometry
std::set<coord_t> convex_heights;
std::set<coord_t> box_heights;
std::map<coord_t, std::vector<Polygon> > extruder_slices;
std::map<coord_t, std::vector<Slic3r::Polygon> > extruder_slices;
};
@ -106,7 +106,7 @@ struct ObjectToPrint
{
int id = 0;
coord_t total_height = 0;
std::vector<std::pair<coord_t, Polygon>> pgns_at_height;
std::vector<std::pair<coord_t, Slic3r::Polygon>> pgns_at_height;
};

View File

@ -25,7 +25,7 @@
#include "libslic3r/Geometry.hpp"
#include "libslic3r/ExPolygon.hpp"
#include "libslic3r/ConvexHull.hpp"
#include "libslic3r/Geometry/ConvexHull.hpp"
#include <z3++.h>

View File

@ -15,7 +15,7 @@
#include <fstream>
#include "libslic3r/Polygon.hpp"
#include "libslic3r/ConvexHull.hpp"
#include "libslic3r/Geometry/ConvexHull.hpp"
#include "libslic3r/SVG.hpp"
#include "seq_version.hpp"

View File

@ -11,7 +11,7 @@
#include "libslic3r/Polygon.hpp"
#include "libslic3r/ConvexHull.hpp"
#include "libslic3r/Geometry/ConvexHull.hpp"
#include "libslic3r/SVG.hpp"
#include "seq_version.hpp"

View File

@ -16,7 +16,7 @@
#include "libslic3r/Polygon.hpp"
#include "libslic3r/ExPolygon.hpp"
#include "libslic3r/ConvexHull.hpp"
#include "libslic3r/Geometry/ConvexHull.hpp"
#include "libslic3r/SVG.hpp"
#include <z3++.h>

View File

@ -15,7 +15,7 @@
#include <vector>
#include "libslic3r/ExPolygon.hpp"
#include "libslic3r/ConvexHull.hpp"
#include "libslic3r/Geometry/ConvexHull.hpp"
#include "libslic3r/SVG.hpp"
#include <z3++.h>

View File

@ -17,7 +17,7 @@
#include <vector>
#include "libslic3r/ExPolygon.hpp"
#include "libslic3r/ConvexHull.hpp"
#include "libslic3r/Geometry/ConvexHull.hpp"
#include "libslic3r/SVG.hpp"
#include <z3++.h>

View File

@ -16,7 +16,7 @@
#include <vector>
#include "libslic3r/ExPolygon.hpp"
#include "libslic3r/ConvexHull.hpp"
#include "libslic3r/Geometry/ConvexHull.hpp"
#include "libslic3r/SVG.hpp"
#include <z3++.h>

View File

@ -6,7 +6,6 @@
#include <string>
#include "libseqarrange/include/seq_interface.hpp"
#include "libseqarrange/include/seq_sequential.hpp"
namespace Slic3r {

View File

@ -8,7 +8,7 @@ add_executable(${_TEST_NAME}_tests
)
# mold linker for successful linking needs also to link TBB library and link it before libslic3r.
target_link_libraries(${_TEST_NAME}_tests test_common TBB::tbb TBB::tbbmalloc libslic3r_gui libslic3r)
target_link_libraries(${_TEST_NAME}_tests test_common TBB::tbb TBB::tbbmalloc libslic3r_gui libslic3r libseqarrange)
if (MSVC)
target_link_libraries(${_TEST_NAME}_tests Setupapi.lib)