I’ve successfully followed some advice for using CMake to make a JUCE dynamic linked library.
Now I want to use JUCE functions in another project by linking against a JUCE lib. I think it’s necessary to set
JUCE_DLL_BUILD=1 to export the functions and get a lib file too.
So I tried adding this line to CMakeLists.txt
However, now when building the solution I get a single error:
Error C2247 'juce::Thread::operator delete' not accessible because 'juce::dsp::BackgroundMessageQueue' uses 'private' to inherit from 'juce::Thread'
Any advice on how to proceed? Thank you.
Seems foolish but if I change that line to
class BackgroundMessageQueue : public Thread
I can get a .lib