首页 > 解决方案 > 将字符串转换为 std::__ndk1 而不是使用 NDK r20b 编译 POCO 的 std::__1

问题描述

我正在使用 NDK-r20b 为 android 编译 poco,其中字符串转换std::__ndk1std::__1. 我的 android build aws 服务器要求它使用std::__1. 如果我可以用std::__1.

当前版本是:

0000000000000000 DF UND 0000000000000000 Poco::URI::URI(Poco::URI const&)
0000000000000000 DF UND 0000000000000000 Poco::URI::URI()
0000000000000000 DF UND 0000000000000000 Poco::URI::URI(std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > const&)

预期构建:

0000000000000000 DF UND 0000000000000000 Poco::URI::URI(Poco::URI const&)
0000000000000000 DF UND 0000000000000000 Poco::URI::URI()
0000000000000000 DF UND 0000000000000000 Poco::URI::URI(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)

如果我该如何实现它,任何人都可以帮忙吗?

标签: c++11cmakeandroid-ndkpocopoco-libraries

解决方案


推荐阅读