3 ms·
C/C++ library dependencies are a thing, and there's no universal solution to acquiring and installing them.
by duskwuff 11mo ago
C/C++ library dependencies are a thing, and there's no universal solution to acquiring and installing them.
- bayindirh 11mo agoThe most universal thing in C/C++ is vendoring, IMHO. If you are distributing source, you distribute everything. Then, it only needs a compiler and libc. That vendored package is tested, and it works on your platform, so there's no guesswork.
- allovertheworld 11mo agoNot really since those vendored libraries would have their own dependencies as well
- duskwuff 11mo agoThat might work for small, self-contained dependencies in projects which aren't themselves libraries. But good luck vendoring your deps when one of those deps is something really large like Qt or WebKit, or if you're building a library that other applications need to be able to link against.