questions about dub

kinke via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Mar 21 14:50:28 PDT 2017


On Tuesday, 21 March 2017 at 21:01:31 UTC, thorstein wrote:
> C:\..\AppData\Roaming\dub>dub run mir-algorithm
> Building package mir-algorithm in 
> C:\..\AppData\Roaming\dub\packages\mir-algorithm-0.1.1\mir-algorithm\
> Fetching mir-internal 0.0.5 (getting selected version)...
> Main package must have a binary target type, not sourceLibrary. 
> Cannot build.
>
> Thats where I stuck.

mir is a library, not a program, and dub handles this dependency 
(and its dependencies) for you if you are going to use it in your 
program. Check out the official mir docs about how to get up & 
running with dub:

https://github.com/libmir/mir#fast-setup-with-the-dub-package-manager


More information about the Digitalmars-d-learn mailing list