You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It means there is a mismatch in the dependencies versions that you are requesting. The binary that exist was built with dependencies bzip2/1.0.Z, but you are explicitly requesting a binary that is linked with the very specific bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4:67bfcb7b4b78262b9d05495e479dcd92f747316b, zlib/1.3.1#f52e03ae3d251dec704634230cd806a2:7bfde258ff4f62f75668d0896dbddedaa7480a0f
This is most likely because the existing binary was linked with transitive dependencies being shared libraries, that is, the default option *:shared=True, but in this case you might be requesting a binary with just boost:shared=True, that means it will be using the transitive dependencies bzip2 and zlib as static libraries. In this situation, boost is doing a full embedding of the dependencies binaries into its dynamic library artifact.
When you build a shared library against other shared libraries, it is binary compatible with more versions of the dependencies, as long as the interface doesn't change (then the 1.0.Z) but if you build a shared library against static libraries, a full copy of the static library is embedded inside the shared library, and thus the exact reference of the dependency is necessary.
What is your question?
Hello,
I have a question regarding boost dependencies. My recipe looks like this:
However, when running
conan graph explain . -pr:h windows -pr:b linux --remote conancenter
, I get the following:Click to expand log
I find it not very clear. In fact, the option that causes a recompile is
boost*:shared=True
. Removing it from theconanfile.txt
leads to:Did I miss something? Thanks in advance for your time.
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: