Re: [Mlt-devel] Installing mlt under windows
Brought to you by:
ddennedy,
lilo_booter
From: bettinger c. <bc...@gm...> - 2012-01-25 15:33:19
|
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 (0xc0000142). Click OK to close the application. Do you have any idea of what that means ? Thank you, Cédric 2012/1/25 Brian Matherly <pez...@ya...>: >> 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 > |