Problem Building the examples included in the SDK

Hi, I am a beginner. I am a telecommunications engineer and I want to program an audio plugin in VST3SDK. I am having a problem building the examples included in the SDK with cmake,


I can’t find what is failing the error code in the cmake GUI is:

Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000.

The C compiler identification is MSVC 19.30.30705.0

The CXX compiler identification is MSVC 19.30.30705.0

Detecting C compiler ABI info

Detecting C compiler ABI info - done

Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/cl.exe - skipped

Detecting C compile features

Detecting C compile features - done

Detecting CXX compiler ABI info

Detecting CXX compiler ABI info - done

Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/cl.exe - skipped

Detecting CXX compile features

Detecting CXX compile features - done

CMake Error at CMakeLists.txt:98 (smtg_setup_universal_binary):
Unknown CMake command “smtg_setup_universal_binary”.

Configuring incomplete, errors occurred!

See also “C:/Users/David/Documents/VST_SDK/vst3sdk/build/CMakeFiles/CMakeOutput.log”.

Hi,
I think the source root is vst3sdk not vst3sdk/base. CMake is seeing the wrong CMakeLists.txt file. If you configure from vst3sdk there should be no issue.

thank you very much was that