Skip to content

Fedora Complication libfluidsynth.dll

duangsuse edited this page Apr 25, 2020 · 2 revisions

Fedora Linux MinGW complication for libfluidsynth-x.dll

First, goto project page and select git clone or a stable release to download.

Change 32 / 64 in text building for 32/64 bit arch

sudo dnf install mingw32-gcc mingw64-gcc mingw32-glib2 mingw64-glib2
# download and extract source root
cd fluidsynth-x.x.x/

export PKG_CONFIG_LIBDIR=/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig
#export PKG_CONFIG_LIBDIR=/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/

mkdir build && pushd build
cmake -DCMAKE_TOOLCHAIN_FILE=/usr/share/mingw/toolchain-mingw32.cmake -Denable-libsndfile=0 -Denable-dbus=0 -Denable-pulseaudio=0 -Denable-jack=0 ..
# -DCMAKE_BUILD_TYPE=Rel -Denable-network=0 -Denable-aufile=0 -Denable-winmidi=0 -Denable-threads=0
make && popd
Clone this wiki locally