OpenGLImage Linking Error

I just pulled the latest commit, and received a linking error. It looks like this was caused by a commit from a few days ago.

The linking error was because getSharedCount() was not defined for OpenGLFrameBufferImage.


I fixed this by defining getSharedCount on line 449 in juce_Image.h (instead of in juce_Image.cpp):

virtual int getSharedCount() const noexcept


        return getReferenceCount();


This is strange. Are you sure you are including the correct juce_Image.cpp? As it really shouldn't matter if the definition of getSharedCount is in the .cpp or the .h file - as long as one of them is compiled and linked into the executable in the end.