Add plugin error #4668
-
Hi I download the pre-built sofa of 23.12. The following error occurred when I was using the WireRestShape component, which is belonged to BeammAdapter. In this script, I add this component by the root_node.addObject() function. the code are as follows: topoLines_guide.addObject("RequiredPlugin", name="ImportBeamAdapt", pluginName="BeamAdapter")
topoLines_guide.addObject(
"WireRestShape",
name="InstrRestShape",
straightLength=length_body,
length=length_body + length_tip,
numEdges=nume_nodes_viz,
youngModulus=young_modulus_body,
spireDiameter=250.0,
numEdgesCollis=[self.num_elem_body, self.num_elem_tip],
printLog=True,
template="Rigid3d",
spireHeight=0.0,
radius=self.outer_diam_qu / 2.0,
radiusExtremity=self.outer_diam_qu / 2.0,
densityOfBeams=[self.num_elem_body, self.num_elem_tip],
youngModulusExtremity=young_modulus_tip,
) And the error log are as follows: [INFO] [PluginManager] Loaded plugin: /home/yangyang/conda_env/SOFA_v23.12.01_Linux/plugins/BeamAdapter/lib/libBeamAdapter.so
Traceback (most recent call last): I think maybe it Plugin loading failed (/home/yangyang/conda_env/SOFA_v23.12.01_Linux/plugins/BeamAdapter_v22.06_for-SOFA-v22.06_Linux/lib/libBeamAdapter.so): libSofa.Component.Controller.so.22.06.00: cannot open shared object file: No such file or directory
These are my questions. Looking for your help, Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
To answer your questions:
As I told you, SOFA has evolved since 22.06, and it is for the best. In your case, it seems like the |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
To answer your questions:
BeamAdapter_v22.06_for-SOFA-v22.06_Linux
. If you tried to open it with SOFA v23.12 it is not surprising that it outputs errors, those two versions are not compatible : the naming is explicit !As I told you, SOFA has evolved since 22.06, and it is for the best.…