Building, installing and running the Debug version of cosim.exe from the dist folder now causes Windows to complain that yaml-cppd.dll is missing.
Apparently, the yaml-cpp package has added a "d" suffix to the DLL filename when build_type=Debug, and we're not importing that file to dist/ – only yaml-cpp.dll. The problem was probably introduced with the recent upgrade of libcosim's yaml-cpp dependency to 0.7 (open-simulation-platform/libcosim#705).
I'm not sure what is the best way to fix it within the current conanfile.txt. Is there any way to conditionalise on the build type in the [imports] section, or do we have to switch to conanfile.py?
Workarounds: Copy the file from the Conan package directory to dist manually, change the DLL filename in conanfile.txt manually, or compile in Release mode.
Building, installing and running the
Debug
version ofcosim.exe
from thedist
folder now causes Windows to complain thatyaml-cppd.dll
is missing.Apparently, the yaml-cpp package has added a "d" suffix to the DLL filename when
build_type=Debug
, and we're not importing that file todist/
– onlyyaml-cpp.dll
. The problem was probably introduced with the recent upgrade of libcosim's yaml-cpp dependency to 0.7 (open-simulation-platform/libcosim#705).I'm not sure what is the best way to fix it within the current
conanfile.txt
. Is there any way to conditionalise on the build type in the[imports]
section, or do we have to switch toconanfile.py
?Workarounds: Copy the file from the Conan package directory to
dist
manually, change the DLL filename inconanfile.txt
manually, or compile inRelease
mode.