Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path to compilation log is wrong #203

Open
sstickel opened this issue Sep 28, 2020 · 0 comments
Open

Path to compilation log is wrong #203

sstickel opened this issue Sep 28, 2020 · 0 comments

Comments

@sstickel
Copy link

Hi,

I am facing an issue here. Installed CodeChecker on Friday, working as intended on bash. Then I installed the Eclipse plugin but there seems to be something wrong.

The project is a c++ project using cmake4eclipse. Builds go into $projectdir/build/Debug, here also a file called compile_commands.json is created and published.

But when I look at the command which is builtin CodeChecker properties theses paths do not match:

(command stripped)
CodeChecker analyze -j 4 -n javarunner -o (...)/workspace_eclipse_2020-06/.codechecker/($projectname)/results (...)/workspace_eclipse_2020-06/.codechecker/($projectname)/compilation_commands.json.javarunner

Neither path nor file name match. When I edit this command to hold the correct file path $projectfolder/build/Debug/compile_commands.json it runs as expected.

Is this a problem of the combination of cmake4eclipse and CodeCheckerEclipsePlugin?

@sstickel sstickel changed the title Path to compilation log is wron Path to compilation log is wrong Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant