[solved] Compiling libcinder for Android / Platform.cpp problem


#1

Last year, I managed to compile libcinder for Android devices, but now, I get this error

src/cinder/app/Platform.cpp:62:15: error: allocating an object of abstract class type ‘cinder::app::PlatformAndroid’
sInstance = new PlatformAndroid;

/include/cinder/app/Platform.h:133:15: note: unimplemented pure virtual method ‘setThreadName’ in ‘PlatformAndroid’
virtual void setThreadName( const std::string &name ) = 0;

adding
void setThreadName( const std::string &name ) override;
in PlafformAndroid.h seems to fix the pb.