- This topic has 1 reply, 1 voice, and was last updated 3 years, 3 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Building SOFA › [SOLVED] Error building SofaCUDA Plugin
Tagged: 64_bits, Plugin_CUDA, SOFA_2006, SofaCUDA, VS2019, Windows_10
Hi,
Has anyone had success building SofaCUDA plugin using CUDA 11.2 and VisualStudio 2019 on Windows 10? I am always getting the same error when building in VisualStudio:
“MSB8066: Custom build for (paths to SofaCUDA .cu files) exited with code 1.”
The corresponding file is apparently “Microsoft.CppCommon.targets”
Some files are built successfully, like CudaRigidMapping (SofaCuda_generated_CudaRigidMapping.cu.obj), but the majority are not. Any guidance would be greatly appreciated.
Solved; disabled the components that the build was failing on individually in the CMakeLists.txt file. Not sure why these components didn’t work, but the rest of the components built successfully:
standardTetrahedralFEMForceField, sphereForceField
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.