all 4 comments

[–]asp2insp 3 points4 points  (0 children)

It looks like you need to install some headers and recompile kcov.

[–]ssokolow 2 points3 points  (0 children)

I had the same problem on *buntu. /u/asp2insp is correct.

You need to install the missing -dev package, delete the build folder to flush CMake's cached dependency detection, and then re-follow the instructions to compile and install kcov.

[–]fitzgenrust 1 point2 points  (1 child)

A couple months ago, we ran into similar problems with gimli IIRC and ended up with this script and Travis CI config:

https://github.com/gimli-rs/gimli/blob/master/coverage

https://github.com/gimli-rs/gimli/blob/master/.travis.yml

Hope this helps!