Gwen
393a3d74c7
Trying this out on my desktop, and I can't seem to link to EGL. I recall facing this issue before, but I don't think I wrote down my findings so sadly I am in the dark. I checked using `dpkg -L` against the mesa libraries to see if libEGL.so was installed and it seems like it is. I think the problem is that it has a version number appended to the end of the filename. I don't know if zig will accept it unless I symlink it to the name without the versions? Maybe there is a better way around this. |
||
---|---|---|
deps | ||
src | ||
.gitignore | ||
.gitmodules | ||
README.md | ||
build.zig |
README.md
Zig & Wayland hello triangle
Create a triangle with opengl using zig and wayland, using OpenGL, EGL, and Wayland directly.
Troubleshooting
If failed to link with EGL on ubuntu, check to see if libEGL.so is installed at one of the directories specified by the zig search paths.
Ubuntu/Debian
dpkg -L libegl1-mesa libegl1