ggerganov / kbd-audio

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

error al compilar #46

Closed Dari0GR closed 2 years ago

Dari0GR commented 2 years ago

Amigo buen dia. Cuando ejecuto "make" comienza a cargar del 1 al 100% pero en el 28% me muestra : /Users/dariogr/Desktop/kbd-audio/keytap-gui.cpp:618:28: warning: variable 'curosum' set but not used [-Wunused-but-set-variable] double curosum = 0.0; ^ 1 warning generated. Y en el 60% me muestra:

/Users/dariogr/Desktop/kbd-audio/keytap.cpp:499:28: warning: variable 'curosum' set but not used [-Wunused-but-set-variable] double curosum = 0.0; ^ /Users/dariogr/Desktop/kbd-audio/keytap.cpp:566:99: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] printf(" Adding waveform %d - cc = %g, offset = %ld\n", iwaveform, cc, offset);


                                                                           %lld

Podrías ayudarme por favor. Saludos
Dari0GR commented 2 years ago

Podria alguien ayudarme por favor? estoy atorado en esta parte

ggerganov commented 2 years ago

Please use English in your posts - there is a higher chance someone will help you.

If you are asking about the meaning of the "warnings" during compilation - these are normal. They are not errors. You can safely ignore them.

Dari0GR commented 2 years ago

But when I want to use the tools, for example, ./record output.kbd I get the following:

./record output.kbd Usage: ./record output.kbd [-cN] -cN - select capture device N -CN - number N of capture channels N

Recording 11 frames per key press Found 1 capture devices: