DUB: How to link an external library on Windows 10?

Mike Parker aldacron at gmail.com
Fri Aug 27 13:54:25 UTC 2021


On Friday, 27 August 2021 at 13:41:56 UTC, Ki Rill wrote:

>
> I have downloaded the pre-compiled binaries from the official 
> [Raylib ](https://github.com/raysan5/raylib/releases/tag/3.7.0) 
> repo.
>
> I'm not using Visual Studio. Only dub and a text editor.

But assuming you are on a 64-bit system, the DMD will use Visual 
Studio's linker if you have it installed. If you don't, it will 
use the lld linker it ships with. Either way, you need to raylib 
to be compiled with he same version of the MS Build tools so that 
you don't have conflicts the the vs runtime.


More information about the Digitalmars-d-learn mailing list