You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filipe Coelho edited this page May 24, 2021
·
2 revisions
This page describes how to setup DPF plugin development under Microsoft Visual Studio.
Notes on building VST2 on Windows (format this later as a proper page)
* Install Visual Studio 2019 Community
Select "Desktop development with C++", make sure to enable "C++ CMake tools for Windows"
* Open Visual Studio
Click "Clone a repository"
* Fill "Repository location" with `https://github.com/sfztools/sfizz.git`
Click "Clone"
* Enter "sfizz" by a double-click on the folder view
* A Steinberg VST2 license is needed to use the SDK
Get the file `vst_sdk2_4_rev2.zip` (found at archive.org in "VST2 SDK")
Extract contents in `sfizz/plugins/vst/external`
* Open"Manage configurations" in the drop-down list
* Delete the default "Debug" configuration
Add either "x86-Release" or "x64-Release", depending whether a 32-bit or 64-bit build is wanted
* Do "File Save CMakeSettings.json"
Wait during configuration. The section "CMake variables and cache" will be filled.
* Change `CMAKE_BUILD_TYPE` to `Release` (written with this exact case)
Check `SFIZZ_VST2`
Uncheck `SFIZZ_LV2`
Uncheck `SFIZZ_RENDER`
Uncheck `SFIZZ_SHARED`
* Do "File Save CMakeSettings.json" again
Wait.
* There is now "Build Build All" in the menu. Click it.
* After a successful build, from the "sfizz" folder, navigate in the "out" folder and a bit down from there.
The VST2 bundle will be found in the folder `sfizz.vst2`.