这个问题是 Should I choose Boost Asio or Aysnc Socket threads in Android? 的延续。问,
Boost 库旨在广泛使用,并可用于各种应用程序,但目前还没有针对 Android 和 iOS 的官方支持
- 类似的背后有什么具体原因没有优化 嵌入式设备?还是其他原因?
- 是否有人知道在 Android 或 iOS 上使用 Boost 构建的任何应用程序?
- 对于产生多个通信线程的网络密集型应用程序,是否建议使用 boost 库?
仅供引用..我一直在使用以下链接创建示例 Android 应用程序,但尚未成功:(
https://github.com/MysticTreeGames/Boost-for-Android
http://www.codexperiments.com/android/2011/05/tips-tricks-building-boost-with-ndk-r5/
Include Boost C++ library in android
How to use the boost library (including shared_ptr) with the Android NDK and STLport
https://sites.google.com/site/fourdollars/android/android-mk
https://groups.google.com/forum/?fromgroups=#!topic/android-ndk/4lxhsKFe7Ho
http://www.crystax.net/trac/ndk/ticket/6
Android NDK R5 and support of C++ exception
提前致谢。
最佳答案
得到了 boost 社区的回复 是的。这些平台不受官方支持,因为没有人支持 自愿为他们定期进行回归测试。
Boost 开发人员不可能在所有平台上进行测试。所以 开发人员依赖于运行的回归测试的测试结果 志愿者。例如,参见 http://beta.boost.org/development/tests/trunk/developer/summary.html
如果没有人自愿为特定平台运行测试,那 平台不受官方支持。
因此,如果您关心 Android 或 iOS 获得官方支持, 开始为 Boost 运行定期(最好是每天)回归测试。 见 http://beta.boost.org/development/running_regression_tests.html
关于android - 官方 "Boost library"支持安卓和iOS?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14036311/