Using Libraries

Darren via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Sep 20 08:01:58 PDT 2016


Hey, all

I keep hitting roadblocks and that's mainly due to not knowing 
how to include libraries.  So far I've been getting by with 
downloading .dll's and including the necessary dependencies in 
the dub.json file and having that build/run my project.  I'm sure 
I'm making a mess of that, too, but it works and now I need to 
learn how to include static libraries (and probably understand 
github and other dub features).

Right now, for example, I want to use the gl3n package: 
https://github.com/Dav1dde/gl3n

What do I need in order to build libraries, and have dub include 
them when I import modules?   Can I keep all of the libraries in 
one place so I'm not copy-pasting them (like in lib and bin 
folders that I keep seeing)?

As you can tell, I'm still very new to all of this and I have no 
idea where to start.  Thank you for your time!


More information about the Digitalmars-d-learn mailing list