为 Windows Embedded Compact 7 编译 boost 库
我正在为带有运行 Windows Embedded Compact 7 的 NVIDIA Tegra 2 的嵌入式设备进行编程。我的开发环境是 Microsoft Visual Studio 2008。boost 库,尤其是 boost-asio 包似乎对我的需求非常有帮助。不幸的是,我无法找到有关如何在 Windows Embedded Compact 7 上运行 boost 的良好指南。我更喜欢获取可以静态链接到我的应用程序中的 .lib
文件。
I'm programming for an embedded device with a NVIDIA Tegra 2 running Windows Embedded Compact 7. My development environment is Microsoft Visual Studio 2008. The boost library and especially the boost-asio package seems to be very helpfull for my needs. Unfortunately I was not able to find a good guide on how to get boost running on Windows Embedded Compact 7. I'd prefere to get .lib
files which I can link statically into my application.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
关于此过程的文档似乎很少,因为它需要对构建过程进行重大更新才能使用 Windows CE。有关此问题的最全面的教程似乎是此处。
由于您明确标记了这个
boost-asio
,我还专门研究了 Boost 的该组件。 这是 Boost 邮件列表中的一个主题,介绍了这个库详细信息,包括您可能遇到的潜在失败案例,JAM 文件修改, 和 一个帮助您构建的批处理文件。*对于阅读本文的人:请在您开始工作后分享您的经验。尽管存在各种担忧,Boost 对于嵌入式应用程序来说内存消耗太大, Boost 提供了使用单独的包来满足您的需求的能力。我预计 SO 上的其他用户会对您实现此功能的体验非常感兴趣。
* 因为人们一直在表达 Nabble 链接过期时引用的批处理文件消失的问题,所以这里有一个供后代使用的粘贴转储:
It appears that the documentation on this process is sparse, because it requires non-trivial updates to the build process to get working with Windows CE. The most comprehensive tutorial to this problem appears to be here.
Since you explicitly tagged this
boost-asio
, I also looked into that component of Boost specifically. Here's a thread from the Boost mailing list that covers this library in detail, including potential failure cases you may experience, JAM file modifications, and a batch file to help you with the build.*For those reading this: please share your experiences once you get this working. Despite various concerns that Boost is too memory-heavy for embedded applications, Boost provides the ability to use separate packages to meet your needs. I expect other users on SO will be very interested in your experiences getting this working.
* Because people have been expressing problems with the referenced batch file disappearing when Nabble links expire, here's a pastedump for posterity: