I’m making an attempt to jot down a go program to seize audio to an array utilizing portaudio.
I’m doing this on a chromebook utilizing Termux with go put in.
Once I get GitHub – gordonklaus/portaudio: Go bindings for the PortAudio audio I/O library the package deal seems below the src folder. Nevertheless if I attempt to import the package deal in a program, or if a attempt to construct or set up the package deal, I get:
~/go $ go run myprogram.go
Package deal portaudio-2.0 was not discovered within the pkg-config search path.
Maybe you need to add the listing containing `portaudio-2.0.laptop’
to the PKG_CONFIG_PATH surroundings variable
No package deal ‘portaudio-2.0’ discovered
pkg-config: exit standing 1
~/go $
Can anyone assist?
You want to set up the portaudio-2.0
improvement package deal on your working system and pkg-config
.
Portaudio-2.0 isn’t listed within the Termux pkg checklist. Does that imply that it may possibly’t be performed?
You may at all times attempt to self package deal.
However aspect, I used to be unable to search out any point out of official android assist for portaudio. So I doubt that’ll be a simple job.
You want to set up the portaudio’s improvement headers.
On Debian-based programs, run sudo apt set up portaudio19-dev
.
This matter was routinely closed 90 days after the final reply. New replies are now not allowed.