It depends on the specific libraries. There are three types of libraries:
- Libraries for headers only - these dependencies are resolved at compile time.
- Static libraries - these dependencies are resolved during the connection.
- General (dynamic) libraries - these dependencies are resolved at runtime.
In most Boost libraries, header-only : when linking, they do not require separately compiled libraries or special handling. Other libraries are static, i.e. They are only needed during assembly for assembly. The only libraries that should be available on the target machine are dynamic (shared) libraries; if you do not have dynamic library dependencies, copying the executable file and setting the appropriate permissions will work fine.
source share