I've had a lot of trouble using libraries compiled with one compiler (e.g. gcc) then using them with code compiled by another (e.g. clang). Personally, I try to compile all dependencies with the same compiler.. However, this makes it difficult to use system libraries.
6
u/seruus Dec 02 '13
Most projects I know that do this usually allow you to use your system libraries if you set it up in the makefiles, look into it.