简体   繁体   English

在windows phone 8上提升asio

[英]Boost asio on windows phone 8

I have a problem while compiling boost asio on windows phone 8. Compiler can't search mswsock.h. 我在Windows Phone 8上编译boost asio时遇到问题。编译器无法搜索mswsock.h。 How can I fix this problem? 我该如何解决这个问题?

I suspect it can't be found because it's not there for Windows Phone. 我怀疑它无法找到,因为它不适用于Windows Phone。

To get it to compile you will have to remove any references to the APIs that aren't available for Windows Phone in the source code. 要使其编译,您必须删除源代码中对Windows Phone不可用的API的任何引用。

Only the Win32 APIs that are listed on MSDN here are supported on WP8. WP8仅支持MSDN上列出的Win32 API。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM