You have to install cppcheck (Version 2..4.1) manually on your machine.
Installation on Windows
- Go to ‘
https://sourceforge.net/projects/cppcheck/files/cppcheck/2.4/cppcheck-2.4.1-x64-Setup.msi/download
‘. - Open downloaded
.msi
file. - Install Cppcheck.
- Check version on cmd:
cppcheck --version.
Installation on Linux
Execute commands on the terminal:
git clone --branch 2.4.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