SofaDefrost / SofaViscoElastic

A Plugin for the SOFA framework to describe linear viscoelastic material
GNU Lesser General Public License v2.1
1 stars 3 forks source link

ModuleNotFoundError: No module named 'SofaViscoElastic' #20

Open Dong-Le-gnoD opened 1 month ago

Dong-Le-gnoD commented 1 month ago

Hi,

I have a problem with run the example of the plugin. Screenshot from 2024-04-19 17-26-58

Even though SofaViscoElastic is in the Plugin Manager and I added to the plugin_list.conf.default file, the problem is still the same. Screenshot from 2024-04-19 17-27-25

Thank you!

pasqualeferr94 commented 1 month ago

Hello @Dong-Le-gnoD which OS are you using?

Dong-Le-gnoD commented 1 month ago

Hi, I am using Ubuntu 20.04

pasqualeferr94 commented 1 month ago

Do you put It on the folder src/applications/plugins?

Dong-Le-gnoD commented 1 month ago

I followed the in-tree build from SOFA website https://www.sofa-framework.org/community/doc/plugins/build-a-plugin-from-sources/ Should I move all plugins to src/application/plugins? Does this also mean that I follow the same as the tutorial but changing the repository?

pasqualeferr94 commented 3 weeks ago

usually yes. In the src/application/plugins, there is a CMakeList.txt. Open the file, add the plugin to the list, then configure with cmake-gui and compile.

Anyway, we are working to make it compatible with binaries and available for the other OS (MacOS and Windows). It will be a matter of day. I will keep you updated.