Upgrade Boost to 1.66 on Windows

This commit is contained in:
Vojtech Kral 2019-01-16 12:22:17 +01:00
parent 7b449a5361
commit e8d63f3eb1
10 changed files with 25 additions and 16 deletions

View file

@ -16,7 +16,7 @@ REGISTER_CLASS(Flow, "Flow");
REGISTER_CLASS(CoolingBuffer, "GCode::CoolingBuffer");
REGISTER_CLASS(GCode, "GCode");
REGISTER_CLASS(GCodePreviewData, "GCode::PreviewData");
REGISTER_CLASS(GCodeSender, "GCode::Sender");
// REGISTER_CLASS(GCodeSender, "GCode::Sender");
REGISTER_CLASS(Layer, "Layer");
REGISTER_CLASS(SupportLayer, "Layer::Support");
REGISTER_CLASS(LayerRegion, "Layer::Region");

View file

@ -37,7 +37,7 @@
#include <ostream>
#include <iostream>
#include <sstream>
#include <libslic3r.h>
// #include <libslic3r.h>
#ifdef SLIC3RXS
extern "C" {
@ -68,12 +68,19 @@ extern "C" {
#undef fputc
#undef fwrite
#undef fclose
#undef sleep
#undef test
#undef accept
#undef wait
// Breaks compilation with Eigen matrices embedded into Slic3r::Point.
#undef malloc
#undef realloc
#undef free
#undef select
// Because of TBB
#define _WIN32_WINNT 0x0502
#endif /* _MSC_VER */
#undef Zero
#undef Packet