Closed GoogleCodeExporter closed 9 years ago
Normally all files lying within the project directory are given as relative
path to cppcheck. That shouldn't be a problem, since cppcheck is executed with
the current directory set to the project directory. Please send the part from
the log file, as well as the console and describe your project setup. Otherwise
I won't be able to tell, where the problem is.
Original comment by konra...@gmx.de
on 12 Jan 2011 at 4:49
Hello,
i try here to describe my Problem:
1.) i installed cppcheck in *c:\programme\cppcheck\cppcheck.exe*
2.) After that i installed cppcheclipse into eclipse
3.) When i start cppcheck from eclipse, it ask me for the path of
cppcheck.exe, which i set to the path desribed above.
4.) I get the following error message:
Error checking flexo_main.c
Could not run cppcheck
Error executing 'C:\Programme\Cppcheck\cppcheck.exe --template
{file};{line};{severity};{id};{message} -j 1 --verbose --force
trunk\lib\c\stvxlib\flexo\flexo_main.c' due to error: Process exited with an
error: 1(Exit value: 1)Maybe more information is available in the console
view.
my project lays in c:\proj\trunk ...
When i put this line in the terminal and add the absolute path to the line
it works...!
C:\Programme\Cppcheck\cppcheck.exe --template
{file};{line};{severity};{id};{message} -j 1 --verbose --force
c:\proj\trunk\lib\c\stvxlib\flexo\flexo_main.c
Greetings from Munich,
Chirs
--
Mit besten Gr��en / With best regards,
Christoph Lauer
Internet: www.christoph-lauer.de
<http://www.christoph-lauer.de/>E-Mail: christoph.lauer@gmail.com
Adresse: Am Wergk�ulchen 20
66687 Wadern
Mobil: 0178/4572997
Original comment by christop...@gmail.com
on 13 Jan 2011 at 8:08
Hi Chris, please add some more info, since I'm not able to reproduce the issue.
Especially the version of cppcheclipse and cppcheck, as well as the output from
the console view. The error message doesn't contain the actual reason, why
cppcheck failed, only the error.log as well as the console view can give a
hint.
Original comment by konra...@gmx.de
on 13 Jan 2011 at 6:22
Original comment by konra...@gmx.de
on 9 Apr 2011 at 7:47
Original issue reported on code.google.com by
christop...@gmail.com
on 12 Jan 2011 at 4:30