error: use of undeclared identifier 'aligned_alloc_16'
Build fails on FreeBSD:
ValleyAudio/src/Dexter/Dexter.cpp:184:24: error: use of undeclared identifier 'aligned_alloc_16'
pOpFreqs = (float*)aligned_alloc_16(sizeof(float) * 8);
^
aligned_alloc_16 isn't standard.
The standard defines only aligned_alloc.
Hey, thanks for trying to build it on FreeBSD. aligned_alloc_16() is a wrapper function that is defined in src/Common/SIMD/SIMDUtilities.hpp for the different aligned memory allocation functions on different OS's. It's not perfect.
Now Rack only supports C++11 which aligned_alloc() is not entirely standard, even if it is standard in C11. I went with malloc() for macOS, and _aligned_malloc for Windows since clang and MSVC don't feature aligned_alloc(), yet they guarantee 16-byte alignment.
It's built as part of Cardinal.
I had to patch out aligned_alloc_16() and similar for build to succeed.