Oscilloscope icon indicating copy to clipboard operation
Oscilloscope copied to clipboard

[Linux] Compilation fails due to non-declared flags

Open DJLevel3 opened this issue 2 years ago • 15 comments

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.

DJLevel3 avatar Jan 26 '22 19:01 DJLevel3