gpt4 book ai didi

C++ boost asio 示例代码在 VS2013 express 上编译错误

转载 作者:太空宇宙 更新时间:2023-11-04 13:35:51 25 4
gpt4 key购买 nike

我正在尝试在 VS2013 Express 版本上运行 asio 1.57 tcp 服务器示例代码。我收到以下错误:

9   IntelliSense: identifier "BOOST_ASIO_OS_DEF_0" is undefined d:\project\lib\boost_1_57_0\boost\asio\ip\multicast.hpp 51  3   tcpserver
16 IntelliSense: identifier "BOOST_ASIO_OS_DEF_0" is undefined d:\project\lib\boost_1_57_0\boost\asio\ip\unicast.hpp 59 3 tcpserver
3 IntelliSense: identifier "BOOST_ASIO_OS_DEF_0x00000001" is undefined d:\project\lib\boost_1_57_0\boost\asio\ip\resolver_query_base.hpp 67 15 tcpserver
2 IntelliSense: identifier "BOOST_ASIO_OS_DEF_0x00000002" is undefined d:\project\lib\boost_1_57_0\boost\asio\ip\resolver_query_base.hpp 66 22 tcpserver
4 IntelliSense: identifier "BOOST_ASIO_OS_DEF_0x00000004" is undefined d:\project\lib\boost_1_57_0\boost\asio\ip\resolver_query_base.hpp 68 20 tcpserver
5 IntelliSense: identifier "BOOST_ASIO_OS_DEF_0x00000008" is undefined d:\project\lib\boost_1_57_0\boost\asio\ip\resolver_query_base.hpp 69 23 tcpserver
7 IntelliSense: identifier "BOOST_ASIO_OS_DEF_0x00000100" is undefined d:\project\lib\boost_1_57_0\boost\asio\ip\resolver_query_base.hpp 71 20 tcpserver
8 IntelliSense: identifier "BOOST_ASIO_OS_DEF_0x00000400" is undefined d:\project\lib\boost_1_57_0\boost\asio\ip\resolver_query_base.hpp 72 26 tcpserver
6 IntelliSense: identifier "BOOST_ASIO_OS_DEF_0x00000800" is undefined d:\project\lib\boost_1_57_0\boost\asio\ip\resolver_query_base.hpp 70 17 tcpserver
15 IntelliSense: identifier "BOOST_ASIO_OS_DEF_0x0001" is undefined d:\project\lib\boost_1_57_0\boost\asio\ip\tcp.hpp 126 37 tcpserver
13 IntelliSense: identifier "BOOST_ASIO_OS_DEF_10" is undefined d:\project\lib\boost_1_57_0\boost\asio\ip\multicast.hpp 144 3 tcpserver
14 IntelliSense: identifier "BOOST_ASIO_OS_DEF_11" is undefined d:\project\lib\boost_1_57_0\boost\asio\ip\multicast.hpp 181 3 tcpserver
10 IntelliSense: identifier "BOOST_ASIO_OS_DEF_12" is undefined d:\project\lib\boost_1_57_0\boost\asio\ip\multicast.hpp 52 3 tcpserver
11 IntelliSense: identifier "BOOST_ASIO_OS_DEF_13" is undefined d:\project\lib\boost_1_57_0\boost\asio\ip\multicast.hpp 80 3 tcpserver
17 IntelliSense: identifier "BOOST_ASIO_OS_DEF_4" is undefined d:\project\lib\boost_1_57_0\boost\asio\ip\unicast.hpp 60 3 tcpserver
12 IntelliSense: identifier "BOOST_ASIO_OS_DEF_9" is undefined d:\project\lib\boost_1_57_0\boost\asio\ip\multicast.hpp 108 3 tcpserver

最佳答案

这些是 IntelliSense 错误,您可以通过右键单击列表并取消选中“显示 IntelliSense 错误”来抑制它们。

关于C++ boost asio 示例代码在 VS2013 express 上编译错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29640796/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com