https://github.com/NGSolve/netgen/pull/172 --- ng/encoding.hpp.orig 2026-04-24 17:35:17 +++ ng/encoding.hpp 2026-05-10 13:47:12 @@ -3,6 +3,11 @@ #ifdef FFMPEG +#ifndef __STDC_FORMAT_MACROS +#define __STDC_FORMAT_MACROS +#endif +#include + extern "C" { #include #include @@ -16,6 +21,10 @@ #include } +using std::cerr; +using std::endl; +using std::string; + constexpr int BITRATE = 50000000; class Mpeg {