Thank you for this interesting plugin.
Trying to build it on Debian Sid I get the following error:
$ cmake -S . -B build && cmake --build build --config Release
-- The C compiler identification is GNU 15.2.0
-- The CXX compiler identification is GNU 15.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.5.1")
-- Checking for module 'glib-2.0'
-- Found glib-2.0, version 2.88.0
-- Checking for module 'gthread-2.0'
-- Found gthread-2.0, version 2.88.0
-- Configuring done (2.0s)
-- Generating done (0.1s)
-- Build files have been written to: /home/user/opt/audioplugins/Auto-Drummer/build
[ 2%] Building CXX object CMakeFiles/auto-drummer.dir/src/AutoDrummer.cpp.o
In file included from /home/user/opt/audioplugins/Auto-Drummer/src/batteur/BeatDescription.h:7,
from /home/user/opt/audioplugins/Auto-Drummer/src/AutoDrummer.cpp:21:
/home/user/opt/audioplugins/Auto-Drummer/src/batteur/tl/optional.hpp: In member function ‘T& tl::optional<T&>::emplace(Args&& ...)’:
/home/user/opt/audioplugins/Auto-Drummer/src/batteur/tl/optional.hpp:1992:11: error: ‘class tl::optional<T&>’ has no member named ‘construct’ [-Wtemplate-body]
1992 | this->construct(std::forward<Args>(args)...);
| ^~~~~~~~~
gmake[2]: *** [CMakeFiles/auto-drummer.dir/build.make:79: CMakeFiles/auto-drummer.dir/src/AutoDrummer.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/auto-drummer.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
Thank you for this interesting plugin.
Trying to build it on Debian Sid I get the following error: