DUB Different Library Name

serh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jul 11 19:14:04 PDT 2015


On Sunday, 12 July 2015 at 01:17:27 UTC, Mike Parker wrote:
> No Derelict package has a compile-time or link-time dependency 
> on the libraries they bind. The libraries are loaded at run 
> time. DUB doesn't know anything about those libraries, so you 
> shouldn't be seeing such an error with 'dub build'. The only 
> time you should see it is when trying to run the program. Could 
> you please post the command line you used and the exact errors 
> you're seeing?

You are right, I am running dub run, I made a mistake in the 
original post.

This is what I get when I run "dub" in the directory:
http://codepad.org/BpnOHVSV

As mentioned, I already have respective Allegro libs installed, 
but as liballegro.so.5.0 instead of liballegro-5.0.so and so on.
The C++ linker sees them fine, but I am not sure how to make 
dmd/DUB see the correct libraries to link.


More information about the Digitalmars-d-learn mailing list