I put the full cppcheck pack into x:\CodeBlocks\tools\cppcheck\, but the cppcheck setting in CodeBlocks does not accept this setting: $(CODEBLOCKS)\tools\cppcheck\cppcheck.exe, it just rollback to "cppcheck.exe".
It seems that the problem happens only when the path is entered in the text control, but works correctly if the browse button is used.
Should be fixed in svn...
the location setting does not rollback any more, but when I ran the cppcheck in plugin menu there is a error message window pop-up :
---------------------------
Error
---------------------------
Failed to launch cppcheck.
Please setup the cppcheck executable accordingly in the settings.
---------------------------
OK
---------------------------
Because it doesn't support macros...
Fixed this too...
Thanks a lot !It works.