Menu

cppcheck 2.19 Windows version does not start: cannot load configuration

2026-01-16
2026-01-16
  • Jeroen Pouwels

    Jeroen Pouwels - 2026-01-16

    Starting cppcheck 2.19 from the provided Windows installer with date 2025-12-21 gives the following error:

    cppcheck: Failed to load library configuration file 'std.cfg'. File not found
    Failed to load std.cfg. Your Cppcheck installation is broken, please re-install. 
    The Cppcheck binary was compiled with FILESDIR set to "R:/winlibs64ucrt_stage/inst_cppcheck-2.14.0/share/Cppcheck" and will therefore search for std.cfg in R:/winlibs64ucrt_stage/inst_cppcheck-2.14.0/share/Cppcheck/cfg.
    

    Please provide a new installer for Windows.

    Best regards,
    Jeroen

     

    Last edit: Jeroen Pouwels 2026-01-16
  • CHR

    CHR - 2026-01-16

    I just installed 2.19 and cppcheck runs fine.
    How/where did you install cppcheck? Are the .cfg files in %ProgramFiles%\cppcheck\cfg present and accessible?

     
  • Jeroen Pouwels

    Jeroen Pouwels - 2026-01-16

    Oh, mea culpa. I now see that also an old version of cppcheck is in the path on my machine (it is part of Strawberry Perl....), which is the one being started.
    My apologies...

     
    👍
    1

Log in to post a comment.