Issues with vst3sdk 3.7.11_build_10
dvzrv opened this issue ยท 1 comments
dvzrv commented
Hi! ๐
When building sfizz-ui with vst3sdk 3.7.11_build_10 I'm running into the following:
[ 64%] Building CXX object library/src/CMakeFiles/sfizz_internal.dir/sfizz/AudioReader.cpp.o
cd /build/sfizz-ui/src/build/library/src && /usr/bin/c++ -DGHC_FILESYSTEM_FWD -DSFIZZ_ENABLE_RELEASE_ASSERT=1 -DSFIZZ_ENABLE_RELEASE_DBG=1 -I/build/sfizz-ui/src/sfizz-1.2.3/library/src/. -I/build/sfizz-ui/src/sfizz-1.2.3/library/src/sfizz -I/build/sfizz-ui/src/sfizz-1.2.3/library/external/atomic_queue/include -I/build
/sfizz-ui/src/sfizz-1.2.3/library/src/sfizz/utility/spin_mutex -I/build/sfizz-ui/src/sfizz-1.2.3/library/src/sfizz/utility/bit_array -I/build/sfizz-ui/src/sfizz-1.2.3/library/src/external/hiir -I/build/sfizz-ui/src/sfizz-1.2.3/library/external/jsl/include -I/build/sfizz-ui/src/sfizz-1.2.3/library/external/st_audiofile
/src -I/build/sfizz-ui/src/sfizz-1.2.3/library/src/external/spline -I/build/sfizz-ui/src/sfizz-1.2.3/library/src/external/tunings/include -I/build/sfizz-ui/src/sfizz-1.2.3/library/src/external/kiss_fft -I/build/sfizz-ui/src/sfizz-1.2.3/library/src/external/cpuid/src -I/build/sfizz-ui/src/sfizz-1.2.3/library/external/t
hreadpool -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/sfizz-ui/src=/usr/s
rc/debug/sfizz-ui -flto=auto -std=gnu++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -msse2 -ffast-math -fopenmp -MD -MT library/src/CMakeFiles/sfizz_internal.dir/sfizz/AudioReader.cpp.o -MF CMakeFiles/sfizz_internal.dir/sfizz/AudioReader.cpp.o.d -o CMakeFile
s/sfizz_internal.dir/sfizz/AudioReader.cpp.o -c /build/sfizz-ui/src/sfizz-1.2.3/library/src/sfizz/AudioReader.cpp
In file included from /build/sfizz-ui/src/sfizz-1.2.3/plugins/editor/external/vstgui4/vstgui/lib/cviewcontainer.cpp:19:
/build/sfizz-ui/src/sfizz-1.2.3/plugins/editor/external/vstgui4/vstgui/lib/finally.h: In constructor โVSTGUI::FinalAction<Proc>::FinalAction(VSTGUI::FinalAction<Proc>&&)โ:
/build/sfizz-ui/src/sfizz-1.2.3/plugins/editor/external/vstgui4/vstgui/lib/finally.h:21:30: error: expression cannot be used as a function
21 | other.invoke (false);
| ~~~~~~~~~~~~~^~~~~~~
It would be awesome if this could be fixed (it currently blocks a simde rebuild - which relatedly is now at 0.8.2)! Many thanks! ๐
paulfd commented
Hey David, thanks for reporting! Does the vst3sdk in Arch pull in an updated version of VSTGUI? Sorry, I'm a bit unclear about these nowadays ๐