Author Topic: Can't set up CppCheck  (Read 2425 times)

Offline OzzyR21

  • Single posting newcomer
  • *
  • Posts: 7
Can't set up CppCheck
« on: October 10, 2017, 06:10:32 pm »
Hello all
I have a weird problem.

I use Code::Blocks 16 in a Centos6.9 VM.
I have also installed codeblocks-contrib.
I installed tinyxml2.rpm and cppcheck.rpm.
However (after rebooting) I dont have cppCheck under Setting->Environment menu.
What might have gone wrong?

Thank you.

Offline blauzahn

  • Almost regular
  • **
  • Posts: 156
Re: Can't set up CppCheck
« Reply #1 on: October 10, 2017, 07:27:26 pm »
When you start cb from the commandline and the plugin is loaded, a log message of cppcheck should show up:

Code
$ codeblocks | grep CppCheck
CppCheck: loaded
CppCheck plugin activated

Within cb in Menu | Plugins | Manage Plugins...
the list of installed plugins should contain CppCheck.

This is not limited to Centos (which I do not use).

Offline OzzyR21

  • Single posting newcomer
  • *
  • Posts: 7
Re: Can't set up CppCheck
« Reply #2 on: October 13, 2017, 04:01:37 pm »
Thank you very much.
Broken cppCheck installation