Failed to build OpenGMK: alsa not found

#7 · open · 0 comments

View on GitHub ↗

M0REKZ

alsa is not available in macOS (it is linux-only as i see while investigating in the internet) but seems it is optional, sadly i dont know how to disable this for a external library in rust https://github.com/Adamcake/udon/blob/1ae3cdce620acdaa7996315c05a98a0f12ed8745/libsoundio-sys/libsoundio/CMakeLists.txt#L38 ```--- stderr thread 'main' panicked at /Users/USERNAME/.cargo/git/checkouts/udon-e6c316ee3c0ab416/1ae3cdc/libsoundio-sys/build.rs:71:54: called `Result::unwrap()` on an `Err` value: pkg-config exited with status code 1 > PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags alsa pkg-config output: Package alsa was not found in the pkg-config search path. Perhaps you should add the directory containing `alsa.pc' to the PKG_CONFIG_PATH environment variable Package 'alsa' not found The system library `alsa` required by crate `libsoundio-sys` was not found. The file `alsa.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory. The PKG_CONFIG_PATH environment variable is not set. HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `alsa.pc`. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish...

Comments