mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-26 13:25:49 +03:00
[GH-ISSUE #52] Cross-compiling on ubuntu x86_64 to darwin amd64 fails with error in output.go and clang #45
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#45
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 @andrewl on GitHub (Jul 25, 2024).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/52
`GOOS=darwin GOARCH=amd64=1 go build -o go-librespot-daemon ./cmd/daemon
go-librespot/output
output/output.go:8:3: undefined: output
output/output.go:56:14: undefined: newOutput
runtime/cgo
clang: error: argument unused during compilation: '-arch x86_64' [-Werror,-Wunused-command-line-argument]
`
@devgianlu commented on GitHub (Jul 25, 2024):
There is no output driver available for Darwin. Only ALSA is currently supported.
@andrewl commented on GitHub (Jul 25, 2024):
Ah, that's a shame - was hoping to get spotify output on an old 2009 macbook. Thanks for the quick response.
@devgianlu commented on GitHub (Jul 26, 2024):
The output driver for Windows is also not supported, but that one at least I can test. The MacOS one seems a bit of a nightmare. If you wanted to try and implement it yourself you can get insipiration from oto.
@tooxo commented on GitHub (Aug 12, 2024):
If you are still interested, I just put up a PR implementing macos audio, it would be very helpful if you could test it on your device, and maybe provide some kind of feedback! @andrewl #59