Appearance
Install Cppcheck (version 2.18.0) manually on your machine.
Windows Installation
- Download the installer:
https://sourceforge.net/projects/cppcheck/files/cppcheck/2.18/cppcheck-2.18.0-x64-Setup.msi/download - Run the downloaded
.msifile. - Complete the installation wizard.
- Verify the version:
cppcheck --versionLinux Installation
Run the following commands:
git clone --branch 2.18.x https://github.com/danmar/cppcheck.git /cppcheck
mkdir /cppcheck/build
cd /cppcheck/build
cmake ..
cmake --build . -- -j16
make install
cd /
rm -rf /cppcheck
cppcheck --version