Coder Social home page Coder Social logo

relative path problem ! about cppcheclipse HOT 4 CLOSED

ipodipad avatar ipodipad commented on August 27, 2024
relative path problem !

from cppcheclipse.

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
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 [email protected] on 12 Jan 2011 at 4:49

from cppcheclipse.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
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: [email protected]
Adresse: Am Wergk�ulchen 20
66687 Wadern
Mobil: 0178/4572997

Original comment by [email protected] on 13 Jan 2011 at 8:08

from cppcheclipse.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
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 [email protected] on 13 Jan 2011 at 6:22

from cppcheclipse.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024

Original comment by [email protected] on 9 Apr 2011 at 7:47

  • Changed state: Invalid

from cppcheclipse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.