I am trying to use the github.com/gordonklaus/portaudio library. This library requires portaudio to be installer. I have built a 64-bit dll of the actual C portaudio library, as the go package requires.
Running go get github.com/gordonklaus/portaudio
results in the following output:
# pkg-config --cflags portaudio-2.0
Package portaudio-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `portaudio-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'portaudio-2.0' found
pkg-config: exit status 1
Obviously, cgo is trying to run pkg-config for the portaudio library. I need to make sure it finds it and uses it correctly. However, I do not know how to achieve this on Windows.