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
59 stars 16 forks source link

Erro compiling #21

Open dvalenca opened 1 year ago

dvalenca commented 1 year ago

I had a lot of errors trying to running make on the last sourcecode provided for linux (the 2.2 version on sourceforge).

All of them because some ffmpeg uptade that deprecated a lot of things.

ffmpegvideoencoder.cpp:417:17: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘pts’ 417 | audioStream->pts.num = origAudioStream->pts.num; | ^~~ ffmpegvideoencoder.cpp:417:44: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘pts’ 417 | audioStream->pts.num = origAudioStream->pts.num; | ^~~ ffmpegvideoencoder.cpp:418:17: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘pts’ 418 | audioStream->pts.den = origAudioStream->pts.den; | ^~~ ffmpegvideoencoder.cpp:418:44: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘pts’ 418 | audioStream->pts.den = origAudioStream->pts.den;

I gave up, but after a make -i, all those files didnt compile:

g++: error: ffmpegvideoencoder.o: Arquivo ou diretório inexistente g++: error: licensing.o: Arquivo ou diretório inexistente g++: error: kfn_file_parser.o: Arquivo ou diretório inexistente