On 03/02/2014 11:43 AM, BCA @ Free-Artists wrote: > Hi David, > > I enjoy to report that your argument appears to have solved the issue. > Building libfluidsynth using MSVC 2008 on WinXPSP3, and MSVC 2008 and > MSVC 2010 on Win7SP1 succeeded.
Thanks, committed now. > Still the two character warnings. It seems to be related to a "DEFAULT_SOUNDFONT" variable that you can set in CMake. For windows it's set by default to "C:\\soundfonts\\default.sf2" but maybe I need to set it to "C:\\\\soundfonts\\\\default.sf2" ? > > Thank you very much. > > BR > Bernd. > > ********** > > 1>------ Build started: Project: libfluidsynth, Configuration: Debug > Win32 ------ > 1>Compiling... > 1>fluid_filerenderer.c > 1>fluid_cmd.c > 1>fluid_aufile.c > 1>fluid_mdriver.c > 1>fluid_adriver.c > 1>fluid_seq.c > 1>fluid_seqbind.c > 1>fluid_midi_router.c > 1>fluid_midi.c > 1>fluid_voice.c > 1>fluid_tuning.c > 1>fluid_synth.c > 1>..\..\fluidsynth_470\src\synth\fluid_synth.c(193) : warning C4129: 's' > : unrecognized character escape sequence > 1>..\..\fluidsynth_470\src\synth\fluid_synth.c(193) : warning C4129: 'd' > : unrecognized character escape sequence > 1>fluid_mod.c > 1>fluid_gen.c > 1>fluid_event.c > 1>fluid_chan.c > 1>fluid_rev.c > 1>fluid_rvoice_mixer.c > 1>fluid_rvoice_event.c > 1>fluid_rvoice_dsp.c > 1>Generating Code... > 1>Compiling... > 1>fluid_rvoice.c > 1>fluid_lfo.c > 1>fluid_iir_filter.c > 1>fluid_chorus.c > 1>fluid_adsr_env.c > 1>fluid_ramsfont.c > 1>fluid_defsfont.c > 1>fluid_sys.c > 1>fluid_settings.c > 1>fluid_ringbuffer.c > 1>fluid_list.c > 1>fluid_hash.c > 1>fluid_conv.c > 1>fluid_winmidi.c > 1>fluid_dsound.c > 1>fluid_dll.c > 1>fluid_portaudio.c > 1>Generating Code... > 1>Compiling manifest to resources... > 1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1 > 1>Copyright (C) Microsoft Corporation. All rights reserved. > 1>Linking... > 1> Creating library > F:\compiling\FS_470_PA_1920\src\Debug\fluidsynth_debug.lib and object > F:\compiling\FS_470_PA_1920\src\Debug\fluidsynth_debug.exp > 1>Embedding manifest... > 1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1 > 1>Copyright (C) Microsoft Corporation. All rights reserved. > 1>Build log was saved at > "file://f:\compiling\FS_470_PA_1920\src\libfluidsynth.dir\Debug\BuildLog.htm" > > 1>libfluidsynth - 0 error(s), 2 warning(s) > ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== > > > > > > Am 25.02.2014 00:02, schrieb David Henningsson: >> Hi and thanks for your bug report, >> >> Could you try changing this line in utils/fluid_sys.h: >> >> #define fluid_private_set(_priv, _data) >> g_static_private_set(&(_priv), _data) >> >> into: >> >> #define fluid_private_set(_priv, _data) >> g_static_private_set(&(_priv), _data, NULL) >> >> Let me know if that helps, if it does, I'll commit a patch that should >> do that permanently. >> >> // David >> >> On 02/24/2014 02:22 AM, BCA @ Free-Artists wrote: >>> Hello, >>> >>> I try to compile FS using MSVC 2008 or 2010 - compiling fails and I get >>> the following output (debug and release configurations). >>> Any help is highly appreciated. >>> >>> Many thanks >>> Bernd Casper >>> >>> ************************* >>> >>> 1>------ Build started: Project: libfluidsynth, Configuration: Debug >>> Win32 ------ >>> 1>Compiling... >>> 1>fluid_filerenderer.c >>> 1>fluid_cmd.c >>> 1>fluid_aufile.c >>> 1>fluid_mdriver.c >>> 1>fluid_adriver.c >>> 1>fluid_seq.c >>> 1>fluid_seqbind.c >>> 1>fluid_midi_router.c >>> 1>fluid_midi.c >>> 1>fluid_voice.c >>> 1>fluid_tuning.c >>> 1>fluid_synth.c >>> 1>..\..\fluidsynth_470\src\synth\fluid_synth.c(193) : warning C4129: 's' >>> : unrecognized character escape sequence >>> 1>..\..\fluidsynth_470\src\synth\fluid_synth.c(193) : warning C4129: 'd' >>> : unrecognized character escape sequence >>> 1>..\..\fluidsynth_470\src\synth\fluid_synth.c(4483) : error C2198: >>> 'g_static_private_set' : too few arguments for call >>> 1>..\..\fluidsynth_470\src\synth\fluid_synth.c(4528) : error C2198: >>> 'g_static_private_set' : too few arguments for call >>> 1>..\..\fluidsynth_470\src\synth\fluid_synth.c(4530) : error C2198: >>> 'g_static_private_set' : too few arguments for call >>> 1>fluid_mod.c >>> 1>fluid_gen.c >>> 1>fluid_event.c >>> 1>fluid_chan.c >>> 1>fluid_rev.c >>> 1>fluid_rvoice_mixer.c >>> 1>fluid_rvoice_event.c >>> 1>fluid_rvoice_dsp.c >>> 1>Generating Code... >>> 1>Compiling... >>> 1>fluid_rvoice.c >>> 1>fluid_lfo.c >>> 1>fluid_iir_filter.c >>> 1>fluid_chorus.c >>> 1>fluid_adsr_env.c >>> 1>fluid_ramsfont.c >>> 1>fluid_defsfont.c >>> 1>fluid_sys.c >>> 1>fluid_settings.c >>> 1>fluid_ringbuffer.c >>> 1>fluid_list.c >>> 1>fluid_hash.c >>> 1>fluid_conv.c >>> 1>fluid_winmidi.c >>> 1>fluid_dsound.c >>> 1>fluid_dll.c >>> 1>Generating Code... >>> 1>Build log was saved at >>> "file://f:\compiling\FS_470_PA_1920\src\libfluidsynth.dir\Debug\BuildLog.htm" >>> >>> >>> 1>libfluidsynth - 3 error(s), 2 warning(s) >>> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped >>> ========== >>> >>> >>> _______________________________________________ >>> fluid-dev mailing list >>> fluid-dev@nongnu.org >>> https://lists.nongnu.org/mailman/listinfo/fluid-dev >>> >> > > > > _______________________________________________ > fluid-dev mailing list > fluid-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/fluid-dev > _______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev