- Developer Edition
- Version 8.3.1 (build 34397)
INFO: Scanner configuration file: /opt/sonar-scanner-18.104.22.1682-linux/conf/sonar-scanner.properties
INFO: Project root configuration file: /opt/git/etm/appliance/sonar-project.properties
INFO: SonarScanner 22.214.171.1242
INFO: Java 11.0.3 AdoptOpenJDK (64-bit)
INFO: Linux 2.6.32-754.27.1.el6.x86_64 amd64
build-wrapper, version 6.9 (linux-x86)
g++47 (GCC) 4.7.0 20120507 (Red Hat 4.7.0-3)
Unable to get my C/C++ project scanned
Our project builds with make.
There is a top-level make the calls makes within the subirs.
I tried the build-wrapper-linux-x86-64 … at the top level
Here is the top level make command I used:
build-wrapper-linux-x86-64 --out-dir /opt/git/etm/appliance/bwod/ make
The build completed under build-wrapper-linux-x86-64.
- Lots of data in the build-wrapper.log file.
- Nothing in the build-wrapper-dump.json.
An empty .json causes sonar-scanner to warn and exit.
I also tried integrating the build-wrapper-linux-x86-64 … into my make files so that it ran at each level. Doing that caused the build-wrapper.log and build-wrapper-dump.json files to get reset for each sub-make (which makes sense)
At one point the docs had me download a cfamily jar file. Where does that go?
Any ideas on what I am doing wrong?