【发布时间】:2012-12-11 18:13:14
【问题描述】:
这个问题延续到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
提前致谢。
【问题讨论】:
-
从技术上讲,您需要对这些平台的官方支持,而不是 ports。
-
对于智能手机应用程序开发来说是否可取的提升?
-
FWIW,我成功地为 iOS 和 Android 构建了我的应用程序(它非常广泛地使用了 boost)。我认为缺乏“官方”支持的主要原因是没有人自愿为这些平台运行发布测试。
-
...至于“产生多线程通信的网络密集型应用程序”——您可以使用 Boost.Asio 并从“多线程”及其所有混乱和开销切换到更好的 Asio 主动模型。
-
Hi Igor R.--> 我想我们需要 boost_filesytem.a 用于 Boost.Asio,但我无法使用 codexperiments.com/android/2011/05/… 中提供的方法获得相同的结果。你能告诉我你是如何编译它的程序吗?
标签: android ios boost android-ndk boost-asio