cmake
config_error
ai_generated
true
CMake Error: include could not find requested file
ID: cmake/config-file-not-found
82%Fix Rate
86%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3 | active | — | — | — |
Root Cause
CMake module or config file missing.
genericWorkarounds
-
88% success Install missing CMake module package
-
90% success Set CMAKE_MODULE_PATH to directory containing the .cmake file
Dead Ends
Common approaches that don't work:
-
Create empty .cmake file
80% fail
Build proceeds but configuration wrong
-
Comment out the include
78% fail
Breaks dependent build logic