error: undefined reference to 'std::atomic_thread_fence(std::memory_order)'

Issue #114 duplicate
Iwan Gabovitch created an issue

Hi,

When compiling git HEAD on win8.1 with ndk r10d, I gett this error:

jni/love/src/common/Object.cpp:56: error: undefined reference to 'std::atomic_thread_fence(std::memory_order)'

Comments (2)

  1. Former user Account Deleted

    To fix this add -latomic to the APP_LDFLAGS line in love-android-sdl2/jni/Appication.mk

  2. Log in to comment