Closed jackz314 closed 6 years ago
Never mind, the programmatical problem solved, after a round of research, I found out that when compiling (making) libgestures, the newer version (which is probably what most people have right now) of gcc (7.1 +) will mark '' s in a bool or if statement as errors. I solved the problem by introducing local variables to store the values and use variables in the if statements instead of '' direct calculations, I've made a pull request (or two) in the libgestures repository, hope it helps those who are also frustrating with these similar errors.
I tried to compile the drivers but soon figured out I was missing libgestures and libevdevc, so I went and try to install them, installing libevdevc went well while installing libgestures failed because of several( programmatical) errors:
Then I saw a pull request that wasn't approved, it adds a line
+#include <math.h>
which solved that sqrtf() problem, but then the ultimate error came:I'm really baffled by how difficult this whole compile/install process is, I had to manually install all kinds of packages to get the compiling working, but in the end, there's still one (or more) error that made the whole process impossible. Am I missing something or is there a problem with the repository? If there's this problem in the file, how did all these other people get their drivers installed? Please help me out, thanks in advance!