[swift-users] Learning OpenGL with Swift
dturnbull at gmail.com
Tue Feb 23 15:43:32 CST 2016
I test that Ubuntu 14 can build the project. Beyond that I plan to depend
on feedback like yours to smooth out Linux.
Check out the modulemap for the Linux GLFW. What you need to fix is likely
in there. Honestly, I built it with trial and error.
If you get it working, please let me know what Linux you are using and send
me the code. (github ticket, email, carrier pigeon, whatever).
I looked for something with less friction than GLFW but came up empty. It's
possible to make a pure Swift replacement, but I don't have the resources
to make that happen any time soon.
On Tue, Feb 23, 2016 at 1:00 PM, Marco Feltmann <coding at marcofeltmann.de>
> Hey David,
> I really appreciate this idea!
> Unfortunately when I try to build the `Hello Window` tutorial Linux
> tells me the linker couldn't find -lglfw3 although I installed it
> Well, since I'm on Linux I modified the Package.swift and removed the
> Dependency Adding stuff since I only need the CGLFW3Linux.git
> I have no clue where this linking is done so I'm unable to optimize the
> `3` out of the linking. My distribution does only support GLFW3 and has
> no support for GLFW2, so maybe they simply renamed it?
> If you could point me to the right direction I'd like to dig deeper into
> your tutorials.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users