@@ -92,7 +92,7 @@ One or more required tools not found. Install required tools and re-run .mystoo
92
92
93
93
To finish the bootstrap process, you will need to install the required
94
94
tools for your specific operating system as follows. Currently we use
95
- Astyle 3.1 or later and Cppcheck 1.88 or later. Once you have
95
+ Astyle 3.1 or later and Cppcheck 2.1 or later. Once you have
96
96
installed AStyle and Cppcheck, re-run bootstrap-dev.sh to finish
97
97
configuring your development environment.
98
98
@@ -114,7 +114,7 @@ Tested with Ubuntu 18-04 LTS and 19.04
114
114
apt-get install astyle
115
115
git clone https://github.com/danmar/cppcheck.git
116
116
cd cppcheck/
117
- git checkout 1.89 # or later version if available
117
+ git checkout 2.1 # or later version if available
118
118
mkdir build && cd build && cmake .. && cmake --build .
119
119
sudo make MATCHCOMPILER=yes FILESDIR=/usr/share/cppcheck HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function" install
120
120
```
@@ -137,16 +137,13 @@ mv .\astyle.3.1.zip\AStyle 'C:\Program Files\AStyle'
137
137
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\Program Files\AStyle\bin")
138
138
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\Program Files\AStyle\bin", [EnvironmentVariableTarget]::Machine)
139
139
140
- ### Install Cppcheck (either 64-bit or 32-bit depending upon your version of Windows - pick one below)
140
+ ### Install Cppcheck x64
141
141
142
142
# 64-bit
143
- iwr 'https://github.com/danmar/cppcheck/releases/download/1.88/cppcheck-1.88-x64-Setup.msi' -UserAgent [Microsoft.PowerShell.Commands.PSUserAgent]::FireFox -OutFile cppcheck-1.88-Setup.msi
144
-
145
- # 32-bit
146
- iwr 'https://github.com/danmar/cppcheck/releases/download/1.88/cppcheck-1.88-x86-Setup.msi' -UserAgent [Microsoft.PowerShell.Commands.PSUserAgent]::FireFox -OutFile cppcheck-1.88-Setup.msi
143
+ iwr 'https://github.com/danmar/cppcheck/releases/download/2.1/cppcheck-2.1-x64-Setup.msi' -UserAgent [Microsoft.PowerShell.Commands.PSUserAgent]::FireFox -OutFile cppcheck-2.1-x64-Setup.msi
147
144
148
145
# Launch installer to install Cppcheck
149
- & .\cppcheck-1.88 -Setup.msi
146
+ & .\cppcheck-2.1-x64 -Setup.msi
150
147
151
148
### Add Cppcheck to your path
152
149
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\Program Files\Cppcheck", [EnvironmentVariableTarget]::Machine)
@@ -174,7 +171,7 @@ cd astyle/build/gcc && sudo make shared release shared static install
174
171
```
175
172
git clone https://github.com/danmar/cppcheck.git
176
173
cd cppcheck/
177
- git checkout 1.89 # or later version if available)
174
+ git checkout 2.1 # or later version if available)
178
175
mkdir build && cd build && cmake .. && cmake --build .
179
176
sudo make MATCHCOMPILER=yes FILESDIR=/usr/share/cppcheck HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function" install
180
177
```
0 commit comments