I downloaded cppcheck and installed on windows but I am having no luck after that. The help dialogue is blank. I have entered the path to python and clang (although the clang path does not let me pick an actual exe, only to the folder and the compiler is from Code Composer Studio and is tiarmclang.exe- not sure if cppcheck knows that.)
I also want to add the misra checks but can not seem to figure out how? The project file dialogue has everything grayed out on the Add Ons tab. How do I get those active? Is there something I need to download?
Lastly, why can I only edit the project file when I click New Project.... ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For your information the Clang integration is quite experimental.
I also want to add the misra checks but can not seem to figure out how? The project file dialogue has everything grayed out on the Add Ons tab. How do I get those active? Is there something I need to download?
hmm I am not sure but maybe the addons are not found ? Do you see the addons in the installation folder.. typically you should have:
C:\Program Files\Cppcheck\addons\misra.py
If you don't see that I suggest you run the installer again and ensure the addons are installed.
Lastly, why can I only edit the project file when I click New Project.... ?
This is a mystery to me. You should be able to change all settings when you click on "Edit project file..."
The settings for paths / include paths are disabled when you import a project because those settings are taken from the imported project then. So if you want to enable those settings don't import the project.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded cppcheck and installed on windows but I am having no luck after that. The help dialogue is blank. I have entered the path to python and clang (although the clang path does not let me pick an actual exe, only to the folder and the compiler is from Code Composer Studio and is tiarmclang.exe- not sure if cppcheck knows that.)
I also want to add the misra checks but can not seem to figure out how? The project file dialogue has everything grayed out on the Add Ons tab. How do I get those active? Is there something I need to download?
Lastly, why can I only edit the project file when I click New Project.... ?
strange.
Using the Edit -> Preferences menu?
For your information the Clang integration is quite experimental.
hmm I am not sure but maybe the addons are not found ? Do you see the addons in the installation folder.. typically you should have:
If you don't see that I suggest you run the installer again and ensure the addons are installed.
This is a mystery to me. You should be able to change all settings when you click on "Edit project file..."
The settings for paths / include paths are disabled when you import a project because those settings are taken from the imported project then. So if you want to enable those settings don't import the project.