Re: [Mlt-devel] Installing mlt under windows

2012-01-27 Thread Dan Dennedy
On Fri, Jan 27, 2012 at 9:47 AM, bettinger cédric bced...@gmail.com wrote:
 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.

Good, now there is consistency. The dependent libs may have changed
some since I wrote up the instructions on the wiki page. Or, you could
have missed copying some needed DLLs that would cause those plugins to
fail to load.

 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++.

OK, diid you copy src/examples/play to ~/build and test that? That is
a c++ program.


 2012/1/26 Dan Dennedy d...@dennedy.org

 On Thu, Jan 26, 2012 at 6:27 AM, bettinger cédric bced...@gmail.com
 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
 Mlt-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mlt-devel




-- 
+-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

Re: [Mlt-devel] Installing mlt under windows

2012-01-27 Thread bettinger cédric
 OK, diid you copy src/examples/play to ~/build and test that? That is
 a c++ program.

Yes I did that.

2012/1/27 Dan Dennedy d...@dennedy.org

 On Fri, Jan 27, 2012 at 9:47 AM, bettinger cédric bced...@gmail.com
 wrote:
  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.

 Good, now there is consistency. The dependent libs may have changed
 some since I wrote up the instructions on the wiki page. Or, you could
 have missed copying some needed DLLs that would cause those plugins to
 fail to load.

  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++.

 OK, diid you copy src/examples/play to ~/build and test that? That is
 a c++ program.

 
  2012/1/26 Dan Dennedy d...@dennedy.org
 
  On Thu, Jan 26, 2012 at 6:27 AM, bettinger cédric bced...@gmail.com
  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
  Mlt-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/mlt-devel
 



 --
 +-DRD-+

--
Try before you buy = See our experts in 

Re: [Mlt-devel] Installing mlt under windows

2012-01-26 Thread bettinger cédric
 Do you care to share any information about the project you are working on?

So to talk a little about my project, it's a non-commercial open source
project. My goal is to create a multimedia player for langage learning
where we can easily extract some part of a movie into a new file (For
instance when I am watching a movie, I can save some parts with
interresting sentence in a new file and listen it into my mp3 to remember
it), and add more than one subtitle track (most of the multimedia player
let only add one subtitle track).
As an old exchange student, I have a lot of ERASMUS friends (also other
friends who are learning english) that could be interested by this program.
But unfortunateley most of them are using windows. So I have to compile my
program under windows.
It's also an academic project that is part of my french master degree.


 It compiles? m_profile should be a pointer here. Maybe a typo

Yeah it's a typo.

 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.
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.

Sincerely,

Cédric





2012/1/26 Dan Dennedy d...@dennedy.org:
 On Wed, Jan 25, 2012 at 8:41 PM, Brian Matherly pez4br...@yahoo.com
wrote:
 Ok I was following the instructions but I didn't see the note at the

 bottom. The compilation of mlt worked, but I have some trouble to make
 a program using mlt working.

 #include Mlt.h
 #include iostream

 int main(){
 Mlt::Factory::init (NULL);
 Mlt::Profile m_profile = new Mlt::Profile (square_ntsc_wide);

 It compiles? m_profile should be a pointer here. Maybe a typo

 std::cout  Work !  std::endl;
 }

 I compiled like that :
 g++ -o test3 testIncludeMltpp.cpp
 -I/c/MinGW/msys/1.0/home/cedric/build/include/mlt++
 -I/c/MinGW/msys/1.0/home/cedric/build/include/mlt
 -L/c/MinGW/msys/1.0/home/cedric/build/lib -lmlt++ -lmlt
 Then I put my program in the ~/build directory.

 When I try to run my windows program, I get a windows error :
 The application was unable to start correctly (0xc142). Click OK
 to close the application.

 Do you have any idea of what that means ?

 I don't. I've never used MLT on Windows, and I've never used the MLT++
API (always use C API on Linux). You might need Dan's help. But I can throw
a couple of things out there:

 Have you tried running melt to make sure the everything compiled
properly?

 Brian is indeed correct that you should confirm that melt basically
 works. If melt with no args crashes, you might need to remove the
 frei0r partik0l plugin. I recall that simply having that installed was
 causing mlt to crash on windows.

 You might consider trying the sample code here:
 http://ubuntuforums.org/showthread.php?t=1173677

 Also there is src/examples/play.cpp in the source tree.

 Do you care to share any information about the project you are working
on?

 Cedric responded to me off-list to tell me about an interesting
 non-commercial academic and community project he is working on.

 --
 +-DRD-+
--
Keep Your Developer Skills Current with LearnDevNow!
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-d2d___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


Re: [Mlt-devel] Installing mlt under windows

2012-01-26 Thread Dan Dennedy
On Thu, Jan 26, 2012 at 6:27 AM, bettinger cédric bced...@gmail.com 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-+

--
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


Re: [Mlt-devel] Installing mlt under windows

2012-01-25 Thread bettinger cédric
ok thank you very much I fixed that error.
But I got another one :

RtAudio.cpp:3527:20: fatal error: dsound.h: No such file or directory
compilation terminated.
make[2]: *** [RtAudio.o] Error 1
make[2]: Leaving directory '/home/cedric/src/mlt/src/modules/rtaudio'
make[1]: *** [all] Error 1
make[1]: Leaving directory '/home/cedric/src/mlt/src/modules'
make: *** [all] Error 1

Do you have any idea of what I should try to fixe that ?

Thank you,

Cédric

2012/1/24 Brian Matherly pez4br...@yahoo.com:
 Hello,


 I am trying to compile mlt under windows seven.
 When I do the make all install for installing mlt, I got the
 following error :

 c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe:
 cannot find -ljack
 c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe:
 cannot find -ljacksever
 collect2: ld returned 1 exit status
 make[2]: *** [../libmltjackrack.ddl] Error 1
 make[2]: Leaving directory '/home/cedric/src/mlt/src/modules/jackrack'
 make[1]: *** [all] Error 1
 make[1]: Leaving directory '/home/cedric/src/mlt/src/modules'
 make: *** [all] Error 1

 Do you have any idea of what I should try to fixe that ?

 Try using --disable-jackrack with the configure script.

 ~Brian


--
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


Re: [Mlt-devel] Installing mlt under windows

2012-01-25 Thread Brian Matherly
 ok thank you very much I fixed that error.

 But I got another one :
 
 RtAudio.cpp:3527:20: fatal error: dsound.h: No such file or directory
 compilation terminated.
 make[2]: *** [RtAudio.o] Error 1
 make[2]: Leaving directory '/home/cedric/src/mlt/src/modules/rtaudio'
 make[1]: *** [all] Error 1
 make[1]: Leaving directory '/home/cedric/src/mlt/src/modules'
 make: *** [all] Error 1
 
 Do you have any idea of what I should try to fixe that ?
 
 Thank you,
 
 Cédric

Are you following the instructions here?
http://www.mltframework.org/twiki/bin/view/MLT/WindowsBuild

There is a note at the bottom about installing rtaudio on Windows. 

If you don't need rtaudio, you can run configure with --disable-rtaudio.

For any module that doesn't compile, you can either choose to install the 
dependencies for that module (rtaudio in this case), or disable that particular 
module using the --disable switches for the configure script 
(--disable-rtaudio in this case).

run ./configure --help to see all the configuration switches and how to 
disable modules.

Regards,

~Brian


--
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


Re: [Mlt-devel] Installing mlt under windows

2012-01-25 Thread bettinger cédric
Ok I was following the instructions but I didn't see the note at the
bottom. The compilation of mlt worked, but I have some trouble to make
a program using mlt working.

#include Mlt.h
#include iostream

int main(){
Mlt::Factory::init (NULL);
Mlt::Profile m_profile = new Mlt::Profile (square_ntsc_wide);
std::cout  Work !  std::endl;
}

I compiled like that :
g++ -o test3 testIncludeMltpp.cpp
-I/c/MinGW/msys/1.0/home/cedric/build/include/mlt++
-I/c/MinGW/msys/1.0/home/cedric/build/include/mlt
-L/c/MinGW/msys/1.0/home/cedric/build/lib -lmlt++ -lmlt
Then I put my program in the ~/build directory.

When I try to run my windows program, I get a windows error :
The application was unable to start correctly (0xc142). Click OK
to close the application.

Do you have any idea of what that means ?

Thank you,

Cédric

2012/1/25 Brian Matherly pez4br...@yahoo.com:
 ok thank you very much I fixed that error.

 But I got another one :

 RtAudio.cpp:3527:20: fatal error: dsound.h: No such file or directory
 compilation terminated.
 make[2]: *** [RtAudio.o] Error 1
 make[2]: Leaving directory '/home/cedric/src/mlt/src/modules/rtaudio'
 make[1]: *** [all] Error 1
 make[1]: Leaving directory '/home/cedric/src/mlt/src/modules'
 make: *** [all] Error 1

 Do you have any idea of what I should try to fixe that ?

 Thank you,

 Cédric

 Are you following the instructions here?
 http://www.mltframework.org/twiki/bin/view/MLT/WindowsBuild

 There is a note at the bottom about installing rtaudio on Windows.

 If you don't need rtaudio, you can run configure with --disable-rtaudio.

 For any module that doesn't compile, you can either choose to install the 
 dependencies for that module (rtaudio in this case), or disable that 
 particular module using the --disable switches for the configure script 
 (--disable-rtaudio in this case).

 run ./configure --help to see all the configuration switches and how to 
 disable modules.

 Regards,

 ~Brian


--
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


Re: [Mlt-devel] Installing mlt under windows

2012-01-25 Thread Dan Dennedy
On Wed, Jan 25, 2012 at 7:33 AM, bettinger cédric bced...@gmail.com wrote:
 Ok I was following the instructions but I didn't see the note at the
 bottom. The compilation of mlt worked, but I have some trouble to make
 a program using mlt working.

 #include Mlt.h
 #include iostream

 int main(){
 Mlt::Factory::init (NULL);
 Mlt::Profile m_profile = new Mlt::Profile (square_ntsc_wide);
 std::cout  Work !  std::endl;
 }

 I compiled like that :
 g++ -o test3 testIncludeMltpp.cpp
 -I/c/MinGW/msys/1.0/home/cedric/build/include/mlt++
 -I/c/MinGW/msys/1.0/home/cedric/build/include/mlt
 -L/c/MinGW/msys/1.0/home/cedric/build/lib -lmlt++ -lmlt
 Then I put my program in the ~/build directory.

 When I try to run my windows program, I get a windows error :
 The application was unable to start correctly (0xc142). Click OK
 to close the application.

 Do you have any idea of what that means ?

Others may continue to help, but if you want my help you need to
describe your project including whether it is of commercial nature.

 Thank you,

 Cédric

 2012/1/25 Brian Matherly pez4br...@yahoo.com:
 ok thank you very much I fixed that error.

 But I got another one :

 RtAudio.cpp:3527:20: fatal error: dsound.h: No such file or directory
 compilation terminated.
 make[2]: *** [RtAudio.o] Error 1
 make[2]: Leaving directory '/home/cedric/src/mlt/src/modules/rtaudio'
 make[1]: *** [all] Error 1
 make[1]: Leaving directory '/home/cedric/src/mlt/src/modules'
 make: *** [all] Error 1

 Do you have any idea of what I should try to fixe that ?

 Thank you,

 Cédric

 Are you following the instructions here?
 http://www.mltframework.org/twiki/bin/view/MLT/WindowsBuild

 There is a note at the bottom about installing rtaudio on Windows.

 If you don't need rtaudio, you can run configure with --disable-rtaudio.

 For any module that doesn't compile, you can either choose to install the 
 dependencies for that module (rtaudio in this case), or disable that 
 particular module using the --disable switches for the configure script 
 (--disable-rtaudio in this case).

 run ./configure --help to see all the configuration switches and how to 
 disable modules.

 Regards,

 ~Brian


 --
 Keep Your Developer Skills Current with LearnDevNow!
 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-d2d
 ___
 Mlt-devel mailing list
 Mlt-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mlt-devel



-- 
+-DRD-+

--
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


Re: [Mlt-devel] Installing mlt under windows

2012-01-25 Thread Brian Matherly
 Ok I was following the instructions but I didn't see the note at the

 bottom. The compilation of mlt worked, but I have some trouble to make
 a program using mlt working.
 
 #include Mlt.h
 #include iostream
 
 int main(){
 Mlt::Factory::init (NULL);
 Mlt::Profile m_profile = new Mlt::Profile (square_ntsc_wide);
 std::cout  Work !  std::endl;
 }
 
 I compiled like that :
 g++ -o test3 testIncludeMltpp.cpp
 -I/c/MinGW/msys/1.0/home/cedric/build/include/mlt++
 -I/c/MinGW/msys/1.0/home/cedric/build/include/mlt
 -L/c/MinGW/msys/1.0/home/cedric/build/lib -lmlt++ -lmlt
 Then I put my program in the ~/build directory.
 
 When I try to run my windows program, I get a windows error :
 The application was unable to start correctly (0xc142). Click OK
 to close the application.
 
 Do you have any idea of what that means ?

I don't. I've never used MLT on Windows, and I've never used the MLT++ API 
(always use C API on Linux). You might need Dan's help. But I can throw a 
couple of things out there:

Have you tried running melt to make sure the everything compiled properly?

You might consider trying the sample code here:
http://ubuntuforums.org/showthread.php?t=1173677

Do you care to share any information about the project you are working on?

Good luck,

~Brian


--
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


Re: [Mlt-devel] Installing mlt under windows

2012-01-25 Thread Dan Dennedy
On Wed, Jan 25, 2012 at 8:41 PM, Brian Matherly pez4br...@yahoo.com wrote:
 Ok I was following the instructions but I didn't see the note at the

 bottom. The compilation of mlt worked, but I have some trouble to make
 a program using mlt working.

 #include Mlt.h
 #include iostream

 int main(){
 Mlt::Factory::init (NULL);
 Mlt::Profile m_profile = new Mlt::Profile (square_ntsc_wide);

It compiles? m_profile should be a pointer here. Maybe a typo

 std::cout  Work !  std::endl;
 }

 I compiled like that :
 g++ -o test3 testIncludeMltpp.cpp
 -I/c/MinGW/msys/1.0/home/cedric/build/include/mlt++
 -I/c/MinGW/msys/1.0/home/cedric/build/include/mlt
 -L/c/MinGW/msys/1.0/home/cedric/build/lib -lmlt++ -lmlt
 Then I put my program in the ~/build directory.

 When I try to run my windows program, I get a windows error :
 The application was unable to start correctly (0xc142). Click OK
 to close the application.

 Do you have any idea of what that means ?

 I don't. I've never used MLT on Windows, and I've never used the MLT++ API 
 (always use C API on Linux). You might need Dan's help. But I can throw a 
 couple of things out there:

 Have you tried running melt to make sure the everything compiled properly?

Brian is indeed correct that you should confirm that melt basically
works. If melt with no args crashes, you might need to remove the
frei0r partik0l plugin. I recall that simply having that installed was
causing mlt to crash on windows.

 You might consider trying the sample code here:
 http://ubuntuforums.org/showthread.php?t=1173677

Also there is src/examples/play.cpp in the source tree.

 Do you care to share any information about the project you are working on?

Cedric responded to me off-list to tell me about an interesting
non-commercial academic and community project he is working on.

-- 
+-DRD-+

--
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


Re: [Mlt-devel] Installing mlt under windows

2012-01-24 Thread Brian Matherly
 Hello,

 
 I am trying to compile mlt under windows seven.
 When I do the make all install for installing mlt, I got the 
 following error :
 
 c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe:
 cannot find -ljack
 c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe:
 cannot find -ljacksever
 collect2: ld returned 1 exit status
 make[2]: *** [../libmltjackrack.ddl] Error 1
 make[2]: Leaving directory '/home/cedric/src/mlt/src/modules/jackrack'
 make[1]: *** [all] Error 1
 make[1]: Leaving directory '/home/cedric/src/mlt/src/modules'
 make: *** [all] Error 1
 
 Do you have any idea of what I should try to fixe that ?

Try using --disable-jackrack with the configure script.

~Brian


--
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel