codelite icon indicating copy to clipboard operation
codelite copied to clipboard

CPP Check plugin not working:

Open ctchadwick opened this issue 2 years ago • 1 comments

What happened?

I have never been able to get CppCheck working with CodeLite. I'm on a Windows machine, I've updated CL to the latest 17.8.0, and installed CppCheck 12.2.0, added the environmental variable 'cppcheck' to CL's list of EVs, restarted. Still, every time I go to start the CppCheck plugin, it just gives the dialog: 'Could not locate CppCheck. Please install it and try again.' I have the logging set to 'Developer' but nothing is logging out regarding the plugin. I know every system is different, if anyone has had success getting the plugin to work on a Windows box, any setup details would be helpful. I'm not straying from the default install locations, using the MSYS2 suite for compiler etc.

Any help is appreciated.

Version

Other

Operating system

Windows 10

Steps to reproduce

Not sure how to get this to reproduce.

Relevant log output

No log output to report.

ctchadwick avatar Nov 27 '23 16:11 ctchadwick

From what I tested, CppCheck.exe should be in PATH to be detected. (Don't forget to restart Codelite if you modify PATH when Codelite is opened).

Jarod42 avatar Apr 23 '24 17:04 Jarod42