Closed mysteryDate closed 9 years ago
The library compiles fine for me on xcode and mac, but when using the visual studio compiler I get the error:
error C2864: 'ofxTrueTypeFontUC::Impl::librariesInitialized': only static const integral data members can be initialized within a class
On line 73 of ofxTrueTypeFontUC.cpp:
bool librariesInitialized = false;
If I remove the declaration:
bool librariesInitialized;
and add it at the top:
public: Impl(){librariesInitialized = false;}; ~Impl(){};
everything appears to work fine.
Thank you for letting me know. I've fixed it just now.
The library compiles fine for me on xcode and mac, but when using the visual studio compiler I get the error:
On line 73 of ofxTrueTypeFontUC.cpp:
If I remove the declaration:
and add it at the top:
everything appears to work fine.