Linking a shared library in dub

Vadim Lopatin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Mar 30 05:46:08 PDT 2016


On Wednesday, 30 March 2016 at 12:19:34 UTC, maik klein wrote:
> I want to finally convert my project to windows. That means 
> that I want to build it on windows and linux.
>
> The problem is that I have one external c library 'glfw'. I 
> thought that I would just link with it explicitly but actually 
> I am not completely sure how.

Try using Derelict based binding

http://code.dlang.org/packages/derelict-glfw3




More information about the Digitalmars-d-learn mailing list