I was looking at a thread in the multimedia & video forum about k9copy no longer being in the repositories, and that someone had tried an old version but it apparently didn't work as they wanted. I checked and indeed it's not in the default repos anymore. I installed kdevelop, which in turn installed much, if not all, of kde4. I downloaded the source from sourceforge and unpacked it. I'm not sure exactly how I did it, because I really don't understand the occumpaning readme, but I've gotten cmake to run and then running make it kicks out one error. It appears, if I am following things correctly, that something has changed in avformat.h, which I believe is from libavformat-dev, which in turn I *think* is installed when ffmpeg is. At any rate, the struct (??) of "AVFormatParameters" is no longer defined. I checked the avformat.h on my 14.04 system and "AVFormatParameters" is not there.
Here's the output from the latest make:
Code:
dave@davelaptop:~$ cd Downloads
dave@davelaptop:~/Downloads$ ls
cm-10.1.3.2-encore.zip k9copy-2.3.8-Source.tar.gz
cm-10.2.1-encore.zip openrecovery-twrp-2.3.1.0-encore-signed.zip
Downloads.kdev4 TWRP_2.3.0.2-encore-1gb-sdimg.zip
gapps-jb-20130812-signed.zip TWRP_2.3.0.2-encore-sdimg.img
k9copy-2.3.8-Source
dave@davelaptop:~/Downloads$ cd k9copy-2.3.8-Source
dave@davelaptop:~/Downloads/k9copy-2.3.8-Source$ cd build
dave@davelaptop:~/Downloads/k9copy-2.3.8-Source/build$ make
[ 0%] Built target k9copy_automoc
[ 0%] Built target k9copylib_automoc
[ 43%] Built target k9copylib
[ 43%] Building CXX object CMakeFiles/k9copy.dir/k9copy_automoc.o
In file included from /home/dave/Downloads/k9copy-2.3.8-Source/build/../src/import/k9chapteredit.h:18:0,
from /home/dave/Downloads/k9copy-2.3.8-Source/build/moc_k9chapteredit.cpp:9,
from /home/dave/Downloads/k9copy-2.3.8-Source/build/k9copy_automoc.cpp:15:
/home/dave/Downloads/k9copy-2.3.8-Source/build/../src/import/k9avidecode.h:32:91: error: ‘AVFormatParameters’ has not been declared
typedef int (*av_open_input_file_t)(AVFormatContext **, const char *,AVInputFormat *,int, AVFormatParameters *);
^
In file included from /home/dave/Downloads/k9copy-2.3.8-Source/src/mpeg2/kdecmpeg2.h:24:0,
from /home/dave/Downloads/k9copy-2.3.8-Source/src/mpeg2/k9decodethread.h:20,
from /home/dave/Downloads/k9copy-2.3.8-Source/src/mpeg2/k9plaympeg2.h:24,
from /home/dave/Downloads/k9copy-2.3.8-Source/build/../src/main/k9cropselect.h:33,
from /home/dave/Downloads/k9copy-2.3.8-Source/build/moc_k9cropselect.cpp:9,
from /home/dave/Downloads/k9copy-2.3.8-Source/build/k9copy_automoc.cpp:41:
/home/dave/Downloads/k9copy-2.3.8-Source/src/mplayer/k9internalplayer.h:17:7: warning: ‘class k9InternalPlayer’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
class k9InternalPlayer {
^
make[2]: *** [CMakeFiles/k9copy.dir/k9copy_automoc.o] Error 1
make[1]: *** [CMakeFiles/k9copy.dir/all] Error 2
make: *** [all] Error 2
dave@davelaptop:~/Downloads/k9copy-2.3.8-Source/build$
Can anyone guide a novice in how to get around this? Basically I just want to build k9copy from the latest source on sourceforge using the 14.04 libs, etc.. I can then try it out and see if it works as one of the posters in that thread wants it to.
Thank you in advance!!
Bookmarks