Open aymanhab opened 3 months ago
This is the issue obtained:
CMake Error at C:/OpenSim 4.5/cmake/UseOpenSim.cmake:619 (add_custom_target): add_custom_target cannot create target "Copy_OpenSim_DLLs" because another target with the same name already exists. The existing target is a custom target created in source directory "C:/OpenSim 4.5/ModelsScripts/Code/CPP/Moco/example3DWalking - Copy". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): CMakeLists.txt:16 (OpenSimCopyDependencyDLLsForWin)
CMake complains that CopyOpenSimDLLs already exists (add custom target). Commenting the lines make the build succeed.