Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Installation

Konrad Windszus edited this page Jul 2, 2017 · 4 revisions

Introduction

cppcheclipse is an Eclipse plugin, which can be installed over the update mechanism, provided by Eclipse. The plugin is platform independent but still needs a current cppcheck binary. You can get a binary (for Windows) or the source code for all other platforms at http://sourceforge.net/projects/cppcheck/.

Requirements

  • Java 1.7 or newer
  • Eclipse 3.6 or newer with CDT
  • cppcheck (1.56 or newer)

Installation

Eclipse Marketplace

The easiest way to install is via Eclipse Marketplace which is integrated into Eclipse since 3.6 (Helios).

  1. Click on Help->Eclipse Marketplace...
  2. Enter "cppcheclipse" in the Find field and click on Go
  3. Click on the Install button beneath the entry for cppcheclipse.

Manually add Eclipse Update Site

  1. Click on Help->Install New Software...
  2. Add the new Update Site https://dl.bintray.com/cppcheclipse/p2/updates/
  3. Uncheck "Group items by category"
  4. Select cppcheclipse and click on "Next"
  5. Follow the installation wizard, until installation is complete
  6. Restart Eclipse

Configuration

  1. Click on Preferences->C/C++->cppcheclipse to setup the path to the cppcheck binary on your computer

For more information on how to use this plugin have a look at Usage.

Update

Cppcheclipse checks automatically for updates of cppcheck. This behaviour can be configured via the Eclipse Preferences->C/C++->cppcheclipse. To update cppcheclipse itself, go to Help->Check for Updates.

Clone this wiki locally