-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues installing on Windows #47
Comments
Hi Aidan, I'm not using Windows but maybe I can help. Is there not a way to install a pre-compiled PortAudio on MinGW? I see there are some package managers, but I don't know if there is a package for PortAudio. I suspect you're missing a You can run
This is how cgo works: A magic comment preceding the import of pseudo-package |
Hi Aidan, Msys2 provides MinGW + Pacman, the Arch Package Manager. Through Pacman you can install most libraries, incl. portAudio. Another option for running gcc on Windows is tdm-gcc. I also made good experience with tdm-gcc compiling cgo projects natively on Windows hosts. For cross-compiling, feel free to fork and adjust remoteAudio-xcompile to your needs. |
I am having the exact same issue. I've added the location to the PKG_CONFIG_PATH but there's no difference |
I believe this issue was solved by @dh1tw's suggestion. If not, please re-open. |
I eventually tried to do this myself and ran into the same problem as @Raraku. Getting this error:
in spite of this working as expected:
I was able to solve the problem by installing
I have no idea why the pre-installed pkg-config did not work as expected. |
Hi,
I am trying to attach to audio streams on windows with go and have found many sources pointing to this package but I am having issues when running the
go get
command. Here are the steps I have taken so far:PKG_CONFIG_PATH
environment variablego get github.com/gordonklaus/portaudio
When I run the final command I get this error:
When looking at the file mentioned here I find that line 16 is contained in a multi line comment, so the fact that it is complaining makes no sense to me. Is there something that I have done wrong?
The text was updated successfully, but these errors were encountered: