fluidsynth
fluidsynth copied to clipboard
`fluidsynth --version` fails on MSVC builds on Windows X64
FluidSynth version
Execute fluidsynth --version and provide the output.
v2.4.3:
FluidSynth runtime version 2.4.3
Copyright (C) 2000-2025 Peter Hanappe and others.
Distributed under the LGPL license.
SoundFont(R) is a registered trademark of Creative Technology Ltd.
FluidSynth executable version 2.4.3
Sample type=float
v2.4.4:
Error: Process completed with exit code 1.
v2.4.5:
Usage: fluidsynth [options] [soundfonts]
Try -h for help.
Unknown switch '-'
https://github.com/cclauss/fluidsynth-tests/actions
Related to:
- #1510
- #1543
The MSVC binaries are compiled without getopt support. See the notice for fluidsynth -h
FluidSynth runtime version 2.4.5
Copyright (C) 2000-2025 Peter Hanappe and others.
Distributed under the LGPL license.
SoundFont(R) is a registered trademark of Creative Technology Ltd.
Usage:
fluidsynth [options] [soundfonts] [midifiles]
Note:
This version of fluidsynth was compiled without getopt support.
Thus, the long options are not supported.
Therefore, this is not a bug, it's a feature request for getting getopt support for MSVC builds.
There is a getopt-win32 package in https://vcpkg.io/ but it is not a blind drop-in. It will need some tweaking on the build system.
Another alternative would be getopt_port (BSD licensed).