Suppose I have an application written in C++, which uses WxWidgets (or some other library) for gui. When an end-user installs my application, how do I make sure they also install the necessary dependencie(s).
Should I include the source/header files for the library within the download, such that they get compiled with the source files I write, when the user installs? Should some external package manager always be used to install dependencies?
When I install a game on windows, I notice it always checks to see if VisualC++11 is installed, how do installers instruct the user computer to install VisualC++?
I can't seem to find any concrete answers to this question (maybe there isn't a concrete answer), so any help would be appreciated.