Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error running the triangle example #15

Closed
VarLad opened this issue Jan 25, 2024 · 4 comments
Closed

Error running the triangle example #15

VarLad opened this issue Jan 25, 2024 · 4 comments

Comments

@VarLad
Copy link
Member

VarLad commented Jan 25, 2024

Hey! There seem to be some issues in the examples/triangle.jl file

ERROR: LoadError: MethodError: no method matching getCanvas(::Symbol)

Closest candidates are:
  getCanvas(::Val{:FallbackCanvas})
   @ WGPUCore ~/.julia/packages/WGPUCore/RwBiz/src/canvas.jl:57
  getCanvas()
   @ WGPUCore ~/.julia/packages/WGPUCore/RwBiz/src/canvas.jl:53

Stacktrace:
 [1] top-level scope
   @ /tmp/triangle.jl:36
in expression starting at /tmp/triangle.jl:36
@arhik
Copy link
Member

arhik commented Feb 21, 2024

platform and other details of julia and WGPUCanvas versions you are using will help. Will look into as soon as I get those information.

@arhik arhik pinned this issue Feb 21, 2024
@arhik
Copy link
Member

arhik commented Feb 22, 2024

@VarLad Found the issue. You will have to include WGPUCanvas library for this to work.

@arhik
Copy link
Member

arhik commented Mar 7, 2024

@VarLad You can close this if its solved.

@VarLad
Copy link
Member Author

VarLad commented Mar 18, 2024

Works now!

@VarLad VarLad closed this as completed Mar 18, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants