I’m trying to setup up the evaluation version of sonarqube and sonar-scanner to scan my visual studio c++ projects, and am running into some basic config difficulties.
I’ve managed to generate my build-wrapper.log and build-wrapper-dump.json. The problem is that when I run sonar-scanner I get the message
ERROR: Error during SonarScanner execution
The only way to get an accurate analysis of C/C++/Objective-C files is by using the SonarSource build-wrapper and setting the property “sonar.cfamily.build-wrapper-output”, but it was not specified.
I do have a sonar-scanner.properties in the root directory of the project, and it contains
#Configure here general information about the environment, such as SonarQube server connection details for example
#No information about specific project should appear here
#----- Default SonarQube server
#----- Default source code encoding
The environment is odd in that the root directory of the project does not contain the solution file, that’s in a subdirectory (mk32).
So, my questions are:
Any idea why it can’t find the buidl-wrapper files?
What should the sonar.sources point to?