layeh / barnard

barnard is a terminal-based client for the Mumble voice chat software
GNU General Public License v2.0
150 stars 46 forks source link

compilation terminated error when installing #16

Closed njaxx closed 8 years ago

njaxx commented 8 years ago

I get this message when trying to install. I know nothing about go other than hello world which confused me to the extent that I stopped investing time in picking up go and switched to android development as my primary time sink ¯_(ツ)_/¯

$ go get -u github.com/layeh/barnard/cmd/barnard
# github.com/timshannon/go-openal/openal
In file included from dev/go/src/github.com/timshannon/go-openal/openal/alcCore.go:24:0:
local.h:5:18: fatal error: AL/al.h: No such file or directory
 #include<AL/al.h>
                  ^
compilation terminated.

Thanks for any tips.

ghost commented 8 years ago

You need to have OpenAL development library and headers installed.

Installing on Ubuntu:

sudo apt install libopenal-dev

After running the above command, re-run the go get -u ... command.

njaxx commented 8 years ago

Worked, thanks!