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

flappy can't be compiled #3059

Closed
1 of 11 tasks
skyqvn opened this issue Aug 6, 2024 · 3 comments
Closed
1 of 11 tasks

flappy can't be compiled #3059

skyqvn opened this issue Aug 6, 2024 · 3 comments

Comments

@skyqvn
Copy link

skyqvn commented Aug 6, 2024

Ebitengine Version

v2

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • Nintendo Switch
  • PlayStation 5
  • Xbox
  • Web Browsers

Go Version (go version)

go1.21

What steps will reproduce the problem?

.\main.go:160:23: undefined: vorbis.DecodeF32
.\main.go:164:37: g.audioContext.NewPlayerF32 undefined (type *"github.com/hajimehoshi/ebiten/v2/audio".Context has no field or method NewPlayerF32)
.\main.go:169:19: undefined: wav.DecodeF32
.\main.go:173:36: g.audioContext.NewPlayerF32 undefined (type *"github.com/hajimehoshi/ebiten/v2/audio".Context has no field or method NewPlayerF32)

What is the expected result?

nothing

What happens instead?

nothing

Anything else you feel useful to add?

nothing

@skyqvn
Copy link
Author

skyqvn commented Aug 6, 2024

if i don't use go.mod,it can run.but if so ,goland cant analyze code

@hajimehoshi
Copy link
Owner

v2

Which version?

@hajimehoshi
Copy link
Owner

I guess you are running v2.8 (main) code with Ebitengine v2.7. The F32 APIs were introduced as of v2.8.

@hajimehoshi hajimehoshi closed this as not planned Won't fix, can't repro, duplicate, stale Aug 6, 2024
@hajimehoshi hajimehoshi added wontfix and removed bug labels Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants