c++ - #include 检测到 Linux 错误
问题描述
我使用加密和解密工具,但我收到关于库的错误:
#include <gcrypt.h>
所有其他没有错误的图书馆只有这个,当我偷看问题时,他告诉我这个:
#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit.C/C++(1696)
cannot open source file "gpg-error.h" (dependency of "gcrypt.h")C/C++(1696)
他还向我展示了安装 VCPKG 之类的快速修复程序,我就这样做了,但没有任何效果。
解决方案
首先,您应该在您的机器上找到标题。然后“告诉”操作系统为您的应用程序使用它的路径。
推荐阅读
- php - cart.php 只为最后一个产品返回想要的值
- javascript - Cytsocape.js 无法创建不存在目标的边缘
- google-chrome - Slider Revolution chrome Uncaught (in promise) DOMException: play() 请求被对 pause() 的调用中断
- .htaccess - 直接 url 和刷新页面得到 404 错误 - htaccess
- tensorflow - 几个时期后损失开始跳跃
- php - PHP count 多维数组值
- jquery - 在 select2 生成的元素中传递更多属性
- python - 我的 CSV 编写器代码在字符而不是字符串之间写入分隔符
- django - 如何改变模型序列化器中的字段验证器
- sql - 模拟 FULL OUTER JOIN:LEFT+RIGHT JOIN 与交叉连接的 UNION 性能