kockie69/SquinkyVCV-main

get build errors in windows now

Closed this issue · 3 comments

I just tried to build, msys2 has all the updated. It doesn't like DspFIlter.h. adding #include at the top makes it build.

cschol commented

Same error with the Rack Plugin Toolchain:

x86_64-w64-mingw32-g++ -std=c++11 -Wsuggest-override  -I./dsp/generators -I./dsp/utils -I./dsp/filters -I./dsp/third-party/falco -I./dsp/third-party/kiss_fft130  -I./dsp/third-party/kiss_fft130/tools -I./dsp/third-party/src -I./dsp/third-party/midifile -I./dsp/third-party/flac/include -I./dsp -I./dsp/samp -I./dsp/third-party/pugixml -I./sqsrc/thread -I./dsp/fft -I./composites -I./sqsrc/noise -I./sqsrc/util -I./sqsrc/clock -I./sqsrc/grammar -I./sqsrc/delay -I./midi/model -I./midi/view -I./midi/controller -I./util -I./src/third-party -I.src/ctrl -I./src/kbd -D __V1x  -D _SEQ -fdiagnostics-color=always -D FLAC__NO_DLL -D HAVE_FSEEKO -D HAVE_LROUND -D HAVE_STDINT_H -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 -DARCH_X64 -march=nehalem -DARCH_WIN -D_USE_MATH_DEFINES -municode  -fmax-errors=5 -finline-limit=500000 -finline-functions-called-once  -D NDEBUG -D __PLUGIN -c -o build/dsp/filters/FormantTables2.cpp.o dsp/filters/FormantTables2.cpp
In file included from dsp/filters/ButterworthFilterDesigner.cpp:7:
./dsp/third-party/falco/DspFilter.h:102:17: error: 'int64_t' does not name a type
  102 |         typedef int64_t Int64;
      |                 ^~~~~~~
./dsp/third-party/falco/DspFilter.h:56:1: note: 'int64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   55 | #include <AudioMath.h>
  +++ |+#include <cstdint>
   56 | //#define _LOG

and

x86_64-w64-mingw32-g++ -std=c++11 -Wsuggest-override  -I./dsp/generators -I./dsp/utils -I./dsp/filters -I./dsp/third-party/falco -I./dsp/third-party/kiss_fft130  -I./dsp/third-party/kiss_fft130/tools -I./dsp/third-party/src -I./dsp/third-party/midifile -I./dsp/third-party/flac/include -I./dsp -I./dsp/samp -I./dsp/third-party/pugixml -I./sqsrc/thread -I./dsp/fft -I./composites -I./sqsrc/noise -I./sqsrc/util -I./sqsrc/clock -I./sqsrc/grammar -I./sqsrc/delay -I./midi/model -I./midi/view -I./midi/controller -I./util -I./src/third-party -I.src/ctrl -I./src/kbd -D __V1x  -D _SEQ -fdiagnostics-color=always -D FLAC__NO_DLL -D HAVE_FSEEKO -D HAVE_LROUND -D HAVE_STDINT_H -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 -DARCH_X64 -march=nehalem -DARCH_WIN -D_USE_MATH_DEFINES -municode  -fmax-errors=5 -finline-limit=500000 -finline-functions-called-once  -D NDEBUG -D __PLUGIN -c -o build/dsp/samp/CompiledRegion.cpp.o dsp/samp/CompiledRegion.cpp
In file included from dsp/filters/HilbertFilterDesigner.cpp:7:
./dsp/third-party/falco/DspFilter.h:102:17: error: 'int64_t' does not name a type
  102 |         typedef int64_t Int64;
      |                 ^~~~~~~
./dsp/third-party/falco/DspFilter.h:56:1: note: 'int64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   55 | #include <AudioMath.h>
  +++ |+#include <cstdint>
   56 | //#define _LOG

Yeah, I think gcc is correct, if you include you are good. don't know how it worked before...

Made changes and asked for deploy in library