banananasB
Denoβ€’16mo agoβ€’
3 replies
banananas

[SOLVED] dlopen failing

When I try to use Deno.dlopen() like this:
Deno.dlopen("./SDL2.dll", {} as const);

I get the following error:
error: Uncaught (in promise) TypeError: Deno.dlopen is not a function
Deno.dlopen("./SDL2.dll",{} as const);
     ^

Does anyone know why this could be happenning and how I could solve it?
Thanks in advance.
Was this page helpful?