Open ds604 opened 1 year ago
export function getOutFileName(): string {
switch (Deno.build.os) {
case "windows": {
return "imgui_windows.js";
}
case "linux": {
return "imgui_linux.js";
}
default:
throw Error("need more work!");
}
}
as you can see, windows and linux have their implementation but other os dont.
I'm getting errors trying to run some of the examples. Here are the ones that run correctly and the ones that don't:
System: MacOS 11.6.8 Deno: 1.31.2
I'm running examples from the links like this:
$ deno run -Ar --unstable https://raw.githubusercontent.com/deno-windowing/dwm/main/examples/canvas.ts
Most examples give this error:
imgui error:
imgui2:
opengl: