Skip to content
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

compilation error #41

Closed
markbil opened this issue May 2, 2020 · 2 comments
Closed

compilation error #41

markbil opened this issue May 2, 2020 · 2 comments
Labels

Comments

@markbil
Copy link

markbil commented May 2, 2020

barnard doesn't compile properly on my end:

I installed Go on my Ubuntu machine via

sudo apt install golang

and then ran

$ go get -u layeh.com/barnard

However, next thing I get is this compilation error:

> # github.com/dchote/go-openal/openal

In file included from src/github.com/dchote/go-openal/openal/alcCore.go:24:0:
./local.h:5:9: fatal error: AL/al.h: No such file or directory
 #include<AL/al.h>
         ^~~~~~~~~
compilation terminated.

Am I doing something wrong? Thank you!

@FanchenBao
Copy link

FanchenBao commented May 2, 2020

I used barnard a while back on raspberry pi and wrote a step-by-step instruction. You can refer to that doc, but keep in mind that I was on Raspbian, not Ubuntu. Basically, you need to configure GO, install openAL, and install opus before installing barnard.

@markbil
Copy link
Author

markbil commented May 2, 2020

fantastic, thank you! I didn't have openAL and opus installed. Installing those packages did the job:

sudo apt-get install libopenal-dev libopus-dev

@ghost ghost added the question label May 2, 2020
@ghost ghost closed this as completed May 2, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants