Oscilloscope
Oscilloscope copied to clipboard
[Linux] Compilation fails due to non-declared flags
I am compiling the latest version on Linux, and I was having compilation problems that I eventually tracked down to the version of make I was using. I have now downgraded to make 4.2.1, and compilation progresses further but still fails. The errors now seem to be in OsciVideoWriter.cpp. The three errors thrown are:
line 219: error: ‘CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope; did you mean ‘AV_CODEC_FLAG_GLOBAL_HEADER’?
line 427: error: ‘CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope; did you mean ‘AV_CODEC_FLAG_GLOBAL_HEADER’?
line 483: error: ‘AVFMT_RAWPICTURE’ was not declared in this scope
I have tried replacing the first two with the suggested replacements, and the errors disappeared, but the one on line 483 I cannot figure out how to fix.