You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static glfw should already have platform libs linkage. If you compile glfw from source, maybe try add_directory(glfw_src_path) in cmake, that's the preferred way to include it to client project.
I've tested linking against a static glfw, with makefiles and ninja, and I got no problem. I'm on Debian testing, maybe give details on your platform, if I have time, I will test.
I installed GLFW3 from source, at it installs as static library by default.
How to link it properly:
pkgconf --static --libs glfw3
-lX11
after each-lm
inbuild.ninja
(better to do it in CMakeLists.txt)The text was updated successfully, but these errors were encountered: