My ofApp.h includes:
public:
ofTrueTypeFont myFont;
My ofApp.cpp includes:
void ofApp::setup(){
ofTtfSettings settings("font.ttf", 40);
settings.antialiased = true;
settings.ranges = {
ofUnicode::Latin1Supplement
};
myFont.load(settings);
Error message is as follows:
/home/pi/openFrameworks/apps/myApps/emptyExample/src/ofApp.cpp: In member function ‘virtual void ofApp::setup()’:
/home/pi/openFrameworks/apps/myApps/emptyExample/src/ofApp.cpp:12:2: error: ‘ofTtfSettings’ was not declared in this scope
ofTtfSettings settings("font.ttf", 40);
^
/home/pi/openFrameworks/apps/myApps/emptyExample/src/ofApp.cpp:13:2: error: ‘settings’ was not declared in this scope
settings.antialiased = true;
^
/home/pi/openFrameworks/apps/myApps/emptyExample/src/ofApp.cpp:15:3: error: ‘ofUnicode’ has not been declared
ofUnicode::Latin1Supplement
^
/home/pi/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:199: recipe for target 'obj/linuxarmv6l/Release/src/ofApp.o' failed
make[1]: *** [obj/linuxarmv6l/Release/src/ofApp.o] Error 1