



Hi,
After eventually getting Cmake to run on my computer (mac). I tried to build the vst3_sdk sample plugins and followed your video:
However, when my cmake finishes building, it does not generate an XCode project at all. It does generate some different files to the ones I see in your build folder (4:40 in your video).
I have: base, CMakeFiles, public,sdk and vstgui4 the same as you, but I dont have a CMakeScripts file
I also have the following folders (which you dont have): bin, lib, VST3 and pluginterfaces
Furthermore I also have a few files: cmake_install.cmake, compile_commands.json and Makefile
Â
Have I missed something vital? Why have I not got an XCode file?
(I have looked in all the folders and there are some .vst3 files in teh VST3 folder but I cant find the xcode file anywhere)
I am fairly new to command line building and developing on a mac, however I have used C++ before and develop apps in android studio using java.
Thanks
Mark


I have used the upper case -G.
The exact input can be seen in the command line set below (the line is in bold):
Â
Last login: Thu Mar 12 10:41:32 on ttys000
markburrell@Marks-iMac ~ % cd documents
markburrell@Marks-iMac documents % cd audio_plugins
markburrell@Marks-iMac audio_plugins % cd core_files
markburrell@Marks-iMac core_files % cd vst_sdk
markburrell@Marks-iMac vst_sdk % cd cst3_sdk
cd: no such file or directory: cst3_sdk
markburrell@Marks-iMac vst_sdk % cd vst3_sdk
markburrell@Marks-iMac vst3_sdk % cd build
markburrell@Marks-iMac build % cmake - GXcode ../
-- Building with Xcode version: 11.3.1
-- macOS Deployment Target: 10.10
-- SMTG_PLUGIN_TARGET_PATH is set to : /Users/markburrell/Library/Audio/Plug-ins/VST3
-- SMTG_MYPLUGINS_SRC_PATH is set to : /Users/markburrell/documents/Audio_Plugins/Core_Files/VST_SDK/VST3_SDK/../my_plugins
-- The C compiler identification is AppleClang 11.0.0.11000033
-- The CXX compiler identification is AppleClang 11.0.0.11000033
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found EXPAT: /usr/lib/libexpat.dylib (found version "2.2.6")
-- VSTGUI_ROOT is set to : /Users/markburrell/documents/Audio_Plugins/Core_Files/VST_SDK/VST3_SDK
-- SMTG_AAX_SDK_PATH is not set. If you need it, please download the AAX SDK!
* To enable building the AUv3 Wrapper example for iOS you need to set the SMTG_IOS_DEVELOPMENT_TEAM and use the Xcode generator
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/markburrell/documents/Audio_Plugins/Core_Files/VST_SDK/VST3_SDK/build
markburrell@Marks-iMac build %
Â
I have tried deleting the files and rebuilding, but get the same each time
Â
Mark
Â
Â
Hmm - OK that is weird. This is what it I am getting (and we are on identical XCode and MacOS target versions):
Wills-MBP:build willpirkle$ cmake -GXcode ../
-- Building with Xcode version: 11.3.1
-- macOS Deployment Target: 10.10
-- SMTG_PLUGIN_TARGET_PATH is set to : /Users/willpirkle/Library/Audio/Plug-ins/VST3
-- SMTG_MYPLUGINS_SRC_PATH is set to : /Users/willpirkle/Documents/ALL_SDK/VST_SDK/VST3_SDK/../my_plugins
-- The C compiler identification is AppleClang 11.0.0.11000033
-- The CXX compiler identification is AppleClang 11.0.0.11000033
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found EXPAT: /usr/lib/libexpat.dylib (found version "2.2.6")
-- VSTGUI_ROOT is set to : /Users/willpirkle/Documents/ALL_SDK/VST_SDK/VST3_SDK
-- SMTG_COREAUDIO_SDK_PATH is not set. If you need it, please download the COREAUDIO SDK!
-- SMTG_AAX_SDK_PATH is not set. If you need it, please download the AAX SDK!
* To enable building the AUv3 Wrapper example for iOS you need to set the SMTG_IOS_DEVELOPMENT_TEAM and use the Xcode generator
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/willpirkle/Documents/ALL_SDK/VST_SDK/VST3_SDK/build
-------------------------------------------------------------------------------------------------------
Afterwards, my /build folder looks like this:
Â
The .xcodeproj file is there along with the others. I am wondering if you have the .xcodeproj extension hidden? Or you are hiding those files (a la Windows)?
Otherwise, you should have the same output as I do above. If you are still having issues, you might want to try the VST3 Dev Forum here:
https://sdk.steinberg.net/viewforum.php?f=4
The only time I've see incomplete CMake runs is with the lower case "g."
- WillÂ
Most Users Ever Online: 152
Currently Online:
5 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Chaes: 56
Skyler: 48
StevieD: 46
Derek: 46
Frodson: 45
Peter: 43
TheSmile: 43
Nickolai: 43
clau_ste: 39
jeanlecode: 37
Member Stats:
Guest Posters: 1
Members: 768
Moderators: 1
Admins: 6
Forum Stats:
Groups: 13
Forums: 42
Topics: 842
Posts: 3347
Moderators: W Pirkle: 689