mach
mach copied to clipboard
zig game engine & graphics toolkit
`fatal error: 'ObjIdl.h' file not found` etc. because Linux is typically case-sensitive filesystem. Doesn't affect macOS->windows or windows natively because both are case-insensitive. At least these instances are problematic: https://sourcegraph.com/search?q=context:global+repo:%5Egithub%5C.com/hexops/+%3CWindows.h%3E+OR+%3CObjIdl.h%3E++fork:yes&patternType=standard&case=yes
` zig build run-example-triangle error: Gamemode error error.RequestFailed -> dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Warning: libGLX_nvidia.so.0: cannot open shared object file:...
This happens only in debug builds when creating (some) graphics pipelines. Windows 11, D3D12 backend. ``` Illegal instruction at address 0x7ff6a966b26d D:\a\mach-gpu-dawn\mach-gpu-dawn\libs\dawn\src\dawn\native\stream\Stream.h:155:0: 0x7ff6a966b26d in awn::native::stream::Stream::Write (dawn.lib) D:\a\mach-gpu-dawn\mach-gpu-dawn\libs\dawn\src\dawn\native\stream\Stream.h:51:0: 0x7ff6a966b10f in awn::native::stream::StreamIn...
I'm still using my own freetype zig fork for now and haven't had time to contribute (sorry!) but I ran into this and I think you will too. Some Emoji...
compiled latest (88558b7d522dc9f6b41edf1ee33eb38b3fc59cda as of this moment) with the linked zig revision in readme, tried both cross build and native on windows 10 (developer mode, not wsl) and ubuntu 22.04,...
without manually trying `MACH_GPU_BACKEND=opengl` and so on.
`MACH_GPU_BACKEND=opengles` should work on Linux out of the box. This is particularly useful because many Mesa drivers do not have OpenGL 4.5, but rather just OpenGL 4.4 It appears we...