> If you get these errors only when you run your test program but not
> melt, then it is very strange. Well, with melt you may need to cat
> stderr.txt to see the messages.
I also see those message in stderr.txt. But the program melt.exe seems to
work. With noise argument it works and I see the windows with noise. And I
tried to compile and run the program dan.c in the tests directory of mlt
and it works even if I got those dll messages.
> Did you compile using 'make -C src/examples' ?
> I think the only difference compared to your direct compilation line
> from a previous post is that 'pkg-config --cflags mlt++' will add
> "-D_REENTRANT"
Also I compilated using "make -C src/examples", but I added
"/home/cedric/src/mlt" to PKG_CONFIG_PATH to make it works.
Now I need to find out how to compile cpp programs with mlt++.
2012/1/26 Dan Dennedy <[email protected]>
> On Thu, Jan 26, 2012 at 6:27 AM, bettinger cédric <[email protected]>
> wrote:
> >> Have you tried running "melt" to make sure the everything compiled
> >> properly?
> >
> > Yeah it seems to work, I did ran melt.exe and melt.exe noise (a window
> with
> > noise appeared).
> > I compiled the program play.cpp but I got the same mistake that with my
> > program.
>
> Did you compile using 'make -C src/examples' ?
> I think the only difference compared to your direct compilation line
> from a previous post is that 'pkg-config --cflags mlt++' will add
> "-D_REENTRANT"
> I just compiled 'make -C src/examples' on my system and then copied it
> to the build directory, and "./play.exe noise:" works fine for me.
>
> It is strange that melt.exe would work but not play.exe. If so, I
> think even if I give you a compiled set of known-working libs, you
> would not get it to work. I could send you a Shotcut Qt Creator
> project with libs and dlls already compiled to see if you have more
> success.
>
> > I also tried to make work a c program :
> >
> > #include <framework/mlt.h>
> > #include <stdio.h>
> > #include <string.h>
> > #include <stdlib.h>
> >
> > int main( int argc, char **argv )
> > {
> > mlt_repository repo = mlt_factory_init( NULL );
> > //mlt_consumer consumer = mlt_factory_consumer( "bluefish", "NTSC" );
> > mlt_profile profile = mlt_profile_init("square_ntsc_wide");
> > mlt_factory_close();
> > return 0;
> > }
> >
> > It compiled but when I run my program I got the folowing mistake :
> > mlt_repository_init: failed to dlopen
> > C:\MinGW\msys\1.0\home\cedric\build\lib\mlt/libmltqimage.dll
> > ("C:\MinGW\msys\1.0\home\cedric\build\lib\mlt\libmltqimage.dll": A
> dynamic
> > link library (DLL) initialization routine failed.)
> > mlt_repository_init: failed to dlopen
> > C:\MinGW\msys\1.0\home\cedric\build\lib\mlt/libmltswfdec.dll
> > ("C:\MinGW\msys\1.0\home\cedric\build\lib\mlt\libmltswfdec.dll": A
> dynamic
> > link library (DLL) initialization routine failed.)
> > mlt_repository_init: failed to dlopen
> > C:\MinGW\msys\1.0\home\cedric\build\lib\mlt/libmltxml.dll
> > ("C:\MinGW\msys\1.0\home\cedric\build\lib\mlt\libmltxml.dll": The
> > specified module could not be found.)
> >
> > Since libmltxml.dll is in "C:\MinGW\msys\1.0\home\cedric\build\lib\mlt"
> I am
> > not sure of what this means.
>
> It means those plugins failed to load due to dependent DLLs missing in
> the current directory or PATH.
> libmltqimage.dll is missing the Qt DLLs.
> libmltswfdec.dll could be missing any number of DLLs. You probably
> don't need this anyway.
> libmltxml.dll is probably missing the libxml2.dll.
> The popular, downloadable tool depends.exe shows you what DLLs are
> missing for an executable.
>
> If you get these errors only when you run your test program but not
> melt, then it is very strange. Well, with melt you may need to cat
> stderr.txt to see the messages.
>
> --
> +-DRD-+
>
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel