steinbergmedia / vst3sdk

VST 3 Plug-In SDK
Other
1.63k stars 162 forks source link

Unable to create solution on Windows #18

Closed blackears closed 6 years ago

blackears commented 6 years ago

I'm trying to build your project for the first time. I cloned the repository and was following the instructions on the main page. I created a build directory and tried to build the project using cmake ../vst3sdk. The project failed to build and produced a long error report. How do I build this?

Here's my log: CMakeOutput.log

D:\dev\github.com\build>cmake.exe -G"Visual Studio 15 2017 Win64" ../vst3sdk
CMake Error at CMakeLists.txt:10 (include):
  include could not find load file:

    Global

CMake Error at CMakeLists.txt:11 (include):
  include could not find load file:

    AddVST3Library

CMake Error at CMakeLists.txt:12 (include):
  include could not find load file:

    Bundle

CMake Error at CMakeLists.txt:13 (include):
  include could not find load file:

    ExportedSymbols

CMake Error at CMakeLists.txt:14 (include):
  include could not find load file:

    PrefixHeader

CMake Error at CMakeLists.txt:15 (include):
  include could not find load file:

    PlatformIOS

CMake Error at CMakeLists.txt:16 (include):
  include could not find load file:

    PlatformToolset

CMake Error at CMakeLists.txt:17 (include):
  include could not find load file:

    CoreAudioSupport

CMake Error at CMakeLists.txt:18 (include):
  include could not find load file:

    AAXSupport

CMake Error at CMakeLists.txt:19 (include):
  include could not find load file:

    VstGuiSupport

CMake Error at CMakeLists.txt:20 (include):
  include could not find load file:

    UniversalBinary

CMake Error at CMakeLists.txt:21 (include):
  include could not find load file:

    AddVST3Options

-- The C compiler identification is MSVC 19.14.26430.0
-- The CXX compiler identification is MSVC 19.14.26430.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:28 (setupPlatformToolset):
  Unknown CMake command "setupPlatformToolset".

-- Configuring incomplete, errors occurred!
See also "D:/dev/github.com/build/CMakeFiles/CMakeOutput.log".
blackears commented 6 years ago

Nevermind. When I cloned the repo, I left out the --recursive flag and much of the code was omitted. After putting that in, I was able to complete this step.