-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin not found: "CosseratPlugin" #53
Comments
Hi @0707yiliu, you did not mention if you already have |
Yes, I have import the plugin into sofa, and using the cmake-gui to make the whole sofa like:
|
Hi, @alxbilger , one more thing I need to said that my system is Ubuntu22 and python3.9, I'm not sure whether it would produce bug or not. |
Do you see the binary of the plugin in your build directory? It's the folder where you have the runSofa executable |
Hi, @alxbilger . |
Yes, the binary file of the Cosserat plugin. It should be in |
Hi, @alxbilger I can not see any binary file about the Cosserat Plugin in this dir: build/v22.06/bin, which has runSofa and some plugins'test file such as BeamAdapter_test. |
That is why SOFA cannot find the plugin. Check that you do compile the plugin. |
It's weird, I can see the plugin has been imported into sofa in cmake-gui. But I can not see it in build/lib or build/bin |
Updating... the plugin has working, but the .so file (binary file) is generated in build/application/plugins dir, I copied it to build/lib dir which makes the sofa can search the plugin. Second, the plugin's src/config and src/init file may has some problem? (I modified the project name to real name XXXplugin instead of @PROJECT_NAME@, otherwise, the sofa would get the plugin name like "@PROJECT_NAME@") If you know what make it has the problem like above, please let me know. Best Yi |
@0707yiliu thanks for reporting the issue. Indeed, there was a problem on the location of the plugin. This should be solved soon on the master branch. I am not so sure about the project name. I was not able to reproduce the problem. At least, not on the master branch. |
I‘m trying to add this plugin into the SofaGym-CartStemContactScene.
When I import it into sofa without using the test selection, it's working.
And Using the SofaGym test_env.py to make env, it would feedback the error like:
The text was updated successfully, but these errors were encountered: