Build errors with audio plugin

Hi!

I’m trying to build a simple empty audio plugin but I get build errors.

I enabled VST and VST 3 plugin hosts but nothing works.

Can someone help?

Thanks!

The errors listing

Couple of issues :

  • You shouldn’t as a new developer try to use VST2 anymore either for plugins or hosts, Steinberg no longer allows that and Juce doesn’t ship with the needed VST2 header files anyway
  • You are trying to enable plugin hosting formats in the Projucer, not plugin formats for building your plugin

The correct place in the Projucer to enable building plugin formats :

Be sure to not enable the VST (Legacy), meaning VST2, option as the header files to build those are not available in Juce itself and you can’t get a license from Steinberg to do those anymore anyway. Also disable the plugin hosting options, as I would assume you are not actually trying to host plugins.

Disabled all “hosting” options.

Now I get this:

You may be mixing plugin and standalone application code, which you should not do. What kind of example code are you looking at…?

Here’s my settings


Your project is a Juce audio application, which is wrong if you are trying to do an audio plugin. You should start over and choose the “Plug-in Basic” project template instead.

Ok, thanks for your kind help!