Im trying to use the crate "sondio" to use a mic in a raspberry programming in rust.
The problem that i have is when compiling the code(with "cargo b"), and the problem i think its because the libs are static but i cant find a solution.
The missing symbols seem like they're part of alsa as libasound, not libsoundio. libsoundio looks to be getting bundled anyway.
Not sure offhand how to fix it since I don't have a lot of experience with sys packages in rust. The problem is libsoundio-sys probably isn't pulling in -lasound, but I don't know if that is a pkg-config problem or what without looking closer.
nono, im compiling directly on raspberry. I comunicate with the rasp for ssh. I saw on a forum a way for install the library using the cmake, but its doesn't work anyway.
i clone the "soundio-rs" from github and try to execute the examples and didnt work either.
I continue with this projects this week and, the main error is this. I Was looking for on internet, but it didnt solve, with gcc... and everything i could see on forums. Have You know how to solve this?
You'll need to find some way to install the development files for the library. If you are running the latest version of Raspian on the armhf architecture, the libsoundio-dev package should be in the main Raspian repository; you can find the file here.
If the package isn't in your distro for some reason, you might need to install libsoundio from source.