gyunaev / karlyriceditor

lyrics editor and CD+G/video exporter for Karaoke
http://www.ulduzsoft.com/linux/karaoke-lyrics-editor/
GNU General Public License v3.0
48 stars 14 forks source link

Failed when building on arch linux #17

Closed Moanrisy closed 1 year ago

Moanrisy commented 1 year ago

mars@mohammad-81yh  ~/Downloads/karlyriceditor   master ± make

`cd src/ && ( test -e Makefile /usr/bin/qmake-qt5 -o Makefile /home/mars/Downloads/karlyriceditor/src/src.pro ) && make -f Makefile make[1]: Entering directory '/home/mars/Downloads/karlyriceditor/src' g++ -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/ffmpeg -I/usr/include/qt -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtMultimedia -I/usr/include/qt/QtGui -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o ffmpegvideodecoder.o ffmpegvideodecoder.cpp ffmpegvideodecoder.cpp: In member function ‘bool FFMpegVideoDecoder::openFile(const QString&, unsigned int)’: ffmpegvideodecoder.cpp:107:44: error: invalid conversion from ‘const AVCodec’ to ‘AVCodec’ [-fpermissive] 107 AVCodec *dec = avcodec_find_decoder( stream->codecpar->codec_id ); ~~~~^~~~~~~~~~
const AVCodec*

make[1]: [Makefile:1309: ffmpegvideodecoder.o] Error 1 make[1]: Leaving directory '/home/mars/Downloads/karlyriceditor/src' make: [Makefile:47: sub-src-make_first] Error 2 `