- This topic has 5 replies, 2 voices, and was last updated 4 years, 1 month ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Building SOFA › [SOLVED] Error Building SOFA with CUDA Plugin
Tagged: 64_bits, GCC, Linux_ubuntu, Plugin_CUDA, SOFA, SOFA_2006, SofaCUDA
Hello, I am trying to install SofaCUDA on my computer and my cmake configure and generate worked but now I am getting this error when i run ninja in sofa/build/ to compile, Can anyone help me resolve it?
These are the errors from the compile:
/home/user/sofa/src/applications/plugins/SofaCUDA/sofa/gpu/cuda/CudaBarycentricMapping.h:131:77: error: assigning to 'topology::SparseGridTopology *' from incompatible type 'topology::RegularGridTopology *'
void setTopology(topology::RegularGridTopology* _topology) { topology = _topology; }
This error is repeated a couple times through out the compile process and then:
ninja: build stopped: subcommand failed.
Any help is appreciated
Cool ! Any change in SOFA needed?
@hugo not for CUDA but the one thing I found is some of the plugins like STLIB are outdated and use macros that are no longer used so I added them back manually and also for the soft robots plugin you need to turn SOFA_BUILD_METIS On but it does not show in the CMAKE GUI configure area so I also manually edited the src cmake file to turn it on. everything else went smoothly
Hi @momo2000
Thanks for the feedback.
If you have some improvements you would like to share do not hesitate to make a pull-request on our GitHub.
Thanks again. Best wishes,
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.