Author Topic: CppCheck 1.72 + CodeBlocks 16.1  (Read 3389 times)

mashiro11

  • Guest
CppCheck 1.72 + CodeBlocks 16.1
« on: March 24, 2016, 04:19:20 pm »
Hello there,

I'm newbe here, found this forum looking for CppCheck + Codeblocks errors-solutions, but most of them on past versions on both programs. I'm having similar problem from past ones, but I'll try to explain step by step:

1-As i try running ccpcheck, there's an error:
Program cannot be started because api-ms-win-cry-runtime-l1-1-0.dll is missing.

2-Then I OK this error, cppcheck seems to run (there's an instantly dialogue box saying: Running cppcheck... please wait (this may take several minutes)...

3-Prior error message reappears:
Program cannot be started because api-ms-win-cry-runtime-l1-1-0.dll is missing

4-Failed to parse cppcheck XML file. Probably it's not produced correctly.

OS: Windows 7 Ultimate
CodeBlocks 16.1
CppCheck 1.72

Also, when running cppcheck Codeblocks (13.12) on MacOSX (Yosemite 10.10.5), all I get is the "Failed to parse cppcheck XML file" error.

Offline raynebc

  • Almost regular
  • **
  • Posts: 217
Re: CppCheck 1.72 + CodeBlocks 16.1
« Reply #1 on: March 24, 2016, 05:43:30 pm »
The issue you described on Windows is a bug with CppCheck's installer.  You need to manually install Visual C++ 2015 runtime:
https://www.microsoft.com/en-us/download/details.aspx?id=48145