FFmpeg-Builds icon indicating copy to clipboard operation
FFmpeg-Builds copied to clipboard

Error building libvvenc library (50-vvenc) in clang builds.

Open harishreddy50552 opened this issue 9 months ago • 1 comments

Error :

#70 404.2 [ 90%] Building CXX object source/Lib/vvenc/CMakeFiles/vvenc.dir//EncoderLib/SEIEncoder.cpp.obj #70 404.8 [ 91%] Building CXX object source/Lib/vvenc/CMakeFiles/vvenc.dir//EncoderLib/SEIFilmGrainAnalyzer.cpp.obj #70 409.1 In file included from /50-vvenc/source/Lib/EncoderLib/RateCtrl.cpp:48: #70 409.1 /50-vvenc/thirdparty/nlohmann_json/single_include/nlohmann/json.hpp:26439:35: error: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Werror,-Wdeprecated-literal-operator] #70 409.1 26439 | inline nlohmann::json operator "" _json(const char* s, std::size_t n) #70 409.1 | ~~~~~~~~~~~~^~~~~ #70 409.1 | operator""_json #70 409.1 /50-vvenc/thirdparty/nlohmann_json/single_include/nlohmann/json.hpp:26458:49: error: identifier '_json_pointer' preceded by whitespace in a literal operator declaration is deprecated [-Werror,-Wdeprecated-literal-operator]

I believe this was added 4 days ago for clang build which is treating this as an error. can we revert this change?

harishreddy50552 avatar Apr 03 '25 08:04 harishreddy50552

This exact error was already fixed a week ago: https://github.com/BtbN/FFmpeg-Builds/commit/6182351e61e28c11d07770b6e50ea03fe756d39f So make sure you're using the latest version.

BtbN avatar Apr 03 '25 11:04 BtbN