On Tue, Mar 23, 2010 at 8:33 PM, Brian Amos <[email protected]> wrote:
> Hello,
>
> I've been trying to build mlt 0.5.2 for a little while now, I had quite a
> few ffmpeg errors which were sorted out by following the tips here:
> http://www.mltframework.org/twiki/bin/view/MLT/BuildTips
>
> I'm running Ubuntu 9.10 and currently having issues with building python
> bindings with the swig option (required by OpenShot, I believe).

There should be a package for this version by now.

> here's the config I'm using: ./configure --enable-gpl --enable-ffplay
> --enable-shared options --swig-languages=python

"--enable-ffplay --enable-shared options" is meaningless, does nothing.

> and here's a snippet of the build output:
>
> make[1]: Entering directory `/usr/local/src/mlt-0.5.2/src/swig'
> list='python'; \
>     for subdir in $list; do \
>         if [ -x $subdir/build -a ! -f .$subdir -o all = clean ] ; \
>         then echo -n Building $subdir... ; \
>             cd $subdir && output=`./build all 2>&1` ; \
>             if [ $? -eq 0 ] ; \
>             then echo OK && touch ../.$subdir ; \
>             else echo $output && exit 1 ; \
>             fi ; \
>             cd .. ; \
>             if [ -f $subdir/Makefile -a -f .$subdir ] ; \
>             then make -C $subdir all || exit 1 ; \
>             fi ; \
>             if [ all = clean ] ; \
>             then rm -f .$subdir ; \
>             fi ; \
>         fi \
>     done
> Building python...../../mlt++/MltGeometry.h:62: Warning(509): Overloaded
> method Mlt::Geometry::fetch(Mlt::GeometryItem *,float) is shadowed by
> Mlt::Geometry::fetch(Mlt::GeometryItem &,float) at
> ../../mlt++/MltGeometry.h:61. ../../mlt++/MltGeometry.h:65: Warning(509):
> Overloaded method Mlt::Geometry::insert(Mlt::GeometryItem *) is shadowed by
> Mlt::Geometry::insert(Mlt::GeometryItem &) at ../../mlt++/MltGeometry.h:64.
> ../../mlt++/MltGeometry.h:70: Warning(509): Overloaded method
> Mlt::Geometry::next_key(Mlt::GeometryItem *,int) is shadowed by
> Mlt::Geometry::next_key(Mlt::GeometryItem &,int) at
> ../../mlt++/MltGeometry.h:69. ../../mlt++/MltGeometry.h:72: Warning(509):
> Overloaded method Mlt::Geometry::prev_key(Mlt::GeometryItem *,int) is
> shadowed by Mlt::Geometry::prev_key(Mlt::GeometryItem &,int) at
> ../../mlt++/MltGeometry.h:71. ../../mlt++/MltProducer.h:48: Warning(509):
> Overloaded method Mlt::Producer::Producer(Mlt::Producer *) is shadowed by
> Mlt::Producer::Producer(Mlt::Producer &) at ../../mlt++/MltProducer.h:47.
> ../../mlt++/MltPlaylist.h:99: Warning(509): Overloaded method
> Mlt::Playlist::insert_at(int,Mlt::Producer &) is shadowed by
> Mlt::Playlist::insert_at(int,Mlt::Producer *) at
> ../../mlt++/MltPlaylist.h:98. ../../mlt++/MltPlaylist.h:98: Warning(509):
> Overloaded method Mlt::Playlist::insert_at(int,Mlt::Producer *,int) is
> shadowed by Mlt::Playlist::insert_at(int,Mlt::Producer &,int) at
> ../../mlt++/MltPlaylist.h:99. ../../mlt++/MltTractor.h:59: Warning(509):
> Overloaded method Mlt::Tractor::plant_transition(Mlt::Transition *) is
> shadowed by Mlt::Tractor::plant_transition(Mlt::Transition &) at
> ../../mlt++/MltTractor.h:58. ../../mlt++/MltTractor.h:58: Warning(509):
> Overloaded method Mlt::Tractor::plant_transition(Mlt::Transition &,int) is
> shadowed by Mlt::Tractor::plant_transition(Mlt::Transition *,int) at
> ../../mlt++/MltTractor.h:59. ../../mlt++/MltTractor.h:59: Warning(509):
> Overloaded method Mlt::Tractor::plant_transition(Mlt::Transition *,int,int)
> is shadowed by Mlt::Tractor::plant_transition(Mlt::Transition &,int,int) at
> ../../mlt++/MltTractor.h:58. ../../mlt++/MltTractor.h:61: Warning(509):
> Overloaded method Mlt::Tractor::plant_filter(Mlt::Filter *) is shadowed by
> Mlt::Tractor::plant_filter(Mlt::Filter &) at ../../mlt++/MltTractor.h:60.
> ../../mlt++/MltTractor.h:60: Warning(509): Overloaded method
> Mlt::Tractor::plant_filter(Mlt::Filter &,int) is shadowed by
> Mlt::Tractor::plant_filter(Mlt::Filter *,int) at
> ../../mlt++/MltTractor.h:61. mlt_wrap.cxx:145:20: error: Python.h: No such
> file or directory

This means you to install the python-dev package.

> mlt_wrap.cxx:2567:4: error: #error "This python version
> requires swig to be run with the '-classic' option" mlt_wrap.cxx:751: error:
> expected initializer before ‘*’ token mlt_wrap.cxx:806: error: expected
> initializer before ‘*’ token mlt_wrap.cxx:827: error: expected initializer
> before ‘*’ token In file included from /usr/include/c++/4.4/stdexcept:38,
> from mlt_wrap.cxx:2586: /usr/include/c++/4.4/exception:35: error: expected
> declaration before end of line
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/usr/local/src/mlt-0.5.2/src/swig'
> make: *** [all] Error 1
>
> I'm fairly new at building large open-source projects like this from source
> - I normally use apt-get under Ubuntu, so please forgive me if this is a
> simple mistake on my part.
>
> I've also attached a transcript of the entire build, if it's useful.
>
> Any help would be much appreciated.
>
> thank you!
> Brian

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to