eranif / codelite

A multi purpose IDE specialized in C/C++/Rust/Python/PHP and Node.js. Written in C++
https://codelite.org
GNU General Public License v2.0
2.09k stars 448 forks source link

CPP Check plugin not working: #3286

Open ctchadwick opened 7 months ago

ctchadwick commented 7 months ago

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.
Jarod42 commented 2 months ago

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).