Find out which version of Boost was used to compile the executable / DLL

Can I use "lines" or some otehr command to decide which version of Boost was used to compile a particular executable or .so? All I have is the executable /.so itself.

+4
source share
1 answer

Boost is basically a header-only library, with extensive use of templates (which are all compiled, possibly with some optimized binary code). Given only the binary executable, you most likely will not be able to use your version of Boost.

This is probably the only way to find out which version of Boost is being used by looking at the version number of the executable version (if any), then view it in the source version control repository (if you have access to it).

+2
source

All Articles