-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
Hello,
I am unable to get any version of clang-uml to work on my Windows 11 system. Every attempt fails with a persistent Invalid schema error, which suggests the built-in YAML parser is not working correctly on my machine.
The problem occurs with both the latest version and older, stable versions, each failing to recognize its own valid top-level configuration keys.
1. Latest Version Test
- Command:
clang-uml --version - Output:
Built against LLVM/Clang libraries version: 20.1.7 - Config (
.clang-uml):diagrams: my_class_diagram: type: class glob: - "main.cpp" compilation_database: generate: true add_compile_flags: - "-std=c++17" output_directory: "output"
- Error:
ERROR: Invalid schema: - /compilation_database: undefined node
2. Older Stable Version Test (0.6.0)
- Command:
clang-uml --version - Output:
clang-uml 0.6.0, Built against LLVM/Clang libraries version: 19.1.3 - Config (
.clang-uml):diagrams: my_class_diagram: type: class glob: - "main.cpp" compile_flags: - "-std=c++17" output_directory: "output"
- Error:
ERROR: Invalid schema: - /compile_flags: undefined node
3. Additional Troubleshooting Steps Performed
- I have confirmed the
.clang-umlfile is in the same directory as the source files and the command is run from there. - I have meticulously recreated the
.clang-umlfile from scratch, ensuring it is saved with UTF-8 encoding without BOM. - I have tried running the entire test case from a simple path (
C:\test) to rule out issues with long paths or special characters. - The verbose output (
-v) did not provide additional useful information beyond confirming the config file path before failing with the same schema error.
It seems like there is a deep incompatibility on my system that prevents the YAML parser in clang-uml from recognizing any valid top-level keys, regardless of the program version.
Thank you for your help.
Metadata
Metadata
Assignees
Labels
No labels