Open dkiszkiel opened 6 years ago
I just realized the docs are not updated to reflect what I just said, sorry about that. I am helping out with keeping things current with newer Swift versions but have had limited time to make things as polished as they could be.
This library currently using a manually installed version of GLFW because the current version 3.2.1 has bugs on Mac and Linux that were causing issues that are fixed in 3.3 which wasn't available yet through apt. When you install it manually it doesn't have the "-dev" suffix that is added by the apt tool.
There are also short comings in the Swift Package manager that are being worked on around trying to integrate better with system libraries with various paths and names on different operating systems. Supposedly you can use an option that talks to pkgconfig (I think that is what it is called) that is a program that can be installed that helps abstract the names and paths out of the Package.swift file but I don't think it is something that is as easy as it sounds as it is not something that is installed by default especially on macOS.
In the mean time I would like to keep this as is and require a manual install of GLFW. I will be looking at this again when Swift 5 comes out and hopefully there are better options by then or at least GLFW will be fully on version 3.3 and things will be easier.