Closed AndreKR closed 5 months ago
To build Windows I've been using a Docker container because that seemed like the easiest way. I have updated https://github.com/devgianlu/go-librespot/pull/4 with the build instructions. I have also rebased on master to fix the missing functions so you may need to git reset.
To get somewhere with the build, I took these steps first:
c:\dev\tools\msys64
).pacman -S pacman -S mingw-w64-ucrt-x86_64-gcc
.c:\dev\tools\msys64\ucrt64\bin
to the PATH.pacman -S mingw-w64-ucrt-x86_64-pkg-config
pacman -S mingw-w64-ucrt-x86_64-libogg
pacman -S mingw-w64-ucrt-x86_64-libvorbis
PKG_CONFIG_PATH=c:\dev\tools\msys64\ucrt64\lib\pkgconfig
.Then I had to add two new functions to
output/driver_windows.go
to satisfy the interface:But now I get:
Famously CGO is not Go, and I have no idea what this error even means.