Sonarqube build wrapper and Renesas E2 studio

Hello everyone,

I am a new user of Sonarqube.
Currently, I am trying to use the build wrapper with my Renesas project (IDE used is e2Studio) but this didn’t working. I am on Windows platform.

So I tried the followings commands :

  • “build-wrapper-win-x86-64.exe --out-dir build_wrapper_output make” → I have an error like “cannot find make”
  • build-wrapper-win-x86-64.exe --out-dir build_wrapper_output rx-elf-gcc.exe" → I have an error like “fatal error : no input files”

The “build wrapper” executable is placed at the Release folder place.

I have also others command that didn’t work.

I’m probably using the tool in the wrong way with the wrong command but I don’t know what to do now.

Probably there is a way to linked directly the build wrapper to my project to have the same compilation options like there are in IDE ?

Thank you for your help.

Hey there.

What version of SonarQube are you using?

Hello,

I was now able to work with build-wrapper and also sonar-scanner.

I use the “make” command for Windows thanks to mingw32.
I run the build-wrapper with the following command :

  • " build-wrapper-win-x86-64.exe --out-dir build-wrapper-output mingw32-make.exe -f .\makefile" (The folder that contain mingw32-make.exe is set in environment variable).
    I launch the command above in “Release” folder where the makefile is.

For the sonar-scanner, I launch the command in the parent folder of Release directory and it is working :slight_smile:

Thank you

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.