没有这样的文件或目录 teseract/baseapi.h c++

问题描述 投票:0回答:0

致命错误:tesseract/baseapi.h: 没有那个文件或目录 是错误

{
  "configurations": [
    {
      "name": "windows-gcc-x86",
      "includePath": [
        "${workspaceFolder}/**",
        "C:/dev/vcpkg/installed/x64-windows/include",
        "C:/dev/vcpkg/installed/x64-windows/tools",
        "C:/dev/vcpkg/installed/x64-windows/lib",
        "C:/dev/vcpkg/installed/x64-windows/bin"
      ],
      "compilerPath": "C:/MinGW/bin/gcc.exe",
      "cStandard": "${default}",
      "cppStandard": "${default}",
      "intelliSenseMode": "windows-gcc-x86",
      "compilerArgs": [
        ""
      ]
    }
  ],
  "version": 4
}

相同的路径在系统路径中 . cpkg tesseract --version 仅适用于工具文件夹中的 tesseract 文件夹, 我看到我已经正确安装了它我认为运行 vcpkg install/list/update 并看到文件本身, 我不想使用 cmake, 我尝试在 #include 之后放置完整路径,如果我包含 baseapi.h 但我需要 version.h 但部分不起作用

visual-studio-code directory package directory-structure vcpkg
© www.soinside.com 2019 - 2024. All rights reserved.