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

undefined: oto.newPlayer #724

Closed
LsHallo opened this issue Jun 16, 2020 · 2 comments
Closed

undefined: oto.newPlayer #724

LsHallo opened this issue Jun 16, 2020 · 2 comments

Comments

@LsHallo
Copy link

LsHallo commented Jun 16, 2020

# github.com/EngoEngine/engo/common
..\..\EngoEngine\engo\common\audio.go:90:22: undefined: oto.NewPlayer

I'm new to the whole go thing and I was just installing engo and testing the pong sample. For that I created src in $GOPATH and hello.go (just fmt.printLn('Hello')) works fine. Then I went on to test the pong demo and I got a whole bunch of missing x. Then I used go get in the dir of the pong demo and now I have the above error.

Platform: Windows 10 mingw64

Also made sure to run git checkout v1.0.4 in engo and v1.0.3 in ecs

@Noofbiz
Copy link
Member

Noofbiz commented Jun 16, 2020

Try go get github.com/EngoEngine/engo@master in your project repo to fix it. The previous versions use an earlier version of oto, hence the issues. Not sure why go mod doesn't just use the right version of oto like it's supposed to though xD.

@LsHallo
Copy link
Author

LsHallo commented Jun 16, 2020

That seems to have fixed it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants