The cause is that the PREFIX is not actually propagated to all the generated files such as imported libraries, and the linker is trying to generate the import library of tf2_py as tf2.lib which has a name collision with tf2.
And this pull request is to fix the output name to be more consistent to avoid the collision.
Also, please consider to back-port to melodic branch if this change makes sense.
When
tf2_py
andtf2
are building with a merged space, buildingtf2_py
will lead to the following error on Windows:The cause is that the
PREFIX
is not actually propagated to all the generated files such as imported libraries, and the linker is trying to generate the import library oftf2_py
astf2.lib
which has a name collision withtf2
.And this pull request is to fix the output name to be more consistent to avoid the collision.
Also, please consider to back-port to
melodic
branch if this change makes sense.