News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

There is no “cpp check” in the settings.

Started by lxr5109, May 22, 2017, 11:25:31 AM

Previous topic - Next topic

lxr5109

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.

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

oBFusCATed

Install the contrib plugins. On linux it is a separate package most of the times. On windows it is an option in the installer.
(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!]

lxr5109

Quote from: stahta01 on May 22, 2017, 11:35:48 AM
What operating system (OS)?

Tim S.

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

lxr5109

Quote from: oBFusCATed 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.

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

stahta01

Quote from: lxr5109 on May 23, 2017, 03:54:16 AM
Quote from: oBFusCATed 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.

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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

lxr5109

Quote from: stahta01 on May 23, 2017, 04:26:29 AM
Quote from: lxr5109 on May 23, 2017, 03:54:16 AM
Quote from: oBFusCATed 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.

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.

lxr5109

Quote from: stahta01 on May 23, 2017, 04:26:29 AM
Quote from: lxr5109 on May 23, 2017, 03:54:16 AM
Quote from: oBFusCATed 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.

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.

stahta01

Have you installed the CodeBlocks contrib package?

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

lxr5109

Quote from: stahta01 on May 25, 2017, 02:36:00 PM
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.


oBFusCATed

Just use your favourite package manager and install codeblocks-contrib package...
(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!]