Build fixes for Boost >= 1.73
[dcpomatic.git] / src / tools / dcpomatic_batch.cc
index 2be37a38727324fa045486654b10e719b7ae1ab1..3517de9fef04650675663cf49132c25b710e8c2e 100644 (file)
@@ -42,6 +42,7 @@
 #include <wx/wx.h>
 #include <boost/foreach.hpp>
 #include <iostream>
+#include <set>
 
 using std::exception;
 using std::string;
@@ -52,6 +53,9 @@ using boost::shared_ptr;
 using boost::thread;
 using boost::scoped_array;
 using boost::dynamic_pointer_cast;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 
 static list<boost::filesystem::path> films_to_load;
 
@@ -381,6 +385,8 @@ class App : public wxApp
 {
        bool OnInit ()
        {
+               wxInitAllImageHandlers ();
+
                SetAppName (_("DCP-o-matic Batch Converter"));
                is_batch_converter = true;