Re: Error compiling kino.....

sean darcy <[email protected]>
Newsgroups gmane.comp.video.kino.devel
Message-ID <[email protected]>
On Sun, Apr 19, 2009 at 1:02 PM, Robin Cook <[email protected]> wrote:
> I am trying to compile kino and I need ffmpeg from svn for another
> program.  I am getting the below error when trying to compile kino.
>
> Any suggestions on how to fix it?
>
> Thanks
>
> g++ -DHAVE_CONFIG_H -I. -I.. -Wall      -I/usr/include/alsa
> -I/usr/include/libxml2   -pthread -D_REENTRANT -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0
> -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb
> -I/usr/include/libpng12      -D_FILE_OFFSET_BITS=64 -DKINO_PLUGINDIR=
> \""/usr/lib/kino-gtk2"\" -DDATADIR=\""/usr/share"\" -D_REENTRANT
> -D__STDC_CONSTANT_MACROS    -march=k8 -m32 -pipe -DPIC -fPIC -O3 -MT
> frame.o -MD -MP -MF .deps/frame.Tpo -c -o frame.o frame.cc
> frame.cc: In member function 'int Frame::ExtractYUV(void*)':
> frame.cc:1124: error: 'PIX_FMT_YUV422' was not declared in this scope
> frame.cc: In member function 'bool Frame::CreateEncoder(bool, bool)':
> frame.cc:1317: warning: 'AVFormatContext* av_alloc_format_context()' is
> deprecated (declared at /usr/include/libavformat/avformat.h:873)
> frame.cc:1317: warning: 'AVFormatContext* av_alloc_format_context()' is
> deprecated (declared at /usr/include/libavformat/avformat.h:873)
> make[3]: *** [frame.o] Error 1
> make[3]: Leaving directory `/usr/src/kino-1.3.3/src'
> make[2]: Leaving directory `/usr/src/kino-1.3.3/src'
> make[1]: Leaving directory `/usr/src/kino-1.3.3'
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Kino-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/kino-dev
>
>

Try kino cvs. There are fixes in frame.cc for new ffmpeg.

sean

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.