I just tested it the following way:
On Windows 7 with an up to date Cygwin i extracted cppcheck-1.83 to /home/user/cppcheck-1.83
Then ran these commands in /home/user/cppcheck-1.83: make SRCDIR=build CFGDIR=/home/user/cppcheck-1.83/cfg make install CFGDIR=/home/user/cppcheck-1.83/cfg
After that i can use cppcheck from everywhere without problems.
Can you maybe provide more details about your system and the exact commands that you used?
Last edit: versat 2018-04-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is really frustrating, I have followed the instructions as stated on https://github.com/danmar/cppcheck as well as here https://stackoverflow.com/questions/22486573/cppcheck-std-cfg-not-found-error-when-std-cfg-file-is-available/26650139 but nothing is working. I keep getting the
And the std.cfg is found in that file.
What is going on?
I just tested it the following way:
On Windows 7 with an up to date Cygwin i extracted cppcheck-1.83 to
/home/user/cppcheck-1.83
Then ran these commands in
/home/user/cppcheck-1.83
:make SRCDIR=build CFGDIR=/home/user/cppcheck-1.83/cfg
make install CFGDIR=/home/user/cppcheck-1.83/cfg
After that i can use cppcheck from everywhere without problems.
Can you maybe provide more details about your system and the exact commands that you used?
Last edit: versat 2018-04-10