Closed traversaro closed 1 year ago
Downstream projects are failing with:
"C:\src\robotology-superbuild\build\src\mujoco\ALL_BUILD.vcxproj" (default target) (1) -> "C:\src\robotology-superbuild\build\src\mujoco\plugin\elasticity\elasticity.vcxproj" (default target) (3) -> "C:\src\robotology-superbuild\build\src\mujoco\mujoco.vcxproj" (default target) (4) -> (Link target) -> engine_collision_convex.obj : error LNK2019: unresolved external symbol ccd_vec3_origin referenced in function mjc_Convex [C:\src\robotology-superbuild\build\sr c\mujoco\mujoco.vcxproj] C:\src\robotology-superbuild\build\src\mujoco\bin\Release\mujoco.dll : fatal error LNK1120: 1 unresolved externals [C:\src\robotology-superbuild\build\src\mujoc o\mujoco.vcxproj] 0 Warning(s) 2 Error(s)
I think it is due to something in this library.
.
It turns out that the problem was not in libccd, but on MuJoCo that defined CCD_STATIC_DEFINE in https://github.com/deepmind/mujoco/blob/87f35b7703ce7804395c4961b53b455f44ca7474/CMakeLists.txt#L92 .
CCD_STATIC_DEFINE
Solution to issue cannot be found in the documentation.
Issue
Downstream projects are failing with:
I think it is due to something in this library.
Installed packages
Environment info