alfalfa
alfalfa copied to clipboard
Build fail when make
Hello author, thank you for your contributions. I use sudo apt install to install all needed packets. Then I follow the cmd to configure and make. But when I make, there is a error as below:
block.hh:129:7: error: implicitly-declared ‘TwoDStorage<Block<Y_after_Y2, bmode> >::Context::Context(const TwoDStorage<Block<Y_after_Y2, bmode> >::Context&)’ is deprecated [-Werror=deprecated-copy]
macroblock.hh:52:7: error: implicitly-declared ‘TwoDStorage<Macroblock<KeyFrameHeader, KeyFrameMacroblockHeader> >::Context::Context(const TwoDStorage<Macroblock<KeyFrameHeader, KeyFrameMacroblockHeader> >::Context&)’ is deprecated [-Werror=deprecated-copy]
Thanks :)
Hello @Alexyali,
This seems to be a problem with newer versions of GCC (>7.0). I'll give it a look and will push a fix later today. Thank you!
--Sadjad
Yes, my gcc version is higher than 7.0. Thank you.