# The cmake preset error messages are not really helpfully?

**URL:** <https://discourse.cmake.org/t/the-cmake-preset-error-messages-are-not-really-helpfully/13119>\
**Category:** Code\
**Created:** [December 4, 2024, 1:39pm UTC](https://discourse.cmake.org/t/the-cmake-preset-error-messages-are-not-really-helpfully/13119 "2024-12-04T13:39:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ClausKlein](https://discourse.cmake.org/user_avatar/discourse.cmake.org/clausklein/32/352_2.png) [@ClausKlein](https://discourse.cmake.org/u/ClausKlein)\
**Post date:** [December 4, 2024, 1:39pm UTC](https://discourse.cmake.org/t/the-cmake-preset-error-messages-are-not-really-helpfully/13119/1 "2024-12-04T13:39:12Z")

</div>

### I have a `CMakeUserPreset.json` which is generated based on the `hostSystemName`

#### In case, the user is on a new, not yet supported, `build host` this happens:

```bash
MINGW64 ~/Workspace/cpp/fmt-module (master)
$ diff .CMakeUserPresets.json CMakeUserPresets.json
56c56
< "inherits": "dev-<hostSystemName>"
---
> "inherits": "dev-MINGW64_NT-10.0-22631"

MINGW64 ~/Workspace/cpp/fmt-module (master)
$ gmake
CMake Error: Could not read presets from C:/Users/KLEIN_CL/Workspace/cpp/fmt-module:
Invalid preset: "dev"
gmake: *** [GNUmakefile:13: all] Error 1

MINGW64 ~/Workspace/cpp/fmt-module (master)
$ uname -a
MINGW64_NT-10.0-22631 myhost 3.4.10-87d57229.x86_64 2024-02-14 20:17 UTC x86_64 Msys

MINGW64 ~/Workspace/cpp/fmt-module (master)
$

```
