steinbergmedia / vst3sdk

VST 3 Plug-In SDK
Other
1.57k stars 162 forks source link

example vst3 plugins fail on linux mint 19 32 bit #81

Open TheGuyWhoo opened 3 years ago

TheGuyWhoo commented 3 years ago

Here's the output:

[ 55%] Building CXX object public.sdk/samples/vst-hosting/validator/CMakeFiles/validator.dir/source/validator.cpp.o
In file included from /home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:54:0,
                 from /home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/samples/vst-hosting/validator/source/validator.cpp:41:
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h: In instantiation of ‘constexpr Steinberg::Vst::{anonymous}::sizeofCheckProcessSetup<ProcessSetup, w, x, y, z>::sizeofCheckProcessSetup() [with ProcessSetup = Steinberg::Vst::ProcessSetup; unsigned int w = 24; unsigned int x = 20; unsigned int y = 24; unsigned int z = 24]’:
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:76:1:   required from here
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:30:4: error: static assertion failed: Struct sizeof error: ProcessSetup
    static_assert (Operator (Type) ==                                                      \
    ^
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:44:2: note: in expansion of macro ‘SMTG_TYPE_STATIC_CHECK’
  SMTG_TYPE_STATIC_CHECK (sizeof, Type, Platform64Size, MacOS32Size, Win32Size, Linux32Size)
  ^~~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:76:1: note: in expansion of macro ‘SMTG_TYPE_SIZE_CHECK’
 SMTG_TYPE_SIZE_CHECK (ProcessSetup, 24, 20, 24, 24)
 ^~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h: In instantiation of ‘constexpr Steinberg::Vst::{anonymous}::sizeofCheckAudioBusBuffers<AudioBusBuffers, w, x, y, z>::sizeofCheckAudioBusBuffers() [with AudioBusBuffers = Steinberg::Vst::AudioBusBuffers; unsigned int w = 24; unsigned int x = 16; unsigned int y = 24; unsigned int z = 24]’:
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:77:1:   required from here
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:30:4: error: static assertion failed: Struct sizeof error: AudioBusBuffers
    static_assert (Operator (Type) ==                                                      \
    ^
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:44:2: note: in expansion of macro ‘SMTG_TYPE_STATIC_CHECK’
  SMTG_TYPE_STATIC_CHECK (sizeof, Type, Platform64Size, MacOS32Size, Win32Size, Linux32Size)
  ^~~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:77:1: note: in expansion of macro ‘SMTG_TYPE_SIZE_CHECK’
 SMTG_TYPE_SIZE_CHECK (AudioBusBuffers, 24, 16, 24, 24)
 ^~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h: In instantiation of ‘constexpr Steinberg::Vst::{anonymous}::alignofCheckProcessSetup<ProcessSetup, w, x, y, z>::alignofCheckProcessSetup() [with ProcessSetup = Steinberg::Vst::ProcessSetup; unsigned int w = 8; unsigned int x = 1; unsigned int y = 8; unsigned int z = 8]’:
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:79:1:   required from here
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:30:4: error: static assertion failed: Struct alignof error: ProcessSetup
    static_assert (Operator (Type) ==                                                      \
    ^
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:50:2: note: in expansion of macro ‘SMTG_TYPE_STATIC_CHECK’
  SMTG_TYPE_STATIC_CHECK (alignof, Type, Platform64Size, MacOS32Size, Win32Size, Linux32Size)
  ^~~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:79:1: note: in expansion of macro ‘SMTG_TYPE_ALIGN_CHECK’
 SMTG_TYPE_ALIGN_CHECK (ProcessSetup, 8, 1, 8, 8)
 ^~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h: In instantiation of ‘constexpr Steinberg::Vst::{anonymous}::alignofCheckAudioBusBuffers<AudioBusBuffers, w, x, y, z>::alignofCheckAudioBusBuffers() [with AudioBusBuffers = Steinberg::Vst::AudioBusBuffers; unsigned int w = 8; unsigned int x = 1; unsigned int y = 8; unsigned int z = 8]’:
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:80:1:   required from here
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:30:4: error: static assertion failed: Struct alignof error: AudioBusBuffers
    static_assert (Operator (Type) ==                                                      \
    ^
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:50:2: note: in expansion of macro ‘SMTG_TYPE_STATIC_CHECK’
  SMTG_TYPE_STATIC_CHECK (alignof, Type, Platform64Size, MacOS32Size, Win32Size, Linux32Size)
  ^~~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:80:1: note: in expansion of macro ‘SMTG_TYPE_ALIGN_CHECK’
 SMTG_TYPE_ALIGN_CHECK (AudioBusBuffers, 8, 1, 8, 8)
 ^~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h: In instantiation of ‘constexpr Steinberg::Vst::{anonymous}::alignofCheckParameterInfo<ParameterInfo, w, x, y, z>::alignofCheckParameterInfo() [with ParameterInfo = Steinberg::Vst::ParameterInfo; unsigned int w = 8; unsigned int x = 1; unsigned int y = 8; unsigned int z = 8]’:
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:92:1:   required from here
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:30:4: error: static assertion failed: Struct alignof error: ParameterInfo
    static_assert (Operator (Type) ==                                                      \
    ^
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:50:2: note: in expansion of macro ‘SMTG_TYPE_STATIC_CHECK’
  SMTG_TYPE_STATIC_CHECK (alignof, Type, Platform64Size, MacOS32Size, Win32Size, Linux32Size)
  ^~~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:92:1: note: in expansion of macro ‘SMTG_TYPE_ALIGN_CHECK’
 SMTG_TYPE_ALIGN_CHECK (ParameterInfo, 8, 1, 8, 8)
 ^~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h: In instantiation of ‘constexpr Steinberg::Vst::{anonymous}::sizeofCheckEvent<Event, w, x, y, z>::sizeofCheckEvent() [with Event = Steinberg::Vst::Event; unsigned int w = 48; unsigned int x = 40; unsigned int y = 40; unsigned int z = 48]’:
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:101:1:   required from here
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:30:4: error: static assertion failed: Struct sizeof error: Event
    static_assert (Operator (Type) ==                                                      \
    ^
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:44:2: note: in expansion of macro ‘SMTG_TYPE_STATIC_CHECK’
  SMTG_TYPE_STATIC_CHECK (sizeof, Type, Platform64Size, MacOS32Size, Win32Size, Linux32Size)
  ^~~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:101:1: note: in expansion of macro ‘SMTG_TYPE_SIZE_CHECK’
 SMTG_TYPE_SIZE_CHECK (Event, 48, 40, 40, 48)
 ^~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h: In instantiation of ‘constexpr Steinberg::Vst::{anonymous}::alignofCheckEvent<Event, w, x, y, z>::alignofCheckEvent() [with Event = Steinberg::Vst::Event; unsigned int w = 8; unsigned int x = 1; unsigned int y = 8; unsigned int z = 8]’:
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:109:1:   required from here
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:30:4: error: static assertion failed: Struct alignof error: Event
    static_assert (Operator (Type) ==                                                      \
    ^
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:50:2: note: in expansion of macro ‘SMTG_TYPE_STATIC_CHECK’
  SMTG_TYPE_STATIC_CHECK (alignof, Type, Platform64Size, MacOS32Size, Win32Size, Linux32Size)
  ^~~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:109:1: note: in expansion of macro ‘SMTG_TYPE_ALIGN_CHECK’
 SMTG_TYPE_ALIGN_CHECK (Event, 8, 1, 8, 8)
 ^~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h: In instantiation of ‘constexpr Steinberg::Vst::{anonymous}::sizeofCheckNoteExpressionValueDescription<NoteExpressionValueDescription, w, x, y, z>::sizeofCheckNoteExpressionValueDescription() [with NoteExpressionValueDescription = Steinberg::Vst::NoteExpressionValueDescription; unsigned int w = 32; unsigned int x = 28; unsigned int y = 32; unsigned int z = 32]’:
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:111:1:   required from here
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:30:4: error: static assertion failed: Struct sizeof error: NoteExpressionValueDescription
    static_assert (Operator (Type) ==                                                      \
    ^
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:44:2: note: in expansion of macro ‘SMTG_TYPE_STATIC_CHECK’
  SMTG_TYPE_STATIC_CHECK (sizeof, Type, Platform64Size, MacOS32Size, Win32Size, Linux32Size)
  ^~~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:111:1: note: in expansion of macro ‘SMTG_TYPE_SIZE_CHECK’
 SMTG_TYPE_SIZE_CHECK (NoteExpressionValueDescription, 32, 28, 32, 32)
 ^~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h: In instantiation of ‘constexpr Steinberg::Vst::{anonymous}::sizeofCheckNoteExpressionTypeInfo<NoteExpressionTypeInfo, w, x, y, z>::sizeofCheckNoteExpressionTypeInfo() [with NoteExpressionTypeInfo = Steinberg::Vst::NoteExpressionTypeInfo; unsigned int w = 816; unsigned int x = 812; unsigned int y = 816; unsigned int z = 816]’:
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:114:1:   required from here
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:30:4: error: static assertion failed: Struct sizeof error: NoteExpressionTypeInfo
    static_assert (Operator (Type) ==                                                      \
    ^
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:44:2: note: in expansion of macro ‘SMTG_TYPE_STATIC_CHECK’
  SMTG_TYPE_STATIC_CHECK (sizeof, Type, Platform64Size, MacOS32Size, Win32Size, Linux32Size)
  ^~~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:114:1: note: in expansion of macro ‘SMTG_TYPE_SIZE_CHECK’
 SMTG_TYPE_SIZE_CHECK (NoteExpressionTypeInfo, 816, 812, 816, 816)
 ^~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h: In instantiation of ‘constexpr Steinberg::Vst::{anonymous}::alignofCheckNoteExpressionValueDescription<NoteExpressionValueDescription, w, x, y, z>::alignofCheckNoteExpressionValueDescription() [with NoteExpressionValueDescription = Steinberg::Vst::NoteExpressionValueDescription; unsigned int w = 8; unsigned int x = 1; unsigned int y = 8; unsigned int z = 8]’:
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:116:1:   required from here
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:30:4: error: static assertion failed: Struct alignof error: NoteExpressionValueDescription
    static_assert (Operator (Type) ==                                                      \
    ^
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:50:2: note: in expansion of macro ‘SMTG_TYPE_STATIC_CHECK’
  SMTG_TYPE_STATIC_CHECK (alignof, Type, Platform64Size, MacOS32Size, Win32Size, Linux32Size)
  ^~~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:116:1: note: in expansion of macro ‘SMTG_TYPE_ALIGN_CHECK’
 SMTG_TYPE_ALIGN_CHECK (NoteExpressionValueDescription, 8, 1, 8, 8)
 ^~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h: In instantiation of ‘constexpr Steinberg::Vst::{anonymous}::alignofCheckNoteExpressionValueEvent<NoteExpressionValueEvent, w, x, y, z>::alignofCheckNoteExpressionValueEvent() [with NoteExpressionValueEvent = Steinberg::Vst::NoteExpressionValueEvent; unsigned int w = 8; unsigned int x = 1; unsigned int y = 4; unsigned int z = 8]’:
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:117:1:   required from here
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:30:4: error: static assertion failed: Struct alignof error: NoteExpressionValueEvent
    static_assert (Operator (Type) ==                                                      \
    ^
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:50:2: note: in expansion of macro ‘SMTG_TYPE_STATIC_CHECK’
  SMTG_TYPE_STATIC_CHECK (alignof, Type, Platform64Size, MacOS32Size, Win32Size, Linux32Size)
  ^~~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:117:1: note: in expansion of macro ‘SMTG_TYPE_ALIGN_CHECK’
 SMTG_TYPE_ALIGN_CHECK (NoteExpressionValueEvent, 8, 1, 4, 8)
 ^~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h: In instantiation of ‘constexpr Steinberg::Vst::{anonymous}::alignofCheckNoteExpressionTypeInfo<NoteExpressionTypeInfo, w, x, y, z>::alignofCheckNoteExpressionTypeInfo() [with NoteExpressionTypeInfo = Steinberg::Vst::NoteExpressionTypeInfo; unsigned int w = 8; unsigned int x = 1; unsigned int y = 8; unsigned int z = 8]’:
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:119:1:   required from here
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:30:4: error: static assertion failed: Struct alignof error: NoteExpressionTypeInfo
    static_assert (Operator (Type) ==                                                      \
    ^
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:50:2: note: in expansion of macro ‘SMTG_TYPE_STATIC_CHECK’
  SMTG_TYPE_STATIC_CHECK (alignof, Type, Platform64Size, MacOS32Size, Win32Size, Linux32Size)
  ^~~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:119:1: note: in expansion of macro ‘SMTG_TYPE_ALIGN_CHECK’
 SMTG_TYPE_ALIGN_CHECK (NoteExpressionTypeInfo, 8, 1, 8, 8)
 ^~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h: In instantiation of ‘constexpr Steinberg::Vst::{anonymous}::sizeofCheckProcessContext<ProcessContext, w, x, y, z>::sizeofCheckProcessContext() [with ProcessContext = Steinberg::Vst::ProcessContext; unsigned int w = 112; unsigned int x = 104; unsigned int y = 112; unsigned int z = 112]’:
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:124:1:   required from here
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:30:4: error: static assertion failed: Struct sizeof error: ProcessContext
    static_assert (Operator (Type) ==                                                      \
    ^
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:44:2: note: in expansion of macro ‘SMTG_TYPE_STATIC_CHECK’
  SMTG_TYPE_STATIC_CHECK (sizeof, Type, Platform64Size, MacOS32Size, Win32Size, Linux32Size)
  ^~~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:124:1: note: in expansion of macro ‘SMTG_TYPE_SIZE_CHECK’
 SMTG_TYPE_SIZE_CHECK (ProcessContext, 112, 104, 112, 112)
 ^~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h: In instantiation of ‘constexpr Steinberg::Vst::{anonymous}::alignofCheckProcessContext<ProcessContext, w, x, y, z>::alignofCheckProcessContext() [with ProcessContext = Steinberg::Vst::ProcessContext; unsigned int w = 8; unsigned int x = 1; unsigned int y = 8; unsigned int z = 8]’:
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:127:1:   required from here
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:30:4: error: static assertion failed: Struct alignof error: ProcessContext
    static_assert (Operator (Type) ==                                                      \
    ^
/home/user/Downloads/VST_SDK/VST3_SDK/pluginterfaces/base/typesizecheck.h:50:2: note: in expansion of macro ‘SMTG_TYPE_STATIC_CHECK’
  SMTG_TYPE_STATIC_CHECK (alignof, Type, Platform64Size, MacOS32Size, Win32Size, Linux32Size)
  ^~~~~~~~~~~~~~~~~~~~~~
/home/user/Downloads/VST_SDK/VST3_SDK/public.sdk/source/vst/testsuite/vststructsizecheck.h:127:1: note: in expansion of macro ‘SMTG_TYPE_ALIGN_CHECK’
 SMTG_TYPE_ALIGN_CHECK (ProcessContext, 8, 1, 8, 8)
 ^~~~~~~~~~~~~~~~~~~~~
public.sdk/samples/vst-hosting/validator/CMakeFiles/validator.dir/build.make:575: recipe for target 'public.sdk/samples/vst-hosting/validator/CMakeFiles/validator.dir/source/validator.cpp.o' failed
make[2]: *** [public.sdk/samples/vst-hosting/validator/CMakeFiles/validator.dir/source/validator.cpp.o] Error 1
CMakeFiles/Makefile2:1235: recipe for target 'public.sdk/samples/vst-hosting/validator/CMakeFiles/validator.dir/all' failed
make[1]: *** [public.sdk/samples/vst-hosting/validator/CMakeFiles/validator.dir/all] Error 2
Makefile:102: recipe for target 'all' failed
make: *** [all] Error 2