c0d3d |
08-12-2012 01:25 PM |
Quote:
Originally Posted by ntubski
(Post 4750474)
We're gonna need a bit more info. Which step are you having trouble with? If build is not a text file, what is it? eg directory (what's inside), binary file (what does file tell you)...
|
No, it's not a binary file. This is the original build file:
Code:
#!/bin/sh
if [ "$1" = "clean" ]
then
( cd `dirname $0`; rm -f *.cxx *.so *.o mlt.i ../.python mlt.py* )
exit 0
fi
path=`which python 2> /dev/null`
if [ $? = 0 ]
then
# Change this as needed
export PYTHON_INCLUDE=`python -c "import sys;print \"%s/include/python%d.%d\"%(sys.prefix,sys.version_info[0],sys.version_info[1])"`
[ ! -d "$PYTHON_INCLUDE" ] && echo python development missing && exit 1
ln -sf ../mlt.i
# Invoke swig
swig -c++ -I../../mlt++ -I../.. -python mlt.i || exit $?
# Compile the wrapper
g++ -fPIC -D_GNU_SOURCE -c -rdynamic -pthread -I../.. -I$PYTHON_INCLUDE mlt_wrap.cxx || exit $?
# Create the module
g++ -shared mlt_wrap.o -L../../mlt++ -lmlt++ -L../../framework -lmlt $(python-config --ldflags) -o _mlt.so || exit $?
else
echo Python not installed.
exit 1
fi
Since I am using it for Python 3.x, I modified it to work with that version:
Code:
#!/bin/sh
if [ "$1" = "clean" ]
then
( cd `dirname $0`; rm -f *.cxx *.so *.o mlt.i ../.python mlt.py* )
exit 0
fi
path=`which python 2> /dev/null`
if [ $? = 0 ]
then
# Change this as needed
export PYTHON_INCLUDE=`python -c "import sys;print(str(sys.prefix)+\"\include\")"`
[ ! -d "$PYTHON_INCLUDE" ] && echo python development missing && exit 1
ln -sf ../mlt.i
# Invoke swig
swig -c++ -I../../mlt++ -I../.. -python mlt.i || exit $?
# Compile the wrapper
g++ -fPIC -D_GNU_SOURCE -c -dynamic -pthread -I../.. -I$PYTHON_INCLUDE mlt_wrap.cxx || exit $?
# Create the module
g++ -shared mlt_wrap.o -L../../mlt++ -lmlt++ -L../../framework -lmlt $(python-config --ldflags) -o _mlt.so || exit $?
else
echo Python not installed.
exit 1
fi
It works, except for this issue (in bold):
Code:
..\..\mlt++\MltGeometry.h(62) : Warning 509: Overloaded method Mlt::Geometry::fe
tch(Mlt::GeometryItem *,float) effectively ignored,
..\..\mlt++\MltGeometry.h(61) : Warning 509: as it is shadowed by Mlt::Geometry:
:fetch(Mlt::GeometryItem &,float).
..\..\mlt++\MltGeometry.h(65) : Warning 509: Overloaded method Mlt::Geometry::in
sert(Mlt::GeometryItem *) effectively ignored,
..\..\mlt++\MltGeometry.h(64) : Warning 509: as it is shadowed by Mlt::Geometry:
:insert(Mlt::GeometryItem &).
..\..\mlt++\MltGeometry.h(71) : Warning 509: Overloaded method Mlt::Geometry::ne
xt_key(Mlt::GeometryItem *,int) effectively ignored,
..\..\mlt++\MltGeometry.h(70) : Warning 509: as it is shadowed by Mlt::Geometry:
:next_key(Mlt::GeometryItem &,int).
..\..\mlt++\MltGeometry.h(73) : Warning 509: Overloaded method Mlt::Geometry::pr
ev_key(Mlt::GeometryItem *,int) effectively ignored,
..\..\mlt++\MltGeometry.h(72) : Warning 509: as it is shadowed by Mlt::Geometry:
:prev_key(Mlt::GeometryItem &,int).
..\..\mlt++\MltProducer.h(48) : Warning 509: Overloaded method Mlt::Producer::Pr
oducer(Mlt::Producer *) effectively ignored,
..\..\mlt++\MltProducer.h(47) : Warning 509: as it is shadowed by Mlt::Producer:
:Producer(Mlt::Producer &).
..\..\mlt++\MltPlaylist.h(102) : Warning 509: Overloaded method Mlt::Playlist::i
nsert_at(int,Mlt::Producer &) effectively ignored,
..\..\mlt++\MltPlaylist.h(101) : Warning 509: as it is shadowed by Mlt::Playlist
::insert_at(int,Mlt::Producer *).
..\..\mlt++\MltPlaylist.h(101) : Warning 509: Overloaded method Mlt::Playlist::i
nsert_at(int,Mlt::Producer *,int) effectively ignored,
..\..\mlt++\MltPlaylist.h(102) : Warning 509: as it is shadowed by Mlt::Playlist
::insert_at(int,Mlt::Producer &,int).
..\..\mlt++\MltTractor.h(59) : Warning 509: Overloaded method Mlt::Tractor::plan
t_transition(Mlt::Transition *) effectively ignored,
..\..\mlt++\MltTractor.h(58) : Warning 509: as it is shadowed by Mlt::Tractor::p
lant_transition(Mlt::Transition &).
..\..\mlt++\MltTractor.h(58) : Warning 509: Overloaded method Mlt::Tractor::plan
t_transition(Mlt::Transition &,int) effectively ignored,
..\..\mlt++\MltTractor.h(59) : Warning 509: as it is shadowed by Mlt::Tractor::p
lant_transition(Mlt::Transition *,int).
..\..\mlt++\MltTractor.h(59) : Warning 509: Overloaded method Mlt::Tractor::plan
t_transition(Mlt::Transition *,int,int) effectively ignored,
..\..\mlt++\MltTractor.h(58) : Warning 509: as it is shadowed by Mlt::Tractor::p
lant_transition(Mlt::Transition &,int,int).
..\..\mlt++\MltTractor.h(61) : Warning 509: Overloaded method Mlt::Tractor::plan
t_filter(Mlt::Filter *) effectively ignored,
..\..\mlt++\MltTractor.h(60) : Warning 509: as it is shadowed by Mlt::Tractor::p
lant_filter(Mlt::Filter &).
..\..\mlt++\MltTractor.h(60) : Warning 509: Overloaded method Mlt::Tractor::plan
t_filter(Mlt::Filter &,int) effectively ignored,
..\..\mlt++\MltTractor.h(61) : Warning 509: as it is shadowed by Mlt::Tractor::p
lant_filter(Mlt::Filter *,int).
cc1plus.exe: warning: unrecognized gcc debugging option: y [enabled by default]
cc1plus.exe: warning: unrecognized gcc debugging option: n [enabled by default]
cc1plus.exe: warning: unrecognized gcc debugging option: m [enabled by default]
cc1plus.exe: warning: unrecognized gcc debugging option: i [enabled by default]
cc1plus.exe: warning: unrecognized gcc debugging option: c [enabled by default]
mlt_wrap.cxx:1:0: warning: -fPIC ignored for target (all code is position indepe
ndent) [enabled by default]
mlt_wrap.cxx: In function 'PyObject* _wrap_frame_get_waveform(PyObject*, PyObjec
t*)':
mlt_wrap.cxx:22146:78: error: 'PyString_FromStringAndSize' was not declared in t
his scope
mlt_wrap.cxx: In function 'PyObject* _wrap_frame_get_image(PyObject*, PyObject*)
':
mlt_wrap.cxx:22200:78: error: 'PyString_FromStringAndSize' was not declared in t
his scope
Any ideas? See Update 1.
UPDATE 1:
Turns out that, in, Python 3.x, "PyString_*" has been replaced with "PyBytes_*", so I changed the mlt wrapper (mlt_wrap.cxx) to account for that, and it worked, but running "g++ -shared mlt_wrap.o -L../../mlt++ -lmlt++ -L../../framework -lmlt $(python-config --ldflags) -o _mlt.so || exit $?" gives me:
Code:
mlt_wrap.o:mlt_wrap.cxx:(.text+0x29a13): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x29bde): undefined reference to `__imp__PyObject_Size'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2a07e): undefined reference to `__imp__PyExc_NotImplementedError'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2a109): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2a25d): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2a3c6): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2a572): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2a6a6): undefined reference to `__imp__PyObject_Size'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2a861): undefined reference to `__imp__PyExc_NotImplementedError'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2a8f5): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2aacb): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2ac94): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2acfe): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2adbe): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2af5d): more undefined references to `__imp__PyArg_ParseTuple' follow
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2b7e4): undefined reference to `__imp__PyObject_Size'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2bba8): undefined reference to `__imp__PyExc_NotImplementedError'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2bc1a): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2bd07): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2be10): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2bf3d): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2c0c6): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2c1b1): more undefined references to `__imp__PyArg_ParseTuple' follow
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2cf73): undefined reference to `__imp__PyObject_Size'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2d2ac): undefined reference to `__imp__PyExc_NotImplementedError'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2d31c): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2d409): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2d512): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2d653): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2d84f): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2d9c2): undefined reference to `__imp__PyObject_Size'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2dbc1): undefined reference to `__imp__PyExc_NotImplementedError'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2dc59): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2dde4): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2decf): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2dfba): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2e0c8): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2e249): more undefined references to `__imp__PyArg_ParseTuple' follow
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2e626): undefined reference to `__imp__PyFloat_FromDouble'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2e662): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2e735): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2e9ef): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2ebf2): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2ed4b): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2eea4): more undefined references to `__imp__PyArg_ParseTuple' follow
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2efbc): undefined reference to `__imp__PyObject_Size'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2f2f5): undefined reference to `__imp__PyExc_NotImplementedError'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2f365): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2f452): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2f55b): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2f68e): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2f866): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x2fa94): more undefined references to `__imp__PyArg_ParseTuple' follow
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3021d): undefined reference to `__imp__PyFloat_FromDouble'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3029f): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x303ca): undefined reference to `__imp__PyFloat_FromDouble'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x30406): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x30493): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x305c7): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x30720): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3085a): undefined reference to `__imp__PyObject_Size'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x309e8): undefined reference to `__imp__PyExc_NotImplementedError'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x30a54): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x30b41): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x30c45): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x30d86): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x30f89): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x31120): more undefined references to `__imp__PyArg_ParseTuple' follow
mlt_wrap.o:mlt_wrap.cxx:(.text+0x31738): undefined reference to `__imp__PyObject_Size'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x31858): undefined reference to `__imp__PyExc_NotImplementedError'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x318c2): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x319af): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x31ab3): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x31bf4): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x31df0): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x31f63): undefined reference to `__imp__PyObject_Size'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x32162): undefined reference to `__imp__PyExc_NotImplementedError'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3221d): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x32483): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x32687): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x32805): undefined reference to `__imp__PyObject_Size'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x32b2d): undefined reference to `__imp__PyExc_NotImplementedError'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x32bc2): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x32d17): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x32d81): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x32e41): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x32f9a): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x330ce): more undefined references to `__imp__PyArg_ParseTuple' follow
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3370e): undefined reference to `__imp__PyObject_Size'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x33a64): undefined reference to `__imp__PyExc_NotImplementedError'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x33ad4): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x33bc1): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x33cca): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x33dda): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x33ee5): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x33fe9): more undefined references to `__imp__PyArg_ParseTuple' follow
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3510c): undefined reference to `__imp__PyObject_Size'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x35775): undefined reference to `__imp__PyExc_NotImplementedError'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3582b): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x35a1b): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x35bd3): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x35d9b): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x35ee3): undefined reference to `__imp__PyObject_Size'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3629d): undefined reference to `__imp__PyExc_NotImplementedError'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3637c): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x36627): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x36785): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x367ef): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x368a6): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x369b6): more undefined references to `__imp__PyArg_ParseTuple' follow
mlt_wrap.o:mlt_wrap.cxx:(.text+0x38a37): undefined reference to `__imp__PyObject_Size'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x38c94): undefined reference to `__imp__PyExc_NotImplementedError'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x38d00): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x38e11): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x38fbd): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39161): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39305): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39463): more undefined references to `__imp__PyArg_ParseTuple' follow
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3967a): undefined reference to `__imp__PyBytes_FromStringAndSize'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39718): undefined reference to `__imp__PyArg_ParseTuple'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x398d6): undefined reference to `__imp__PyBytes_FromStringAndSize'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39d13): undefined reference to `__imp__PyUnicode_InternFromString'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39d29): undefined reference to `__imp__PyUnicode_InternFromString'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39d49): undefined reference to `__imp__PyUnicodeUCS2_FromString'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39d60): undefined reference to `__imp__PyUnicodeUCS2_Concat'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39d70): undefined reference to `__imp__Py_DecRef'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39d7d): undefined reference to `__imp__Py_DecRef'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39d9b): undefined reference to `__imp__PyUnicode_InternFromString'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39db2): undefined reference to `__imp__PyUnicodeUCS2_Concat'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39dc2): undefined reference to `__imp__Py_DecRef'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39dcf): undefined reference to `__imp__Py_DecRef'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39dfb): undefined reference to `__imp__PyUnicode_InternFromString'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39e12): undefined reference to `__imp__PyUnicodeUCS2_Concat'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39e22): undefined reference to `__imp__Py_DecRef'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39e2f): undefined reference to `__imp__Py_DecRef'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39f6a): undefined reference to `__imp__PyErr_Occurred'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39f7f): undefined reference to `__imp__PyExc_NameError'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39f91): undefined reference to `__imp__PyErr_SetString'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x39ffa): undefined reference to `__imp__PyErr_Occurred'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3a00f): undefined reference to `__imp__PyExc_NameError'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3a021): undefined reference to `__imp__PyErr_SetString'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3a0e6): undefined reference to `__imp__PyType_Ready'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3a12e): undefined reference to `__imp__PyObject_Malloc'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3a13c): undefined reference to `__imp__PyObject_Init'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3a301): undefined reference to `__imp__PyDict_SetItemString'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3a5c0): undefined reference to `__imp__PyModule_Create2'
mlt_wrap.o:mlt_wrap.cxx:(.text+0x3a5d0): undefined reference to `__imp__PyModule_GetDict'
mlt_wrap.o:mlt_wrap.cxx:(.data+0xc8): undefined reference to `_PyObject_GenericGetAttr'
collect2.exe: error: ld returned 1 exit status
Any ideas?
|