Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Cmake Help
Avatar
markburrell
Member
Members
March 12, 2020 - 7:09 am
Member Since: March 12, 2020
Forum Posts: 4
sp_UserOfflineSmall Offline

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

Avatar
W Pirkle
Admin
March 13, 2020 - 9:54 am
Member Since: January 29, 2017
Forum Posts: 583
sp_UserOfflineSmall Offline

The CMake command line requires the exact tense for the "-G" -- it must be upper case. 

The lower case "-g" version creates a sub-set of the files. What case are you using?

Will

Avatar
markburrell
Member
Members
March 14, 2020 - 6:40 am
Member Since: March 12, 2020
Forum Posts: 4
sp_UserOfflineSmall Offline

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

 

 

Avatar
W Pirkle
Admin
March 16, 2020 - 10:16 am
Member Since: January 29, 2017
Forum Posts: 583
sp_UserOfflineSmall Offline

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:

Image Enlarger

 

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 

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 51

Skyler: 48

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

clau_ste: 39

jim: 36

JimmyM: 33

Gwen: 32

Member Stats:

Guest Posters: 1

Members: 704

Moderators: 1

Admins: 5

Forum Stats:

Groups: 13

Forums: 41

Topics: 764

Posts: 2922

Newest Members:

dubcat, Mickes, Nickolai, Sonder, jeanlecode, scjurgen, lance, Mistahbrock, Jas, Rowan

Moderators: W Pirkle: 583

Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 583, VariableCook: 3