-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clang-uml terminates with error #231
Comments
@kahlenberg This will be a problem related to absolute vs relative paths somewhere. Any chance you could share your If not please at least try to provide the following information:
|
Thanks for fast answer!
} ```
|
@kahlenberg Ok, I'll try to reproduce although I think this might be related to another issue I've already fixed it (https://github.com/bkryza/clang-uml/pull/220/commits), unfortunately it's in master branch only not in the 0.4.2 release. I'm hoping to release the next version early next week... As a test, could you make the following changes:
and in your # ...
diagrams:
example_class_diagram:
type: class
glob:
- main_window.cpp
# ... |
It cannot find the file:
But if I use the whole absolute path Before that, I get another error, this is the first error:
I am using clang version 16.0.5 |
@kahlenberg I can't seem to be able to reproduce it, however I've published a release candidate for the next release just for MSVC, could please check if this one fixes this issue (preferably using your unmodified compile_commands and .clang-uml config: https://github.com/bkryza/clang-uml/releases/tag/0.4.3-rc1 |
Thanks for RC, it seems to be working. Now I was able to generate .puml file for a specific cpp file. Now I must figure out how I can convert puml to svg on Windows :) Do you know how I can convert it? |
@kahlenberg You can simply download the PlantUML in jar form (it requires Java) from here: https://plantuml.com/starting Also, if you don't want to install anything you can generate an image using online PlantUML server: https://planttext.com/, just paste the contents of the generated |
Hi,
I want to use clang-uml with a project that has a C++ code more than 20 years old! I just want to generate a class diagram.
I am using Windows 10 Enterprise, 64bit, Microsoft Visual Studio 17.8, cmake 3.27.6, clang++ version 16.0.5
I run the clang-uml command from terminal and after parsing a lot of file, I get following error:
[error] [tid 28768] [C:\clang-uml-tmp\clang-uml-042\src\common\generators\generators.cc:265] canonical: unknown error: "C:\workspace\app-build\C"
clang-uml --validate-only says that .clang-uml is valid.
The text was updated successfully, but these errors were encountered: