1.1 sdk下载地址
github地址:
https://github.com/steinbergmedia/vst3sdk
或者:
https://new.steinberg.net/developers/
1.2 在线文档
老的:
steinbergmedia.github.io/vst3_doc
新的:
https://developer.steinberg.help/display/VST
1.3 大致步骤(Mac为例)
1.3.1 下载from github
git clone --recursive https://github.com/steinbergmedia/vst3sdk.git
1.3.2 安装xcode
下载安装Xcode。https://developer.apple.com/xcode/
1.3.3 安装cmake
下载安装cmake。https://cmake.org/download/
1.3.4 build examples
mkdir build
cd build
cmake -GXcode ../
xcodebuild
1.4 遇到的问题
使用cmake build过程中报错。
CMake Error at CMakeLists.txt:8 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:8 (project):
No CMAKE_CXX_COMPILER could be found.
解决方式,在CMakeLists.txt中添加
cmake_minimum_required(VERSION 3.14.0)
//在版本号下面添加
set(CMAKE_C_COMPILER "gcc")
set(CMAKE_CXX_COMPILER "g++")