Fixed missing includes

This commit is contained in:
bubnikv 2018-12-10 09:52:22 +01:00
parent 8481ca9610
commit aed6eabae8

View File

@ -1,5 +1,7 @@
#include "PostProcessor.hpp"
#include <boost/log/trivial.hpp>
#ifdef WIN32
namespace Slic3r {
@ -25,7 +27,8 @@ void run_post_process_scripts(const std::string &path, const PrintConfig &config
{
if (config.post_process.values.empty())
return;
//config.setenv_();
config.setenv_();
auto gcode_file = boost::filesystem::path(path);
if (! boost::filesystem::exists(gcode_file))
throw std::runtime_error(std::string("Post-processor can't find exported gcode file"));