You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error C3246 'jura::ColourizableBitmap': cannot inherit from 'juce::Image' as it has been declared as 'final'
(compiling source file ..\..\JuceLibraryCode\include_se_framework.cpp)
SeSALT_App F:\(MEDIA DRIVE)\_PROGRAMMING\RS-MET\Libraries\RobsJuceModules\jura_framework\gui\graphics\jura_ColourizableBitmap.h 11
Error C2440 'initializing': cannot convert from 'std::unique_ptr<juce::XmlElement,std::default_delete<juce::XmlElement>>' to 'juce::XmlElement *'
(compiling source file ..\..\JuceLibraryCode\include_jura_framework.cpp)
SeSALT_App F:\(MEDIA DRIVE)\_PROGRAMMING\RS-MET\Libraries\RobsJuceModules\jura_framework\tools\jura_XmlTools.cpp 12
how do you solve?
The text was updated successfully, but these errors were encountered:
have you updated juce? in the juce copy in my repo, there's a file JuceTweaks.txt where it says:
To make it work, i had to tweak/hack the juce library a bit:
-juce_Image.h: removed "final" declaration from class
this is because i need to inherit from juce::Image for my pixel fonts. they added that "final" declaration long after i inherited from juce::Image - so when i inherited from image, it still was "legal" to do so. so the quick and dirty fix was to just hack away this (new) final declaration.
how do you solve?
The text was updated successfully, but these errors were encountered: