VST3 Project Generator unable to fully build project

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

Can you please post the full output.
Thanks.

C:\Program Files\CMake\bin\CMake.exe C:\Users\GRT30\Documents\VST Programming stuff\VST_SDK\VST3_Project_Generator\Windows\Resources\GenerateVST3Plugin.cmake -DSMTG_VST3_SDK_SOURCE_DIR_CLI=“C:/Users/GRT30/Documents/VST Programming stuff/VST_SDK/VST3_SDK” -DSMTG_GENERATOR_OUTPUT_DIRECTORY_CLI=“C:/Users/GRT30/Documents/VST Programming stuff/myStuff” -DSMTG_PLUGIN_NAME_CLI=“AnEffect” -DSMTG_PLUGIN_CATEGORY_CLI=“Fx” -DSMTG_CMAKE_PROJECT_NAME_CLI=“AnEffect” -DSMTG_PLUGIN_BUNDLE_NAME_CLI=“AnEffect” -DSMTG_PLUGIN_IDENTIFIER_CLI=“com.verb8m.aneffect” -DSMTG_VENDOR_NAME_CLI=“verb8m” -DSMTG_VENDOR_HOMEPAGE_CLI=“verb8m.github.io” -DSMTG_VENDOR_EMAIL_CLI=“verbeightm@gmail.com” -DSMTG_PREFIX_FOR_FILENAMES_CLI=“” -DSMTG_PLUGIN_CLASS_NAME_CLI=“AnEffect” -P “C:\Users\GRT30\Documents\VST Programming stuff\VST_SDK\VST3_Project_Generator\Windows\Resources\GenerateVST3Plugin.cmake”

Steinberg Media Technologies GmbH
VST3 Project Generator

==================================================

– Found Git: C:/Program Files/Git/cmd/git.exe (found version “2.21.0.windows.1”)
– SMTG_CMAKE_SCRIPT_DIR : C:/Users/GRT30/Documents/VST Programming stuff/VST_SDK/VST3_Project_Generator/Windows/Resources
– SMTG_GENERATOR_OUTPUT_DIRECTORY : C:/Users/GRT30/Documents/VST Programming stuff/myStuff
– SMTG_TEMPLATE_FILES_PATH : C:/Users/GRT30/Documents/VST Programming stuff/VST_SDK/VST3_Project_Generator/Windows/Resources/cmake/templates
– SMTG_VST3_SDK_SOURCE_DIR : C:/Users/GRT30/Documents/VST Programming stuff/VST_SDK/VST3_SDK

– 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

– SMTG_Processor_UUID : 0xED34DDDA, 0x83DA5865, 0xB9171AB9, 0x45309E70
– SMTG_Controller_UUID : 0xB2C44752, 0x171A579C, 0x8AEA29D5, 0x932CE798

– Configured: C:/Users/GRT30/Documents/VST Programming stuff/myStuff/AnEffect/CMakeLists.txt
– Configured: C:/Users/GRT30/Documents/VST Programming stuff/myStuff/AnEffect/SMTG_Fetch_VST3_SDK.cmake
– Configured: C:/Users/GRT30/Documents/VST Programming stuff/myStuff/AnEffect/resource/Info.plist
– Copied : C:/Users/GRT30/Documents/VST Programming stuff/myStuff/AnEffect/resource/ED34DDDA83DA5865B9171AB945309E70_snapshot.png
– Copied : C:/Users/GRT30/Documents/VST Programming stuff/myStuff/AnEffect/resource/ED34DDDA83DA5865B9171AB945309E70_snapshot_2.0x.png
– Configured: C:/Users/GRT30/Documents/VST Programming stuff/myStuff/AnEffect/resource/win32resource.rc
– Configured: C:/Users/GRT30/Documents/VST Programming stuff/myStuff/AnEffect/source/version.h
– Configured: C:/Users/GRT30/Documents/VST Programming stuff/myStuff/AnEffect/source/myplugincids.h
– Configured: C:/Users/GRT30/Documents/VST Programming stuff/myStuff/AnEffect/source/myplugincontroller.cpp
– Configured: C:/Users/GRT30/Documents/VST Programming stuff/myStuff/AnEffect/source/myplugincontroller.h
– Configured: C:/Users/GRT30/Documents/VST Programming stuff/myStuff/AnEffect/source/mypluginentry.cpp
– Configured: C:/Users/GRT30/Documents/VST Programming stuff/myStuff/AnEffect/source/mypluginprocessor.cpp
– Configured: C:/Users/GRT30/Documents/VST Programming stuff/myStuff/AnEffect/source/mypluginprocessor.h

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:

“C:/Users/GRT30/Documents/VST_Programming_stuff/myStuff\AnEffect”

René

Thanks, that fixed the problem :smiley: