Latest C++11 features with Android NDK

前端 未结 6 558
慢半拍i
慢半拍i 2020-12-08 08:31

I am trying to use C++11 threading facilities with Android NDK, but not sure how to make it use the latest compilers.

I have Clang 3.2 and can build iOS apps. I wond

6条回答
  •  孤街浪徒
    2020-12-08 09:15

    Note that Android gcc support is now deprecated. You should now be using clang. Please read the version 11 release notes. You can specify:

    NDK_TOOLCHAIN_VERSION=clang
    

    To use the latest version based on your installed NDK. Also---as of this writing---the latest NDK (v12) is only accessable via Android Studio, and not through either the Downloads page or Standalone SDK Manager.

提交回复
热议问题