mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #174] Crosscompiling with PortAudio fails #115
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#115
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TheBigFatTony on GitHub (Feb 28, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/174
I want to compile librespot-org from my Fedora 27 to my Raspberry Pi Model B Rev 2 with the PortAudio backend using this command:
docker run -v /tmp/librespot-build:/build:Z librespot-cross cargo build --release --target arm-unknown-linux-gnueabi --no-default-features --features portaudio-backendBut it fails with this error:
Full output: https://pastebin.com/Y3C5GQ3c
How can I set PKG_CONFIG_ALLOW_CROSS to 1?
Can anyone help me fix this?
(If I set
--featurestoalsa-backend, it compiles and runs on the Raspberry Pi, although there is no sound just weird beeps. Full output: https://pastebin.com/ezi5B76e)@sashahilton00 commented on GitHub (Feb 28, 2018):
Run the docker command like this:
The best place to discuss this is on the Gitter chat, as responses will be faster, and this isn't really an issue with librespot. You can find the chat here. Hope to chat there :) Will close this in the meantime.