将CPR(C ++请求Libarary)添加到includePath不会摆脱includePath错误

时间:2019-05-31 08:22:10

标签: visual-studio visual-studio-code

因此,我正在使用VSCode,并尝试使用whoshuu / cpr标头,但无法正常工作。

我尝试将cpr / include添加到includePath中,但是没有做任何事情。

这是我的c_cpp_properties.json

{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                "${workspaceFolder}/**",
                "${workspaceFolder}/cpr/include/**"
            ],
            "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE"
            ],
            "compilerPath": "C:\\\\mingw-w64\\\\i686-8.1.0-posix-dwarf-rt_v6-rev0\\\\mingw32\\\\bin\\\\gcc.exe",
            "cStandard": "c11",
            "cppStandard": "c++17",
            "intelliSenseMode": "gcc-x64"
        }
    ],
    "version": 4
}

预期:它让我包括了cpr

实际:includePath错误。

0 个答案:

没有答案