I have an older project that is still using juce 3 that I haven’t had time to upgrade yet. I’m seeing the following error:
2016-11-16 07:52:57.488455 Plugin Host[1477:50003] dynamic_cast error 1: Both of the following type_infos should have public visibility. At least one of them is hidden. N4juce8TypefaceE, N4juce11OSXTypefaceE.
2016-11-16 07:53:34.784768 Plugin Host[1477:50003] dynamic_cast error 2: One or more of the following type_infos has hidden visibility. They should all have public visibility. N4juce9ComponentE, N4juce9PopupMenu13HelperClasses10MenuWindowE, N4juce15ResizableWindowE.
Anybody know what this means and if it’s worth worrying about?
2017-01-31 02:00:31.348396 Plugin Host[23257:7776575] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N4juce8TypefaceE, N4juce11OSXTypefaceE.
2017-01-31 02:00:31.349850 Plugin Host[23257:7776575] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N4juce8TypefaceE, N4juce11OSXTypefaceE.
2017-01-31 02:00:31.350219 Plugin Host[23257:7776575] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N4juce8TypefaceE, N4juce11OSXTypefaceE.
This usually comes up when a plug-in throws some kind of Obj-C or C++ exception. I don’t think it’s actually related to OSX type faces. But I’m not entirely sure. Are you seeing this during scanning or plug-in instantiation/deletion?
Turns out I was incorrectly associating this error with the undesired behavior I was experiencing at the time (I’m new to JUCE). When I open the UI in the Plugin Host app, the error is displayed.
I don’t think this error is going to affect me learning how to create plugins for the time being, so I’m not concerned with resolving it .
So here it is, 2 years later, and the same issue still exists. I’m using JUCE 5.4.4, on Mac OSX 10.14.6, Xcode 10, and everytime I launch my plugin with the AudioPluginHost attached to it, I get a whole string of these kinds of errors in the debugger:
2019-10-18 10:31:40.903033-0700 AudioPluginHost[36192:3492024] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N4juce9ComponentE, N4juce9PopupMenu13HelperClasses13ItemComponentE.
2019-10-18 10:31:45.619021-0700 AudioPluginHost[36192:3492024] dynamic_cast error 2: One or more of the following type_info's has hidden visibility. They should all have public visibility. N4juce9ComponentE, N4juce9PopupMenu13HelperClasses13ItemComponentE, N4juce20AudioProcessorEditorE.
2019-10-18 10:31:46.613419-0700 AudioPluginHost[36192:3492024] dynamic_cast error 2: One or more of the following type_info's has hidden visibility. They should all have public visibility. N4juce9ComponentE, N4juce9PopupMenu13HelperClasses13ItemComponentE, N4juce20AudioProcessorEditorE.
2019-10-18 10:31:48.563202-0700 AudioPluginHost[36192:3492024] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N4juce9ComponentE, N4juce9PopupMenu13HelperClasses13ItemComponentE.
Isn’t this some sort of an issue that should be addressed?
Hello. I get a similar error in the console when trying out the TutorialPlugin example. I also made an audioversion (balance control) upon this tutorial example and get the same console error when changing slider value.
I’m on Sierra using XCode9 so it might be resolved in later versions. The plugin opens and works as espected in Logic.
Error:
dynamic_cast error 1: Both of the following type_info’s should have public visibility. At least one of them is hidden. N4juce14ImagePixelDataE, N4juce17CoreGraphicsImageE.
dynamic_cast error 2: One or more of the following type_info's has hidden visibility. They should all have public visibility. N4juce8TypefaceE, N4juce14CustomTypefaceE, N4juce11OSXTypefaceE