-
Notifications
You must be signed in to change notification settings - Fork 83
Building
Luca Barbato edited this page Dec 2, 2015
·
4 revisions
- A C/C++ compiler
- autotools
- libva
autoreconf -i
./configure --prefix=/usr
make -j 18
make install
The dispatcher provided by Intel only works on MS visual studio builds due the fact it is written in C++ and mingw64 isn't ABI and library compatible. This set of build systems let you easily build a mingw-w64 one.
- MediaSDK drivers from Intel
- mingw-w64 toolchain
- autotools or cmake (pick your poison)
autoreconf -i
./configure --host=x86_64-w64-mingw32
make -j
make install DESTDIR=/usr/x86_64-w64-mingw32
autoreconf -i
./configure --prefix=/mingw64
make -j 8 install
NOTE: Make sure you set the prefix
to the correct one for your environment otherwise it will fail to link.
The Cmake version of mfx_dispatch can be found here. (until this is merged. If you see CMakeFile.txt files in the source code, it might have been done already)
# ln -s sdk /intel/mediasdk/path
# mkdir build && cd build
# cmake . -DCMAKE_INSTALL_PREFIX=/usr/x86_64-w64-mingw32
# make -j
# make install