MinGw を使用して Windows で MLT フレームワークを構築しているときに、いくつかの問題に直面しました。http://www.mltframework.org/bin/view/MLT/WindowsBuildの指示に従おうとしました。「ビルド」と呼ばれるステップまで、すべてのステップを完了しました。これは、「ビルド」の章の 7 番目のステップで得られるものです。
$ ./configure --prefix=$HOME/build --enable-gpl --disable-decklink
Configuring framework:
Configuring modules:
Configuring modules/avformat:
- libavformat not found: disabling
Configuring modules/core:
Configuring modules/dv:
- libdv not found: disabling
Configuring modules/feeds:
Configuring modules/frei0r:
Package frei0r was not found in the pkg-config search path.
Perhaps you should add the directory containing `frei0r.pc'
to the PKG_CONFIG_PATH environment variable
No package 'frei0r' found
Configuring modules/gtk2:
- GTK2 components not found: disabling
Configuring modules/jackrack:
- jackrack not found: disabling
- xml2 not found: disabling jackrack
- ladspa not found; disabling
Configuring modules/kdenlive:
Configuring modules/kino:
- does not build on OS X or Windows: disabling
Configuring modules/linsys:
- does not build on OS X or Windows: disabling
Configuring modules/lumas:
Configuring modules/motion_est:
Configuring modules/normalize:
Configuring modules/oldfilm:
Configuring modules/opengl:
- movit not found: disabling
Configuring modules/plus:
Configuring modules/plusgpl:
Configuring modules/qt:
- Qt not found - disabling
./configure: line 150: kde4-config: command not found
Configuring modules/resample:
- libsamplerate not found: disabling
Configuring modules/rtaudio:
Configuring modules/sdl:
Configuring modules/sox:
- sox not found: disabling
Configuring modules/swfdec:
- swfdec not found: disabling
Configuring modules/vid.stab:
- vid.stab not found: disabling
Configuring modules/videostab:
Configuring modules/vmfx:
Configuring modules/vorbis:
- ogg vorbis not found: disabling
Configuring modules/xine:
Configuring modules/xml:
- xml2 not found: disabling xml module
Configuring mlt++:
Configuring swig:
GPLv2 license used; GPLv3 components disabled
構成段階でも一部のライブラリが欠落しているように見えますが、これらの欠落しているライブラリがミッションクリティカルであるかどうかはわかりません...
「make all install」と呼ばれる 8 番目の「ビルド」ステップを実行しようとすると、ビルドが失敗し、MinGw がエラーを吐き出します。
C:\MinGW\msys\1.0\home\Benas\src\mlt\src\framework/mlt_repository.c:101: undefined reference to `dlsym'
C:\MinGW\msys\1.0\home\Benas\src\mlt\src\framework/mlt_repository.c:109: undefined reference to `dlclose'
C:\MinGW\msys\1.0\home\Benas\src\mlt\src\framework/mlt_repository.c:97: undefined reference to `dlopen'
C:\MinGW\msys\1.0\home\Benas\src\mlt\src\framework/mlt_repository.c:118: undefined reference to `dlerror'
C:\MinGW\msys\1.0\home\Benas\src\mlt\src\framework/mlt_repository.c:113: undefined reference to `dlclose'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [libmlt-6.dll] Error 1
make[1]: Leaving directory `/home/Benas/src/mlt/src/framework'
make: *** [all] Error 1
これは、コンパイラが dlfcn.dll を見つけられないためです。チュートリアルの「dlfcn-win32」ステップが完了しました。そのライブラリは C:\MinGW\bin と C:\MinGW\msys\1.0\home\Benas\build の両方にあります。なぜコンパイラがそれを認識できないのか疑問に思っています。どうすればそれを機能させることができますか?