No GUI when compiling VSTSDK examples/helloworld

DSP, Plug-in and Host development discussion.
arrayofthings
KVRer
6 posts since 16 Feb, 2020

Post Tue May 19, 2020 7:46 pm

I used cmake-gui to build the SDK, and then built the vstsdk.sln inside Visual Studio 2017. Afterwards I went to helloworld.vcxproj and compiled that as well. Copied all the resultant VST3 files into my DAW VST folder, and lo and behold...
I have searched far and beyond and this issue was not documented anywhere. Any help is appreciated :)
Annotation 2020-05-19 204305.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
Markus Krause
KVRist
449 posts since 2 Jul, 2018

Re: No GUI when compiling VSTSDK examples/helloworld

Post Wed May 20, 2020 12:45 am

The VST3 SDK is a mess. It is bloated and comes with a single example-project that contains a large number of useless examples. But just one with a GUI. And none with a GUI and VST 2.4 support.
cmake is a pain.
documentation is poor.
Anything above 3.6.11 does not longer have VST2 support.
v3.6.10 (the final version with VST 2.4 support) did not compile on my system.
v3.6.9 did compile with visual studio express, but not with Vistual Studio 2010 professional. However the example with GUI crashes several hosts if you load the vst2 plugin.
:?
Tone2 Audiosoftware https://www.tone2.com

arrayofthings
KVRer
6 posts since 16 Feb, 2020

Re: No GUI when compiling VSTSDK examples/helloworld

Post Wed May 20, 2020 5:05 pm

now that the vst2 sdk is gone officially, is there any other place I can get the old sdk?

User avatar
syntonica
KVRian
576 posts since 25 Sep, 2014 from Specific Northwest

Re: No GUI when compiling VSTSDK examples/helloworld

Post Wed May 20, 2020 6:25 pm

Wha? I just downloaded the latest VST 3 SDK (3.6.14) a couple days ago because I'm steeling myself to tackle using it to enjoy the free AU/VST 2 versions that are magically spat out via wrappers. The download came with the VST 2 files in the VST SDK 2 folder, along with many examples, such as the mda plugins.

User avatar
Markus Krause
KVRist
449 posts since 2 Jul, 2018

Re: No GUI when compiling VSTSDK examples/helloworld

Post Fri May 22, 2020 4:10 am

Although the VST SDK 3.6.14 contains a few VST 2.x files it does not spit out any working VST 2.4 example. I tried to trick it to do this for several hours.
I was able to compile the again.vst3 with VST 2.4 support, then renamed it to again.dll, but it crashes in all tested hosts.
The last working version with VST 2.4 was 3.6.9. The VST SDK 3.6.10 is broken. Don't wase your time with it.
3.6.9 causes a few compiler errors with Visual Studio 2019 and needs some tweaks to work. And the VST 2.4 example crashes Orion, but works in other hosts.
Tone2 Audiosoftware https://www.tone2.com

User avatar
Markus Krause
KVRist
449 posts since 2 Jul, 2018

Re: No GUI when compiling VSTSDK examples/helloworld

Post Fri May 22, 2020 4:13 am

And i was able to reproduce the "No GUI when compiling VSTSDK examples/helloworld" problem. You get this when you change the build location of the target. Check out the target location for read/write permission problems and if the png files in the resources are missing.
If you leave to default location for the build and copy the .vst3 file manually the problem does not occur.
Tone2 Audiosoftware https://www.tone2.com

User avatar
syntonica
KVRian
576 posts since 25 Sep, 2014 from Specific Northwest

Re: No GUI when compiling VSTSDK examples/helloworld

Post Sun May 24, 2020 3:24 pm

Markus Krause wrote:
Fri May 22, 2020 4:10 am
Although the VST SDK 3.6.14 contains a few VST 2.x files it does not spit out any working VST 2.4 example. I tried to trick it to do this for several hours.
I was able to compile the again.vst3 with VST 2.4 support, then renamed it to again.dll, but it crashes in all tested hosts.
The last working version with VST 2.4 was 3.6.9. The VST SDK 3.6.10 is broken. Don't wase your time with it.
3.6.9 causes a few compiler errors with Visual Studio 2019 and needs some tweaks to work. And the VST 2.4 example crashes Orion, but works in other hosts.
Thanks Markus. I guess I'll find out once I get into it. I wish it was actually on Github so one could see the changes made. Have you done a diff on the wrapper files?

User avatar
Markus Krause
KVRist
449 posts since 2 Jul, 2018

Re: No GUI when compiling VSTSDK examples/helloworld

Post Mon May 25, 2020 12:11 am

I copied the missing files from 3.6.9 to 3.6.14 manually and added some include paths to make it compile. Haven't checked the details why it crashes so far. Could be some entry-point problem.
Tone2 Audiosoftware https://www.tone2.com

Return to “DSP and Plug-in Development”