Menu

cppcheck GUI and Relative Paths

2020-05-14
2020-05-15
  • Mike Banducci

    Mike Banducci - 2020-05-14

    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!

     
  • Daniel Marjamäki

    as far as I remember the paths you provide should be relative to the project file. Can you please try that?

     
  • Mike Banducci

    Mike Banducci - 2020-05-15

    Oh! Using paths relative to the cppcheck project file works as expected.

    Sorry, I should have tried more troubleshooting before posting.

     
  • Daniel Marjamäki

    I guess we can provide some better help in the dialog.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.