简体   繁体   English

Visual Studio 无法识别 boost::asio

[英]Visual Studio doesn't recognize boost::asio

  1. I download the last version of boost.我下载了最新版本的 boost。
  2. I built binaries by executing "bootstrap" and "./b23我通过执行“bootstrap”和“./b23”来构建二进制文件
  3. I added the include directory "$(SolutionDir)lib\boost_1_75_0" and linked the binary one "$(SolutionDir)lib\boost_1_75_0\stage\lib"我添加了包含目录“$(SolutionDir)lib\boost_1_75_0”并链接了二进制文件“$(SolutionDir)lib\boost_1_75_0\stage\lib”

Everything compiles and works fine.一切都可以编译并且工作正常。 I have a problem that prevents me from being productive: VS is unable to recognize libraries... Here a picture:我有一个问题使我无法提高工作效率:VS 无法识别库...这是一张图片:

在此处输入图像描述

Why intelisense unable tor ecognize the library, but is able to work?为什么智能感知无法识别图书馆,但能够工作?

[EDIT 1] [编辑 1]

Here's my project layout.这是我的项目布局。 项目布局

Thanks,谢谢,

I fixed it by upgrading to Visual Studio 2019.我通过升级到 Visual Studio 2019 来修复它。

Thanks.谢谢。

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

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