FluidSynth / fluidsynth

Software synthesizer based on the SoundFont 2 specifications
https://www.fluidsynth.org
GNU Lesser General Public License v2.1
1.85k stars 258 forks source link

Compiling Fluidsynth 1.1.8 with MinGW: undefined reference toDirectSoundEnumerateA@8 #232

Closed ghost closed 6 years ago

ghost commented 7 years ago

FluidSynth version

1.1.8

I'm submitting a ...

[x] bug report [ ] feature request

Current behavior

After generating the code with CMAKE and running mingw32-make, the following error occurs:

[ 94%] Linking C shared library libfluidsynth.dll CMakeFiles\libfluidsynth.dir/objects.a(fluid_dsound.c.obj):fluid_dsound.c:(.text+0x35c): undefined reference to DirectSoundEnumerateA@8' CMakeFiles\libfluidsynth.dir/objects.a(fluid_dsound.c.obj):fluid_dsound.c:(.text+0x820): undefined reference toDirectSoundEnumerateA@8' collect2.exe: error: ld returned 1 exit status src\CMakeFiles\libfluidsynth.dir\build.make:1041: recipe for target 'src/libfluidsynth.dll' failed mingw32-make[2]: [src/libfluidsynth.dll] Error 1 CMakeFiles\Makefile2:86: recipe for target 'src/CMakeFiles/libfluidsynth.dir/all' failed mingw32-make[1]: [src/CMakeFiles/libfluidsynth.dir/all] Error 2 Makefile:150: recipe for target 'all' failed mingw32-make: *** [all] Error 2

Expected behavior

Steps to reproduce

Related code

if available, insert short code snippets here

Other information

MINGW with GCC 6.3.0
derselbst commented 7 years ago

Hm, bad timing. Please attach cmakes full configure output as well as the full build log when building with

make VERBOSE=1
ghost commented 7 years ago

Here's the configure output of CMAKE GUI before changing any options:

The C compiler identification is GNU 6.3.0
Check for working C compiler: D:/Entwicklung/MINGW/bin/gcc.exe
Check for working C compiler: D:/Entwicklung/MINGW/bin/gcc.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Checking whether system has ANSI C header files
Looking for 8 include files dlfcn.h, ..., float.h
Looking for 8 include files dlfcn.h, ..., float.h - found
Performing Test memchrExists
Performing Test memchrExists - Success
Performing Test freeExists
Performing Test freeExists - Success
ANSI C header files - found
Looking for include file unistd.h
Looking for include file unistd.h - found
Looking for DIR in sys/stat.h;sys/types.h;dirent.h
Looking for DIR in sys/stat.h;sys/types.h;dirent.h - found
Looking for stdio.h
Looking for stdio.h - found
Looking for math.h
Looking for math.h - found
Looking for errno.h
Looking for errno.h - found
Looking for stdarg.h
Looking for stdarg.h - found
Looking for memory.h
Looking for memory.h - found
Looking for sys/mman.h
Looking for sys/mman.h - not found
Looking for sys/time.h
Looking for sys/time.h - found
Looking for sys/ioctl.h
Looking for sys/ioctl.h - not found
Looking for fcntl.h
Looking for fcntl.h - found
Looking for sys/socket.h
Looking for sys/socket.h - not found
Looking for netinet/in.h
Looking for netinet/in.h - not found
Looking for netinet/tcp.h
Looking for netinet/tcp.h - not found
Looking for arpa/inet.h
Looking for arpa/inet.h - not found
Looking for limits.h
Looking for limits.h - found
Looking for pthread.h
Looking for pthread.h - not found
Looking for signal.h
Looking for signal.h - found
Looking for getopt.h
Looking for getopt.h - found
Performing Test _have_inline
Performing Test _have_inline - Success
Performing Test _have_vla
Performing Test _have_vla - Success
Check if the system is big endian
Searching 16 bit integer
Check size of unsigned short
Check size of unsigned short - done
Using unsigned short
Check if the system is big endian - little endian
Looking for windows.h
Looking for windows.h - found
Looking for io.h
Looking for io.h - found
Looking for dsound.h
Looking for dsound.h - found
Looking for include files windows.h, mmsystem.h
Looking for include files windows.h, mmsystem.h - found
Looking for inet_ntop
Looking for inet_ntop - not found
Found PkgConfig: D:/Entwicklung/MINGW/bin/pkg-config.exe (found version "0.26") 
Checking for modules 'glib-2.0>=2.6.5;gthread-2.0>=2.6.5'
  Found glib-2.0, version 2.28.8
  Found gthread-2.0, version 2.28.8
Checking for module 'sndfile>=1.0.0'
  No package 'sndfile' found
Checking for module 'libpulse-simple>=0.9.8'
  No package 'libpulse-simple' found
Checking for module 'jack'
  No package 'jack' found
Checking for module 'dbus-1>=1.0.0'
  No package 'dbus-1' found
Could NOT find READLINE (missing: READLINE_INCLUDE_DIR READLINE_LIBRARIES) 
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 

**************************************************************
Summary:
Build type:            RelWithDebInfo
libsndfile:            no (raw audio file rendering only)
D-Bus:                 no
PulseAudio:            no
JACK:                  no
ALSA:                  no
PortAudio:             no
OSS:                   no
MidiShare:             no
CoreAudio:             no
CoreMIDI:              no
Windows:               yes
LADSPA support:        no
LASH support:          no
LADCCA support:        no
OS/2 DART support:     no
Audio to file driver:  yes
IPV6 Support :         no
Readline:              no
Samples type=float:    no (using double)
Profiling:             no
Debug:                 no
Trap on FPE (debug):   no
Check FPE (debug):     no
**************************************************************

Configuring done

After changing CMAKE_BUILD_TYPE to "Release", specifying the correct path to my MINGW installation in CMAKE_INSTALL_PREFIX, enabling CMAKE_VERBOSE_MAKEFILE and removing all "enable" options other that "enable-pkgconfig" (because without that GLIB dependencies aren't found automtically) this is the output:

Checking whether system has ANSI C header files
ANSI C header files - found
Looking for inet_ntop
Looking for inet_ntop - not found
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 

**************************************************************
Summary:
Build type:            Release
libsndfile:            no (raw audio file rendering only)
D-Bus:                 no
PulseAudio:            no
JACK:                  no
ALSA:                  no
PortAudio:             no
OSS:                   no
MidiShare:             no
CoreAudio:             no
CoreMIDI:              no
Windows:               yes
LADSPA support:        no
LASH support:          no
LADCCA support:        no
OS/2 DART support:     no
Audio to file driver:  no
IPV6 Support :         no
Readline:              no
Samples type=float:    no (using double)
Profiling:             no
Debug:                 no
Trap on FPE (debug):   no
Check FPE (debug):     no
**************************************************************

Configuring done

And this is the complete output when actually building fluidsynth with mingw32-make (no matter if I use PowerShell or MINGW/MSYS:

PS D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build> mingw32-make
D:\Entwicklung\cmake-3.9.4-win32-x86\bin\cmake.exe -HD:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8 -BD:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build --check-build-system CMakeFiles\Makefile.cmake 0
D:\Entwicklung\cmake-3.9.4-win32-x86\bin\cmake.exe -E cmake_progress_start D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\CMakeFiles D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\CMakeFiles\progress.marks
D:/Entwicklung/MINGW/bin/mingw32-make -f CMakeFiles\Makefile2 all
mingw32-make[1]: Entering directory 'D:/Entwicklung/MINGW/msys/1.0/home/miche/fluidsynth-1.1.8/build'
D:/Entwicklung/MINGW/bin/mingw32-make -f src\CMakeFiles\libfluidsynth.dir\build.make src/CMakeFiles/libfluidsynth.dir/depend
mingw32-make[2]: Entering directory 'D:/Entwicklung/MINGW/msys/1.0/home/miche/fluidsynth-1.1.8/build'
D:\Entwicklung\cmake-3.9.4-win32-x86\bin\cmake.exe -E cmake_depends "MinGW Makefiles" D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8 D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src\CMakeFiles\libfluidsynth.dir\DependInfo.cmake --color=
Scanning dependencies of target libfluidsynth
mingw32-make[2]: Leaving directory 'D:/Entwicklung/MINGW/msys/1.0/home/miche/fluidsynth-1.1.8/build'
D:/Entwicklung/MINGW/bin/mingw32-make -f src\CMakeFiles\libfluidsynth.dir\build.make src/CMakeFiles/libfluidsynth.dir/build
mingw32-make[2]: Entering directory 'D:/Entwicklung/MINGW/msys/1.0/home/miche/fluidsynth-1.1.8/build'
[  2%] Building C object src/CMakeFiles/libfluidsynth.dir/fluid_dll.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\fluid_dll.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\fluid_dll.c
[  5%] Building C object src/CMakeFiles/libfluidsynth.dir/drivers/fluid_dsound.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\drivers\fluid_dsound.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\drivers\fluid_dsound.c
[  7%] Building C object src/CMakeFiles/libfluidsynth.dir/drivers/fluid_winmidi.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\drivers\fluid_winmidi.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\drivers\fluid_winmidi.c
D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\drivers\fluid_winmidi.c: In function 'new_fluid_winmidi_driver':
D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\drivers\fluid_winmidi.c:187:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     hdr->lpData = &dev->sysExBuf[i * MIDI_SYSEX_MAX_SIZE];
                 ^
[ 10%] Building C object src/CMakeFiles/libfluidsynth.dir/utils/fluid_conv.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\utils\fluid_conv.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\utils\fluid_conv.c
[ 12%] Building C object src/CMakeFiles/libfluidsynth.dir/utils/fluid_hash.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\utils\fluid_hash.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\utils\fluid_hash.c
[ 15%] Building C object src/CMakeFiles/libfluidsynth.dir/utils/fluid_list.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\utils\fluid_list.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\utils\fluid_list.c
[ 17%] Building C object src/CMakeFiles/libfluidsynth.dir/utils/fluid_ringbuffer.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\utils\fluid_ringbuffer.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\utils\fluid_ringbuffer.c
[ 20%] Building C object src/CMakeFiles/libfluidsynth.dir/utils/fluid_settings.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\utils\fluid_settings.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\utils\fluid_settings.c
[ 23%] Building C object src/CMakeFiles/libfluidsynth.dir/utils/fluid_sys.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\utils\fluid_sys.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\utils\fluid_sys.c
[ 25%] Building C object src/CMakeFiles/libfluidsynth.dir/sfloader/fluid_defsfont.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\sfloader\fluid_defsfont.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\sfloader\fluid_defsfont.c
D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\sfloader\fluid_defsfont.c: In function 'fluid_cached_sampledata_unload':
D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\sfloader\fluid_defsfont.c:402:86: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
           fluid_munlock(cached_sampledata->sampledata, cached_sampledata->samplesize);
                                                                                      ^
[ 28%] Building C object src/CMakeFiles/libfluidsynth.dir/sfloader/fluid_ramsfont.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\sfloader\fluid_ramsfont.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\sfloader\fluid_ramsfont.c
[ 30%] Building C object src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_adsr_env.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\rvoice\fluid_adsr_env.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\rvoice\fluid_adsr_env.c
[ 33%] Building C object src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_chorus.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\rvoice\fluid_chorus.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\rvoice\fluid_chorus.c
[ 35%] Building C object src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_iir_filter.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\rvoice\fluid_iir_filter.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\rvoice\fluid_iir_filter.c
[ 38%] Building C object src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_lfo.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\rvoice\fluid_lfo.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\rvoice\fluid_lfo.c
[ 41%] Building C object src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\rvoice\fluid_rvoice.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\rvoice\fluid_rvoice.c
[ 43%] Building C object src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_dsp.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\rvoice\fluid_rvoice_dsp.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\rvoice\fluid_rvoice_dsp.c
[ 46%] Building C object src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_event.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\rvoice\fluid_rvoice_event.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\rvoice\fluid_rvoice_event.c
[ 48%] Building C object src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_mixer.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\rvoice\fluid_rvoice_mixer.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\rvoice\fluid_rvoice_mixer.c
[ 51%] Building C object src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rev.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\rvoice\fluid_rev.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\rvoice\fluid_rev.c
[ 53%] Building C object src/CMakeFiles/libfluidsynth.dir/synth/fluid_chan.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\synth\fluid_chan.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\synth\fluid_chan.c
[ 56%] Building C object src/CMakeFiles/libfluidsynth.dir/synth/fluid_event.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\synth\fluid_event.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\synth\fluid_event.c
[ 58%] Building C object src/CMakeFiles/libfluidsynth.dir/synth/fluid_gen.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\synth\fluid_gen.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\synth\fluid_gen.c
[ 61%] Building C object src/CMakeFiles/libfluidsynth.dir/synth/fluid_mod.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\synth\fluid_mod.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\synth\fluid_mod.c
[ 64%] Building C object src/CMakeFiles/libfluidsynth.dir/synth/fluid_synth.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\synth\fluid_synth.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\synth\fluid_synth.c
[ 66%] Building C object src/CMakeFiles/libfluidsynth.dir/synth/fluid_tuning.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\synth\fluid_tuning.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\synth\fluid_tuning.c
[ 69%] Building C object src/CMakeFiles/libfluidsynth.dir/synth/fluid_voice.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\synth\fluid_voice.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\synth\fluid_voice.c
[ 71%] Building C object src/CMakeFiles/libfluidsynth.dir/midi/fluid_midi.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\midi\fluid_midi.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\midi\fluid_midi.c
[ 74%] Building C object src/CMakeFiles/libfluidsynth.dir/midi/fluid_midi_router.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\midi\fluid_midi_router.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\midi\fluid_midi_router.c
[ 76%] Building C object src/CMakeFiles/libfluidsynth.dir/midi/fluid_seqbind.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\midi\fluid_seqbind.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\midi\fluid_seqbind.c
[ 79%] Building C object src/CMakeFiles/libfluidsynth.dir/midi/fluid_seq.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\midi\fluid_seq.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\midi\fluid_seq.c
[ 82%] Building C object src/CMakeFiles/libfluidsynth.dir/drivers/fluid_adriver.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\drivers\fluid_adriver.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\drivers\fluid_adriver.c
[ 84%] Building C object src/CMakeFiles/libfluidsynth.dir/drivers/fluid_mdriver.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\drivers\fluid_mdriver.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\drivers\fluid_mdriver.c
[ 87%] Building C object src/CMakeFiles/libfluidsynth.dir/drivers/fluid_aufile.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\drivers\fluid_aufile.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\drivers\fluid_aufile.c
[ 89%] Building C object src/CMakeFiles/libfluidsynth.dir/bindings/fluid_cmd.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\bindings\fluid_cmd.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\bindings\fluid_cmd.c
[ 92%] Building C object src/CMakeFiles/libfluidsynth.dir/bindings/fluid_filerenderer.c.obj
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\MINGW\bin\gcc.exe -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS @CMakeFiles/libfluidsynth.dir/includes_C.rsp -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement   -mms-bitfields -DFLUIDSYNTH_DLL_EXPORTS -o CMakeFiles\libfluidsynth.dir\bindings\fluid_filerenderer.c.obj   -c D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\src\bindings\fluid_filerenderer.c
[ 94%] Linking C shared library libfluidsynth.dll
cd /d D:\Entwicklung\MINGW\msys\1.0\home\miche\fluidsynth-1.1.8\build\src && D:\Entwicklung\cmake-3.9.4-win32-x86\bin\cmake.exe -E cmake_link_script CMakeFiles\libfluidsynth.dir\link.txt --verbose=1
D:\Entwicklung\cmake-3.9.4-win32-x86\bin\cmake.exe -E remove -f CMakeFiles\libfluidsynth.dir/objects.a
D:\Entwicklung\MINGW\bin\ar.exe cr CMakeFiles\libfluidsynth.dir/objects.a @CMakeFiles\libfluidsynth.dir\objects1.rsp
D:\Entwicklung\MINGW\bin\gcc.exe  -std=gnu89 -O2 -fomit-frame-pointer -finline-functions -fvisibility=hidden -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement  -Wl,--no-undefined -shared -o libfluidsynth.dll -Wl,--out-implib,libfluidsynth.dll.a -Wl,--major-image-version,1,--minor-image-version,6 -Wl,--whole-archive CMakeFiles\libfluidsynth.dir/objects.a -Wl,--no-whole-archive @CMakeFiles\libfluidsynth.dir\linklibs.rsp
CMakeFiles\libfluidsynth.dir/objects.a(fluid_dsound.c.obj):fluid_dsound.c:(.text+0x35c): undefined reference to `DirectSoundEnumerateA@8'
CMakeFiles\libfluidsynth.dir/objects.a(fluid_dsound.c.obj):fluid_dsound.c:(.text+0x820): undefined reference to `DirectSoundEnumerateA@8'
collect2.exe: error: ld returned 1 exit status
src\CMakeFiles\libfluidsynth.dir\build.make:1044: recipe for target 'src/libfluidsynth.dll' failed
mingw32-make[2]: *** [src/libfluidsynth.dll] Error 1
mingw32-make[2]: Leaving directory 'D:/Entwicklung/MINGW/msys/1.0/home/miche/fluidsynth-1.1.8/build'
CMakeFiles\Makefile2:89: recipe for target 'src/CMakeFiles/libfluidsynth.dir/all' failed
mingw32-make[1]: *** [src/CMakeFiles/libfluidsynth.dir/all] Error 2
mingw32-make[1]: Leaving directory 'D:/Entwicklung/MINGW/msys/1.0/home/miche/fluidsynth-1.1.8/build'
Makefile:153: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

I hope all this is of any help for you.

derselbst commented 7 years ago

I dont see any windows libraries in the linker call. There is a line in the top level CMakeLists.txt:

set ( WINDOWS_LIBS "dsound;winmm;ws2_32" )

Not sure if this can work with this semicolons. So try playing around with that by changing into e.g.:

set ( WINDOWS_LIBS "dsound winmm ws2_32" )
set ( WINDOWS_LIBS "dsound" "winmm" "ws2_32" )
set ( WINDOWS_LIBS "dsound.lib winmm.dll ws2_32.dll" )
derselbst commented 7 years ago

@YesterPlay80 Any news?

ghost commented 6 years ago

Sorry for the late reply, I just didn't find the time to check your suggestions. However, no matter which of them I tried, they all failed because the files listed in the statement couldn't be found the way they are defined.

derselbst commented 6 years ago

So there is no dsound.lib or dsound.dll on your system? What windows are you on? Do you have the DirectX SDK installed?

ghost commented 6 years ago

The SDK (DirectX June 2010) is installed, I'm on Windows 10 Professional. I tried the latest code including your latest commit, but the error remains.

sykhro commented 6 years ago

Are you running MSYS2? I have added instructions on how to build in that environment to the wiki, it seems to be way more reliable than using MinGW things manually.

ghost commented 6 years ago

No, until now I was using MSYS+MinGW, which I use for DOSBox as well. I tried out MSYS2 and it worked, so I'll keep using that one from now on for Fluidsynth. Thank you!

derselbst commented 6 years ago

Ok great. I had no luck when trying to reproduce this issue, I think it's some specific environment setup problem. Therefore I'm closing this.