首页 > 解决方案 > #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 之类的快速修复程序,我就这样做了,但没有任何效果。

标签: c++cincludeinclude-pathvcpkg

解决方案


首先,您应该在您的机器上找到标题。然后“告诉”操作系统为您的应用程序使用它的路径。


推荐阅读