Hi,
New user here. I just installed 1.83 and included Python addons components. I can see the addon .py files in C:\Program Files\Cppcheck\addons. In the Preferences->Addons dialog the Python binary path is set to "C:/Python27/python.exe".
The Project File->Addons and tools dialog lists 4 addons (Y2038, Thread safety, Cert, MISRA C 2012), however these are greyed out and have '(Not found)' next to them.
What am I missing?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
seems that this problem still exsists with Cppcheck 2.7.
I am on windows and configured the path to the python exe in the settings, but buttons for the addons are still greyed out, even after restart, and it says "Addons require Python being installed".
The propesed fix by @versat is not working.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okay, now it is working. Seems that with the windowsinstaller the addon directory was not created, so all addons were missing. When I copied them manually from the github repo it was working.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
New user here. I just installed 1.83 and included Python addons components. I can see the addon .py files in C:\Program Files\Cppcheck\addons. In the Preferences->Addons dialog the Python binary path is set to "C:/Python27/python.exe".
The Project File->Addons and tools dialog lists 4 addons (Y2038, Thread safety, Cert, MISRA C 2012), however these are greyed out and have '(Not found)' next to them.
What am I missing?
Thanks
Sorry this is a bug in 1.83 that will be fixed in the next release. I have described a workaround here:
https://sourceforge.net/p/cppcheck/discussion/general/thread/ccbe9e89/3bab/3ea1
Full thread:
https://sourceforge.net/p/cppcheck/discussion/general/thread/ccbe9e89/#3bab/3ea1
I appreciate you quickly pointing out the issue. I'll try this tomorrow morning. Thanks for the support.
Hello,
seems that this problem still exsists with Cppcheck 2.7.
I am on windows and configured the path to the python exe in the settings, but buttons for the addons are still greyed out, even after restart, and it says "Addons require Python being installed".
The propesed fix by @versat is not working.
Okay, now it is working. Seems that with the windowsinstaller the addon directory was not created, so all addons were missing. When I copied them manually from the github repo it was working.