-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
interpret not returning AudioProcessorEditor pointer #162
Comments
Looks like I need to define |
Is there not a way to automatically detect if we're in a plugin project with JUCE? |
Ahh appologies - I thought I'd written that somewhere! Glad you found the solution though
We could maybe default |
Looks like JUCE does define a whole bunch of macros (in CMake at least - I assume Projucer sets the same ones): So we could do something like #ifndef JIVE_IS_PLUGIN_PROJECT
#ifdef JucePlugin_PluginCode
#define JIVE_IS_PLUGIN_PROJECT 1
#endif
#endif |
I think that makes sense, although I would probably just check the |
I have the following code:
The dynamic cast fails; the type seems to be GuiItem only.
The text was updated successfully, but these errors were encountered: