2 ms·
I don't know WTF is going on in C++ world but they seem to be unable to adopt a build & dependency management system given all the historical baggage. In Pytho
by zaptheimpaler 6y ago
I don't know WTF is going on in C++ world but they seem to be unable to adopt a build & dependency management system given all the historical baggage.
In Python:
. ./venv/bin/activate
pip install -r requirements.txt
In Java:
mvn build
In C++:
cat README.txt ..... now go apt install some packages. Except they might be named differently in your distro. Also some of them might be a different version but my README specifies no version, so it might fail to compile or error out later because of a header mismatch. Also the one available in your distro might not be compiled with the "X_POTATO=1" flag (which you will discover somewhere along the way is required), so its time to build that dependency from source and restart this whole dependency management hell one layer down have fun :)
There are different versions of compilers supporting different features floating around, but Makefiles or whatever don't specify that. Build dependency management is frequently something like `sudo apt install...`, tying the build process into packages installed in the OS itself rather than being sandboxed which creates all sorts of problems.