Closed cschol closed 2 weeks ago
Another build failure. This time on Windows platform.
x86_64-w64-mingw32-g++ -std=c++11 -Wsuggest-override -fPIC -I/home/build/rack-plugin-toolchain/Rack-SDK-win-x64/include -I/home/build/rack-plugin-toolchain/Rack-SDK-win-x64/dep/include -MMD -MP -g -O3 -funsafe-math-optimizations -fno-omit-frame-pointer -Wall -Wextra -Wno-unused-parameter -march=nehalem -D_USE_MATH_DEFINES -municode -c -o build/src/plugin.cpp.o src/plugin.cpp src/outils.cpp: In function 'float noi::Outils::dryWet(float, float, float)': src/outils.cpp:113:45: error: 'sqrtf' was not declared in this scope 113 | float volumes_dry = sqrtf(0.5f * (1.f + parameter)); | ^~~~~
I made a new commit 898a087 This time i used #include <cmath> with std::sqrt Do you have any recommendation if this won't work either ?
898a087
#include <cmath>
std::sqrt
This worked. Thank you.
Another build failure. This time on Windows platform.