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

GlfwError: 65542 WGL #5

Open
jake22lindsay opened this issue Dec 7, 2022 · 5 comments
Open

GlfwError: 65542 WGL #5

jake22lindsay opened this issue Dec 7, 2022 · 5 comments

Comments

@jake22lindsay
Copy link

I downloaded and ran the two moving rectangles starter program, but I seem to missing a driver of some sort. The full error is below. Has a solution been found for this problem?

Full error:
GlfwError: 65542 WGL: OpenGL ES requested but WGL_ARB_create_context_es2_profile is unavailable
error: Uncaught (in promise) Error: Failed to create window
throw new Error("Failed to create window");
^
at new WindowGlfw (https://raw.githubusercontent.com/deno-windowing/dwm/main/src/platform/glfw/window.ts:563:13)
at createWindow (https://raw.githubusercontent.com/deno-windowing/dwm/main/src/platform/mod.ts:29:10)
at new WebGLCanvas (https://raw.githubusercontent.com/deno-windowing/gluten/main/src/webgl/canvas.ts:18:19)
at new World (https://deno.land/x/caviar@2.6.0/src/World.ts:22:5)
at file:///C:/Users/jakel/OneDrive/UNH/sem7/IT%20505/repos/finalproject/app/app.ts:16:14

@load1n9
Copy link
Owner

load1n9 commented Dec 7, 2022

maybe try using an older version of caviar while i fix this

@jake22lindsay
Copy link
Author

Update:
Versions 2.4.0 and 2.5.0 lead to a different issue. Any previous versions invalidates the code provided in the two rectangle example.

error: Uncaught (in promise) TypeError: Invalid FFI pointer type, expected null, integer or BigInt
this.handle = glfw.createWindow(
^
at Object.eval [as createWindow] (eval at DynamicLibrary (deno:ext/ffi/00_ffi.js:360:34), :4:13)
at new Canvas (https://deno.land/x/daybreak@v0.0.6/src/web/canvas.ts:52:24)
at new World (https://deno.land/x/caviar@2.4.0/src/World.ts:18:5)
at file:///C:/Users/jakel/OneDrive/UNH/sem7/IT%20505/repos/finalproject/tests/caviar.ts:16:14

@load1n9
Copy link
Owner

load1n9 commented Mar 10, 2023

is this still broken?

@SunOfHomeBoy
Copy link

is this still broken?

yes, please repair as soon as possible

@SunOfHomeBoy
Copy link

Besides, the link in Readme opens as 404
image
image

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

3 participants