Closed dathinaios closed 1 year ago
Have you used the "Xcode" generator in the cmake call?
cmake -B build -G Xcode -DCLAP_WRAPPER_OUTPUT_NAME=True_Grain
?
No I wasn't using that command, thank you. Tried it with out and it build succesfully but it didn't produce a vst at all this time. It created these files:
Now you can open the xcodeproj file in Xcode and debug and build the vst3.
I tried but I am not familiar with Xcode. No worries I will investigate. Thanks for the help š
I am trying again to build this. I build from command line with:
cmake -B build -G Xcode -DCLAP_WRAPPER_OUTPUT_NAME=Plugin_Name
I get an XCode project but when I build it (ALL_BUILD) I get error:
vstparameters.h
-> Missing field 'title' initializer
--> in file included from /Users/dathin/develop/Rust/clap-wrapper/src/detail/vst3/parameter.cpp:1:
--> in file included from /Users/dathin/develop/Rust/clap-wrapper/src/detail/vst3/parameter.h: 27:
Would be grateful for any pointers of how to resolve this. Thanks!
Which VST3 SDK are you using?
vstparameters.h
is a file from the VST3 SDK.
You might also remove the build folder and run cmake again.
I am using the SDK from here. I just cloned the repo and pointed the wrapper to it. Tried to remove the build folder but the issue persists.
EDIT: Ok, I got the SDK from https://www.steinberg.net/developers/ instead and now I get a different error about conde signing so hopefully I am on the right track.. š
I think this is something in the VST3 SDK - check out the version 3.7.9, this is the one I am building with. I can also check out newer builds, but not today.
Thank you for your answer. Managed to get it working for vst3 š„³ Now going for au. Thanks for the help!
What was the solution?
I just used the SDK from here instead and did everything from the start and it worked. Then in XCode I was getting a code signing error so had to go to the build settings and make the field for Code Signing Identity contain nothing.
Just for reference in case anyone else ends up here, I then moved to build for AU which wasn't obvious how to do. After investigating I found out I had to set -DCLAP_WRAPPER_BUILD_AUV2=ON
'(full command for build was cmake -B build -G Xcode -DCLAP_WRAPPER_OUTPUT_NAME=Plugin_Name -DCLAP_WRAPPER_BUILD_AUV2=ON
).
I am still having code signing issues and the trick I mentioned above is not working with error An empty identity is not valid when signing a binary for the product type 'Command-line Tool'.
for the True Grain as auv2-build-helper
so I will check again tomorrow.
Hello,
First of all thank you for making this š
I am trying to build on the Mac but the resulting plugin when scanned in a DAW produces an error:
Makes sense since looking inside the VST3 package it appears to be empty:
The output from
cmake -B build -DCLAP_WRAPPER_OUTPUT_NAME=True_Grain
is: