{
  "id": "cmake/cygwin-path-conversion-failed",
  "signature": "CMake Error: Path conversion from \"C:\\Users\\User\\project\" to \"/cygdrive/c/Users/User/project\" failed.",
  "signature_zh": "CMake 错误：路径转换从 \"C:\\Users\\User\\project\" 到 \"/cygdrive/c/Users/User/project\" 失败。",
  "regex": "Path conversion from \".*?\" to \".*?\" failed",
  "domain": "cmake",
  "category": "system_error",
  "subcategory": null,
  "root_cause": "Cygwin environment cannot convert Windows-style paths to Cygwin paths due to missing cygpath utility or misconfigured environment.",
  "root_cause_type": "generic",
  "root_cause_zh": "Cygwin 环境由于缺少 cygpath 工具或环境配置错误，无法将 Windows 风格路径转换为 Cygwin 路径。",
  "versions": [
    {
      "version": "3.20",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.24",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.28",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Manually set the path in CMakeLists.txt using absolute Windows path.",
      "why_fails": "Cygwin's CMake still expects Cygwin paths internally, causing further errors.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "Reinstall Cygwin with default packages only.",
      "why_fails": "Cygwin's cygpath is part of the base install; missing it indicates a corrupted environment.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Ensure cygpath is in PATH: run `which cygpath` in Cygwin terminal. If missing, reinstall Cygwin with 'cygwin' package.",
      "success_rate": 0.85,
      "how": "Ensure cygpath is in PATH: run `which cygpath` in Cygwin terminal. If missing, reinstall Cygwin with 'cygwin' package.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use native Windows CMake (not Cygwin version) by invoking `cmake.exe` from cmd or PowerShell.",
      "success_rate": 0.9,
      "how": "Use native Windows CMake (not Cygwin version) by invoking `cmake.exe` from cmd or PowerShell.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "确保 cygpath 在 PATH 中：在 Cygwin 终端中运行 `which cygpath`。如果缺失，重新安装 Cygwin 并包含 'cygwin' 包。",
    "使用原生 Windows CMake（而不是 Cygwin 版本），通过 cmd 或 PowerShell 调用 `cmake.exe`。"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://cmake.org/cmake/help/latest/manual/cmake.1.html#platform-specific",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.82,
  "fix_success_rate": 0.85,
  "resolvable": "true",
  "first_seen": "2024-06-20",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}