Hi again,
I know you are probably tired of me, but this error occurred when I ran the "mingw32-make.exe" command from the CMD:
C:\fluidsynth\build>cmake -G "MinGW Makefiles" ..
-- The C compiler identification is GNU 5.1.0
-- Check for working C compiler: C:/TDM-GCC-64/bin/gcc.exe
-- Check for working C compiler: C:/TDM-GCC-64/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 - not found
-- ANSI C header files - not 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 string.h
-- Looking for string.h - found
-- Looking for stdlib.h
-- Looking for stdlib.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 - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for getopt.h
-- Looking for getopt.h - found
-- Looking for stdint.h
-- Looking for stdint.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
-- Looking for stddef.h
-- Looking for stddef.h - found
-- 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: C:/freesw/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.26.1
-- Found gthread-2.0, version 2.26.1
-- 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
-- Looking for ladspa.h
-- Looking for ladspa.h - not found
-- Checking for module 'libinstpatch-1.0'
-- No package 'libinstpatch-1.0' found
-- Checking for module 'sdl2'
-- No package 'sdl2' found
-- Could NOT find READLINE (missing: READLINE_INCLUDE_DIR READLINE_LIBRARIES)
-- Found Doxygen: C:/Program Files/doxygen/bin/doxygen.exe (found version "1.8.15") found components: doxygen dot
**************************************************************
Summary:
Build type: RelWithDebInfo
Install Prefix: C:/Program Files (x86)/FluidSynth
libsndfile: no (raw audio file rendering only)
D-Bus: no
PulseAudio: no
JACK: no
ALSA: no
PortAudio: no
OSS: no
OpenSLES: no
Oboe: no
MidiShare: no
CoreAudio: no
CoreMIDI: no
Windows: yes
DSound: yes
WaveOut support: yes
WinMidi support: yes
SDL2 support: no
LADSPA support: no
LASH support: no
systemd support: no
OS/2 DART support: no
Audio to file driver: yes
NETWORK Support : yes
IPV6 Support : no
Readline: no
libinstpatch: no
Samples type=float: no (using double)
Profiling: no
OpenMP 4.0: no
Multi-thread support yes
Debug: no
Trap on FPE (debug): no
Check FPE (debug): no
UBSan (debug): no
**************************************************************
-- Configuring done
-- Generating done
-- Build files have been written to: C:/fluidsynth/build
C:\fluidsynth\build>mingw32-make.exe
Scanning dependencies of target gentables
[ 1%] Creating directories for 'gentables'
[ 3%] No download step for 'gentables'
[ 5%] No patch step for 'gentables'
[ 7%] No update step for 'gentables'
[ 9%] Performing configure step for 'gentables'
-- The C compiler identification is GNU 5.1.0
-- Check for working C compiler: C:/TDM-GCC-64/bin/gcc.exe
-- Check for working C compiler: C:/TDM-GCC-64/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/fluidsynth/build/src/gentables
[ 11%] Performing build step for 'gentables'
Scanning dependencies of target make_tables
[ 25%] Building C object CMakeFiles/make_tables.dir/make_tables.c.obj
[ 50%] Building C object CMakeFiles/make_tables.dir/gen_conv.c.obj
[ 75%] Building C object CMakeFiles/make_tables.dir/gen_rvoice_dsp.c.obj
[100%] Linking C executable make_tables.exe
[100%] Built target make_tables
[ 13%] Performing install step for 'gentables'
[ 15%] Completed 'gentables'
[ 15%] Built target gentables
Scanning dependencies of target libfluidsynth-OBJ
[ 17%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/drivers/fluid_aufile.c.obj
[ 19%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/drivers/fluid_dsound.c.obj
[ 21%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/drivers/fluid_waveout.c.obj
[ 23%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/drivers/fluid_winmidi.c.obj
[ 25%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/utils/fluid_conv.c.obj
[ 26%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/utils/fluid_hash.c.obj
[ 28%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/utils/fluid_list.c.obj
[ 30%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/utils/fluid_ringbuffer.c.obj
[ 32%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/utils/fluid_settings.c.obj
[ 34%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/utils/fluid_sys.c.obj
[ 36%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/sfloader/fluid_defsfont.c.obj
[ 38%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/sfloader/fluid_sfont.c.obj
[ 40%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/sfloader/fluid_sffile.c.obj
[ 42%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/sfloader/fluid_samplecache.c.obj
[ 44%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_adsr_env.c.obj
[ 46%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_chorus.c.obj
[ 48%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_iir_filter.c.obj
[ 50%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_lfo.c.obj
[ 51%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_rvoice.c.obj
[ 53%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_rvoice_dsp.c.obj
[ 55%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_rvoice_event.c.obj
[ 57%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_rvoice_mixer.c.obj
C:\fluidsynth\src\rvoice\fluid_rvoice_mixer.c: In function 'fluid_rvoice_buffers_mix':
C:\fluidsynth\src\rvoice\fluid_rvoice_mixer.c:401:0: warning: ignoring #pragma omp simd [-Wunknown-pragmas]
#pragma omp simd aligned(dsp_buf,buf:FLUID_DEFAULT_ALIGNMENT)
^
C:\fluidsynth\src\rvoice\fluid_rvoice_mixer.c: In function 'fluid_mixer_buffers_mix':
C:\fluidsynth\src\rvoice\fluid_rvoice_mixer.c:1070:0: warning: ignoring #pragma omp simd [-Wunknown-pragmas]
#pragma omp simd aligned(base_dst,base_src:FLUID_DEFAULT_ALIGNMENT)
^
C:\fluidsynth\src\rvoice\fluid_rvoice_mixer.c:1084:0: warning: ignoring #pragma omp simd [-Wunknown-pragmas]
#pragma omp simd aligned(base_dst,base_src:FLUID_DEFAULT_ALIGNMENT)
^
C:\fluidsynth\src\rvoice\fluid_rvoice_mixer.c:1105:0: warning: ignoring #pragma omp simd [-Wunknown-pragmas]
#pragma omp simd aligned(base_dst,base_src:FLUID_DEFAULT_ALIGNMENT)
^
C:\fluidsynth\src\rvoice\fluid_rvoice_mixer.c:1119:0: warning: ignoring #pragma omp simd [-Wunknown-pragmas]
#pragma omp simd aligned(base_dst,base_src:FLUID_DEFAULT_ALIGNMENT)
^
[ 59%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_rev.c.obj
[ 61%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/synth/fluid_chan.c.obj
[ 63%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/synth/fluid_event.c.obj
[ 65%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/synth/fluid_gen.c.obj
[ 67%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/synth/fluid_mod.c.obj
[ 69%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/synth/fluid_synth.c.obj
In file included from C:\fluidsynth\src\synth\fluid_synth.h:31:0,
from C:\fluidsynth\src\synth\fluid_synth.c:21:
C:\fluidsynth\src\synth\fluid_synth.c: In function 'fluid_synth_add_ticks':
C:\fluidsynth\src\synth\fluid_synth.c:481:26: warning: pointer targets in passing argument 1 of 'g_atomic_int_exchange_and_add' differ in signedness [-Wpointer-sign]
fluid_atomic_int_add(&synth->ticks_since_start, val);
^
C:/fluidsynth/src/utils/fluid_sys.h:385:33: note: in definition of macro 'fluid_atomic_int_add'
g_atomic_int_exchange_and_add(_pi, _add)
^
In file included from C:/freesw/include/glib-2.0/glib/gthread.h:36:0,
from C:/freesw/include/glib-2.0/glib/gasyncqueue.h:34,
from C:/freesw/include/glib-2.0/glib.h:34,
from C:/fluidsynth/src/utils/fluidsynth_priv.h:32,
from C:/fluidsynth/src/utils/fluid_sys.h:42,
from C:\fluidsynth\src\synth\fluid_synth.h:31,
from C:\fluidsynth\src\synth\fluid_synth.c:21:
C:/freesw/include/glib-2.0/glib/gatomic.h:41:10: note: expected 'volatile gint * {aka volatile int *}' but argument is of type 'fluid_atomic_uint_t * {aka unsigned int *}'
gint g_atomic_int_exchange_and_add (volatile gint G_GNUC_MAY_ALIAS *atomic,
^
[ 71%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/synth/fluid_synth_monopoly.c.obj
[ 73%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/synth/fluid_tuning.c.obj
[ 75%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/synth/fluid_voice.c.obj
[ 76%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/midi/fluid_midi.c.obj
[ 78%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/midi/fluid_midi_router.c.obj
[ 80%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/midi/fluid_seqbind.c.obj
[ 82%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/midi/fluid_seq.c.obj
[ 84%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/drivers/fluid_adriver.c.obj
[ 86%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/drivers/fluid_mdriver.c.obj
[ 88%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/bindings/fluid_cmd.c.obj
[ 90%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/bindings/fluid_filerenderer.c.obj
[ 92%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/bindings/fluid_ladspa.c.obj
[ 94%] Building RC object src/CMakeFiles/libfluidsynth-OBJ.dir/VersionResource.rc.obj
[ 94%] Built target libfluidsynth-OBJ
Scanning dependencies of target libfluidsynth
[ 96%] Linking C shared library libfluidsynth-2.dll
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgthread-2.0
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lglib-2.0
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lintl
collect2.exe: error: ld returned 1 exit status
src\CMakeFiles\libfluidsynth.dir\build.make:151: recipe for target 'src/libfluidsynth-2.dll' failed
mingw32-make.exe[2]: *** [src/libfluidsynth-2.dll] Error 1
CMakeFiles\Makefile2:95: recipe for target 'src/CMakeFiles/libfluidsynth.dir/all' failed
mingw32-make.exe[1]: *** [src/CMakeFiles/libfluidsynth.dir/all] Error 2
Makefile:150: recipe for target 'all' failed
mingw32-make.exe: *** [all] Error 2
C:\fluidsynth\build>