From: Dan D. <da...@de...> - 2008-02-11 02:26:38
|
On Feb 10, 2008 11:53 AM, jb <jb...@kd...> wrote: > Murat Senel wrote: > > Hi, > > > > Is there anyone that can build latest mlt++ on svn? > > I got the error below and can't figure it out what it is! > > > > g++ -pthread -Wall -fPIC -I/usr/include -I/usr/include/mlt -D_REENTRANT -pthread -Wall -fPIC -I/usr/include -I/usr/include/mlt -D_REENTRANT -Wall -g > > `mlt-config --cflags` -I ../src -c -o play.o play.cpp > > c++ -L/usr/lib -lmlt -L/usr/lib -lmiracle -L/usr/lib -lmlt -L/usr/lib -lmiracle -L../src -lmlt++ -lmiracle -lvalerie > > `mlt-config --libs` play.o -o play > > play.o: In function `main': > > /var/pisi/mlt++-0.2.2_1064-4/work/mlt++-0.2.2_1064/test/play.cpp:7: undefined > > reference to `Mlt::Factory::init(char const*) > Yes, there is a bug in test/Makefile, it looks for your system Mlt++ > before looking at the one you are compiling. Not sure what is the > correct Makefile fix, but you can resolve the issue by removing your old > Mlt++ install (include files and libraries), then compile will work. > Another workaround is to simply 'make install' and then a regular 'make' will succeed. |