Just to point out the obvious and make sure we are on the same page, when you using the prebuilt binary on Raspbian Stretch then you have to use “snapshot” versions instead of “1.7” release version.
As for your last error, I have never seen it before. In the past I remember one of the RPI user reported that the sample ran but he got no input. However, eventually he managed to solve that problem after installing missing dev packages (I think) and rebuild. Ensure you have the libdbus-1-dev, libudev-dev, and libevdev2 installed.