Error opening example files

Did you find this post?

TL;DR:

  • in the Projucer/cmake add the foleys_gui_magic module
  • nuke the PluginEditor.h and PluginEditor.cpp, and remove the #include "PluginEditor.h" from PluginProcessor.cpp
  • In your PluginProcessor.h change the base class juce::AudioProcessor to foleys::MagicProcessor
  • get rid of the methods hasEditor and createEditor from header and source
  • unless you want to implement them yourself, get rid of getStateInformation and setStateInformation from header and source
  • in the constructor of your processor add this line to the body: FOLEYS_SET_SOURCE_PATH (__FILE__);

That should be all what’s necessary.

N.B. I just pushed a new release, a few obstacles are fixed now

Let me know if that works.

1 Like