Closed seanyen closed 5 years ago
I was briefly puzzled by the fact that this doesn't show up in our nightly windows debug job but that's likely because all our build machines use our custom tinyxml-usestl package and thus don't need to build tinyxml from source.
This and #12 both touch the same code so there may be conflicts but as far as I have looked they're compatible changes.
This problem manifests when I do a ROS2 Windows build by
colcon build --merge-install --event-handlers console_cohesion+ --install-base "C:\opt\ros\crystal\x64" --cmake-args -DCMAKE_BUILD_TYPE=Release
.This is the error when linking
urdfdom_world.dll
:And trace back I found CMAKE uses "Debug" configuration to build
tinyxml
and it doesn't match the option-DCMAKE_BUILD_TYPE=Release
passed from COLCON.