Relative paths appear to be non-functional in the gui. I've filled in the 'Root path' field, but if I provide a source directory as a path relative to the root, I get a message stating "No suitable files found to analyze!".
The tool works as expected when I run it with absolute paths for all of the source and include directories. Also, a command-line setup (using the --relative-paths flag) works as expected.
I'm using cppcheck v1.90 on Windows 10.
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Relative paths appear to be non-functional in the gui. I've filled in the 'Root path' field, but if I provide a source directory as a path relative to the root, I get a message stating "No suitable files found to analyze!".
The tool works as expected when I run it with absolute paths for all of the source and include directories. Also, a command-line setup (using the --relative-paths flag) works as expected.
I'm using cppcheck v1.90 on Windows 10.
Thanks!
as far as I remember the paths you provide should be relative to the project file. Can you please try that?
Oh! Using paths relative to the cppcheck project file works as expected.
Sorry, I should have tried more troubleshooting before posting.
I guess we can provide some better help in the dialog.