NDK r9c - does not support std::future

pree

I have the below source code using std::future.

#include<future>
std::future<int> A;

However, when I try to compile it with NDK_TOOLCHAIN_VERSION := 4.8 in Application.mk file, it throws the error "std::future A" has incomplete type etc."

I tried looking up for future.h within the android-ndk-r9c folder, however, I couldn't find it. Does anyone know if NDK supports std::future at all? If so, which version has this support?

pree

As mentioned in one of my above comments, I'm able to compile it by specifying armeabi-v7a as target instead of armeabi.

NDK_TOOLCHAIN_VERSION := 4.8
APP_STL := gnustl_static
APP_ABI :=armeabi-v7a

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

NDK r9c - does not support std::future

From Dev

Is there a legacy toolchain for Android NDK r9c?

From Dev

Does the Android NDK support locales?

From Dev

Does the nexus player support NDK?

From Dev

Does/Will Google support NDK C++ crashes in Firebase Crash Reporting?

From Dev

Android ndk std::to_string support

From Dev

Android NDK and functional (std::function) support

From Dev

Android ndk std::to_string support

From Dev

Android NDK and functional (std::function) support

From Dev

How to compile ffmpeg-2.2.2 on windows with cygwin and android ndk r9c

From Dev

How to compile ffmpeg-2.2.2 on windows with cygwin and android ndk r9c

From Dev

does android NDK support socket epoll mode?

From Dev

Does std::future wait on destruction

From Dev

std::list<std::future> destructor does not block

From Dev

When does std::future get executed?

From Dev

ERROR! It looks like your version of the NDK does not support API level

From Dev

Why does C++20 std::condition_variable not support std::stop_token?

From Dev

Why does C++20 std::condition_variable not support std::stop_token?

From Dev

Does std::function support a custom allocator?

From Dev

Does std::regex support "(?i)" for case insensitivity?

From Dev

Why does std::ratio not support comparison operators?

From Java

Does clang++ 12 support C++20 std::construct_at?

From Dev

std::future as a parameter to a function C++

From Dev

Is std::function supported in the NDK?

From Dev

Setting up C++11 (std::thread) for NDK with ADT/Eclipse

From Dev

Setting up C++11 (std::thread) for NDK with ADT/Eclipse

From Dev

Android NDK and Newer API Support

From Dev

NDK support with different Product Flavour

From Dev

Android NDK and Newer API Support

Related Related

  1. 1

    NDK r9c - does not support std::future

  2. 2

    Is there a legacy toolchain for Android NDK r9c?

  3. 3

    Does the Android NDK support locales?

  4. 4

    Does the nexus player support NDK?

  5. 5

    Does/Will Google support NDK C++ crashes in Firebase Crash Reporting?

  6. 6

    Android ndk std::to_string support

  7. 7

    Android NDK and functional (std::function) support

  8. 8

    Android ndk std::to_string support

  9. 9

    Android NDK and functional (std::function) support

  10. 10

    How to compile ffmpeg-2.2.2 on windows with cygwin and android ndk r9c

  11. 11

    How to compile ffmpeg-2.2.2 on windows with cygwin and android ndk r9c

  12. 12

    does android NDK support socket epoll mode?

  13. 13

    Does std::future wait on destruction

  14. 14

    std::list<std::future> destructor does not block

  15. 15

    When does std::future get executed?

  16. 16

    ERROR! It looks like your version of the NDK does not support API level

  17. 17

    Why does C++20 std::condition_variable not support std::stop_token?

  18. 18

    Why does C++20 std::condition_variable not support std::stop_token?

  19. 19

    Does std::function support a custom allocator?

  20. 20

    Does std::regex support "(?i)" for case insensitivity?

  21. 21

    Why does std::ratio not support comparison operators?

  22. 22

    Does clang++ 12 support C++20 std::construct_at?

  23. 23

    std::future as a parameter to a function C++

  24. 24

    Is std::function supported in the NDK?

  25. 25

    Setting up C++11 (std::thread) for NDK with ADT/Eclipse

  26. 26

    Setting up C++11 (std::thread) for NDK with ADT/Eclipse

  27. 27

    Android NDK and Newer API Support

  28. 28

    NDK support with different Product Flavour

  29. 29

    Android NDK and Newer API Support

HotTag

Archive