Author Topic: There is no “cpp check” in the settings.  (Read 631 times)

Offline lxr5109

  • Multiple posting newcomer
  • *
  • Posts: 12
There is no “cpp check” in the settings.
« on: May 22, 2017, 11:25:31 am »
I'd like  to using the cppcheck plugin in CB. But I can't find the "cpp check" in "Settings" -> "Environment" .
How can I install the cppcheck plugin? Or I should install cppcheck separately?
Thank you very much.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 5870
    • My Best Post
Re: There is no “cpp check” in the settings.
« Reply #1 on: May 22, 2017, 11:35:48 am »
What operating system (OS)?

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10118
Re: There is no “cpp check” in the settings.
« Reply #2 on: May 22, 2017, 05:59:21 pm »
Install the contrib plugins. On linux it is a separate package most of the times. On windows it is an option in the installer.
<debugger plugin maintainer>
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline lxr5109

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: There is no “cpp check” in the settings.
« Reply #3 on: May 23, 2017, 03:52:52 am »
What operating system (OS)?

Tim S.

Oh, sorry, I missed it.  The OS is ubuntu 10.04 with gcc 4.4.3.

Offline lxr5109

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: There is no “cpp check” in the settings.
« Reply #4 on: May 23, 2017, 03:54:16 am »
Install the contrib plugins. On linux it is a separate package most of the times. On windows it is an option in the installer.

I am using ubuntu 10.04. So I should install cppcheck first, is that right?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 5870
    • My Best Post
Re: There is no “cpp check” in the settings.
« Reply #5 on: May 23, 2017, 04:26:29 am »
Install the contrib plugins. On linux it is a separate package most of the times. On windows it is an option in the installer.

I am using ubuntu 10.04. So I should install cppcheck first, is that right?

I think you can install it either before or after installing the codeblocks-contrib package.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline lxr5109

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: There is no “cpp check” in the settings.
« Reply #6 on: May 23, 2017, 11:11:19 am »
Install the contrib plugins. On linux it is a separate package most of the times. On windows it is an option in the installer.

I am using ubuntu 10.04. So I should install cppcheck first, is that right?

I think you can install it either before or after installing the codeblocks-contrib package.

Tim S.

Thank you! I will try.

Offline lxr5109

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: There is no “cpp check” in the settings.
« Reply #7 on: May 25, 2017, 10:56:52 am »
Install the contrib plugins. On linux it is a separate package most of the times. On windows it is an option in the installer.

I am using ubuntu 10.04. So I should install cppcheck first, is that right?

I think you can install it either before or after installing the codeblocks-contrib package.

Tim S.

I have install cppcheck. And then how can I use it in Code::Blocks? The version of Code::Blocks is 16.01.

Thank you.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 5870
    • My Best Post
Re: There is no “cpp check” in the settings.
« Reply #8 on: May 25, 2017, 02:36:00 pm »
Have you installed the CodeBlocks contrib package?

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline lxr5109

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: There is no “cpp check” in the settings.
« Reply #9 on: May 27, 2017, 09:31:19 am »
Have you installed the CodeBlocks contrib package?

Tim S.

I guess I haven't installed it ... How can I find and install it ? Could you give me some instructions?
Thank you very much.


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10118
Re: There is no “cpp check” in the settings.
« Reply #10 on: May 27, 2017, 10:42:46 am »
Just use your favourite package manager and install codeblocks-contrib package...
<debugger plugin maintainer>
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]