Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where do I get cppcheck codeblocks plugin file?

I've installed code::blocks via ubuntu software center. I was never prompted anything, and the app was just installed.

The problem now is, that everywhere it says that cppcheck is integrated into code::blocks, but I don't see it anywhere. I've tried compiling the app with some obvious errors (returning local variable by reference), and there were no warnings or errors in the output.

Also, I don't seem to be able to find cppcheck.cbplugin anywhere.

Can anybody help me out here?

like image 626
Arsen Zahray Avatar asked Feb 16 '26 21:02

Arsen Zahray


1 Answers

You need to install package codeblocks-contrib. You also need to install package cppcheck itself. Then, when you restart CB, CppCheck will appear in the Plugins menu, and you can run it from there.

I do not recommend running it like this on a large project. It is liable to take a very long time and freeze your desktop in the meanwhile. Better run it independently in console.

like image 185
Mike Kinghan Avatar answered Feb 19 '26 04:02

Mike Kinghan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!