Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Could not run cppcheck; Output Stream is closed #44

Closed
GoogleCodeExporter opened this issue Jul 15, 2015 · 10 comments
Closed

Could not run cppcheck; Output Stream is closed #44

GoogleCodeExporter opened this issue Jul 15, 2015 · 10 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Set Cpp Check to run on build of LibProject
2. Build another project that depends on LibProject

What is the expected output? What do you see instead? Please provide output
of the console view of cppcheclipse as well as the Eclipse error log.

There is no console output, there is an error in a dialog box:
Errors occurred during the build.
   Errors running builder 'cppcheck Project Builder' on project 'TestProject'.
      Could not run cppcheck
      Output Stream is closed
   Could not run cppcheck
   Output Stream is closed

I tried enabling --debug on cppcheck and the build hangs.

What version of the cppcheclipse, cppcheck, Eclipse and Java are you using?
cppcheclipse: 0.9.7.2001040922
Eclipse: Indigo
Java: OpenJDK Runtime Environment 1.6.0_23-b23
CppCheck 1.52


On what operating system?
Ubuntu 11.11

Please provide any additional information below.

Right clicking the project and running cppcheck works fine.

It seems to be a timing issue with access to the console during building.

Original issue reported on code.google.com by benpop...@gmail.com on 3 Jan 2012 at 3:46

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant