OSX, Need help with Compiling and linking errors

Mike Parker via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jul 13 02:49:09 PDT 2014


On 7/13/2014 2:28 PM, Israel Rodriguez wrote:

> What about the dub libraries, what kind of errors do you get if you try
> to use a library not compatible for your system, say OSX or Linux? Im
> assuming the same linking errors but im not sure.

dub doesn't download library binaries, but the source. It compiles each 
dependency along with your project (generally only once, unless you 
--force a rebuild or -upgrade the libraries) using the same compiler 
that is used to compile your source. So if any given library is using 
something that is unavailable on your platform, you will see 
compile-time errors rather than linker errors.

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com



More information about the Digitalmars-d-learn mailing list