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

**URL:** <https://discourse.libcinder.org/t/solved-compiling-libcinder-for-android-platform-cpp-problem/1136>\
**Category:** Using Cinder\
**Created:** [April 22, 2018, 10:38pm UTC](https://discourse.libcinder.org/t/solved-compiling-libcinder-for-android-platform-cpp-problem/1136 "2018-04-22T22:38:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vincent\_rioux](https://avatars.discourse-cdn.com/v4/letter/v/bc79bd/32.png) [@vincent\_rioux](https://discourse.libcinder.org/u/vincent_rioux)\
**Post date:** [April 22, 2018, 10:38pm UTC](https://discourse.libcinder.org/t/solved-compiling-libcinder-for-android-platform-cpp-problem/1136/1 "2018-04-22T22:38:51Z")

</div>

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.
