MATLAB Answers

Audio Plugin in Juce error

18 views (last 30 days)
Hi, I´ve been trying to build in Juce a Matalab audio plugin (in this example is "Chorus"), but I couldn´t. Consistently I have an errors (attached) that avoid compilation success. These errors appear both in Juce and in Visual 2017.
I´m not even sure if it is a matter of Juce / Matlab configuration (default Juce Hello Word compile without any isue). In the Matlab audiotool folder theres is a folder called "plugin" where there is a .exe projucer version supported (5.3.2) but without .h files. So, what is suppoused to do with this? Download the latest Juce version from the web but use the .exe included in the plugin folder?
On the other hand I haven´t found any documentation outlining the process.
I really appretiate any hint.
Thanks
ps: Config is : Juce 5.3.2 - VS 15 2017 - Matlab R2019b - Matlab Coder 4.3

  0 Comments

Sign in to comment.

Accepted Answer

Charlie DeVane
Charlie DeVane on 28 Nov 2019
Hi Pablo,
The error messages suggest you are using a later version of JUCE than 5.3.2. Do you have another version installed that you might be picking up accidentally?
Unzip it, build Projucer as appropriate for your JUCE license, and then use this Projucer to open the .jucer file produced by MATLAB.
Use the Projucer that you build from the JUCE sources. Do not use the .exe you found in the audio folder, which is not designed or supported for you to use directly.
Hope this helps,
Charlie

  2 Comments

Pablo Panitta
Pablo Panitta on 1 Dec 2019
Hi Charlie
Thanks for your valuable advice! It worked out. However there are still some error messages in Juce & VS (attached). I´d appretiate a lot if you can give me hint about those ones and how to solve them.
Br
Pablo
Charlie DeVane
Charlie DeVane on 1 Dec 2019
Hi Pablo,
Glad it helped.
VS error: In my experience, errors like this usually mean I have an old version of the plugin open in a DAW when I try to rebuild it. Closing the DAW before you build should unlock the plugin DLL so the build process can overwrite it. It also ensures that when you restart the DAW you'll be running the new plugin version.
JUCE error: I don't have much experience with JUCE's live build engine. This forum post might be helpful: https://forum.juce.com/t/stl1000-unexpected-compiler-version-expected-clang-7-or-newer/30706
hth,
Charlie

Sign in to comment.

More Answers (0)

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!