Menu

How to use Addons in GUI

theBull
2018-06-07
2022-05-12
  • theBull

    theBull - 2018-06-07

    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

     
  • theBull

    theBull - 2018-06-07

    I appreciate you quickly pointing out the issue. I'll try this tomorrow morning. Thanks for the support.

     
  • Sev Miller

    Sev Miller - 2022-05-09

    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.

     
  • Sev Miller

    Sev Miller - 2022-05-12

    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.

     

Log in to post a comment.