Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Text on 0.9.0 release

$
0
0

Hi there!
Thanks @arturo for implementing this! I'm having an issue to get it to work on windows at the moment tho.
Using Visual studio community 2015 with the feature-ttfUTF8 branch i'm getting a series of this type of error on all "static constexpr" :

Error C4579 'ofAlphabet::Arabic': in-class initialization for type 'const std::initializer_list' is not yet implemented; static member will remain uninitialized at runtime but use in constant-expressions is supported (compiling source file ......\openFrameworks\app\ofAppRunner.cpp) openframeworksLib C:\MEDIA\DEV\of-arturoc\openFrameworks\libs\openFrameworks\graphics\ofTrueTypeFont.h 145

static constexpr std::initializer_list<ofUnicode::range> Arabic {
	ofUnicode::Space,
	ofUnicode::Arabic,
	ofUnicode::ArabicExtendedA,
	ofUnicode::ArabicMath,
	ofUnicode::ArabicPresFormsA,
	ofUnicode::ArabicPresFormsB
};

and a series of those:

Severity Code Description Project File Line
Error C2131 expression did not evaluate to a constant (compiling source file src\ofApp.cpp) fontsExample C:\MEDIA\DEV\of-arturoc\openFrameworks\libs\openFrameworks\graphics\ofTrueTypeFont.h 164

static constexpr std::initializer_list<ofUnicode::range> Cyrillic {
		ofUnicode::Space,
		ofUnicode::Cyrillic
	};

I've installed VS update1 (https://www.visualstudio.com/en-us/news/vs2015-update1-vs.aspx) thinking it might have been a compiler bug, but i still get the message.

Do the projects need to be created in different way as in 0.9.0 + projectGenerator ?


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>