Recently, I downloaded the VST3 SDK from 3rd-Party Developers Support & SDKs | Steinberg. Even though i followed the instructions on how to use it, it stopped with this message in the console.
Unknown CMake command “setupPlatformToolset”.
I’m using the latest version of CMake and I set the executable path to C:\Program Files\CMake\bin\CMake.exe in the generator’s settings.
I’ve spent a while trying to fix it so if anyone knows how please reply
– SMTG_VENDOR_NAME : verb8m
– SMTG_VENDOR_HOMEPAGE : verb8m.github.io
– SMTG_VENDOR_EMAIL : **********@gmail.com
– SMTG_SOURCE_COPYRIGHT_HEADER: Copyright(c) 2020 verb8m.
– SMTG_PLUGIN_NAME : AnEffect
– SMTG_PREFIX_FOR_FILENAMES : e.g. myplugincontroller.h
– SMTG_PLUGIN_IDENTIFIER : com.verb8m.aneffect, used e.g. in Info.plist
– SMTG_PLUGIN_BUNDLE_NAME : AnEffect
– SMTG_CMAKE_PROJECT_NAME : e.g. AnEffect will output AnEffect.vst3
– SMTG_VENDOR_NAMESPACE : e.g. namespace MyCompanyName {…}
– SMTG_PLUGIN_CLASS_NAME : e.g. class AnEffectProcessor : public AudioEffect {…}
– SMTG_PLUGIN_CATEGORY : Fx
C:\Program Files\CMake\bin\CMake.exe -G “Visual Studio 16 2019” -S “C:/Users/GRT30/Documents/VST Programming stuff/myStuff\AnEffect” -B “C:/Users/GRT30/Documents/VST Programming stuff/myStuff\AnEffect\build”
– The C compiler identification is MSVC 19.24.28316.0
– The CXX compiler identification is MSVC 19.24.28316.0
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/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 (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
CMake Error at CMakeLists.txt:6 (include):
include called with invalid argument:
stuff/VST_SDK/VST3_SDK/cmake/modules/SMTG_VST3_SDK.cmake
CMake Error at CMakeLists.txt:8 (setupPlatformToolset):
Unknown CMake command “setupPlatformToolset”.
– Configuring incomplete, errors occurred!
See also “C:/Users/GRT30/Documents/VST Programming stuff/myStuff/AnEffect/build/CMakeFiles/CMakeOutput.log”.
I assume that the spaces in the path to your plug-in might be the problem. As a workaround, can you please try to replace the spaces by e.g. “_” (underline) within the file path: