ggerganov / kbd-audio

🎤⌨️ Acoustic keyboard eavesdropping
https://ggerganov.github.io/keytap
MIT License
8.54k stars 586 forks source link

Linker error for OpenGL #4

Closed firebovine closed 5 years ago

firebovine commented 5 years ago

There's a linker error for the -gui applications regarding GL. I've fixed it by adding a line to CMakeLists.txt. This makes compiling seem to work. I don't do C/CPP/make/cmake though, so please verify this is the issue. It seems related to some of the issues seen in issue #2, as well. I'll submit a PR once I figure out how to.

I used a docker container (debian:testing) with the following dependencies installed:

git build-essential cmake libsdl2-2.0-0 libsdl2-dev libfftw3-3 libfftw3-dev

Edited: Used debian:testing for (required) latest version of cmake.