Home › Forum › SOFA › Building SOFA › Plugin loading failed
Tagged: 64_bits, binary, plugin failed, Plugin_SoftRobots, SOFA_other, softrobots, vs2015, Windows_10
- This topic has 6 replies, 4 voices, and was last updated 1 year, 10 months ago by
simon.
-
AuthorPosts
-
15 May 2019 at 10 h 59 min #13477
Hi,
I have a problem, when I start runSofa.exe, this plugins can not loading, but they are exist: SofaPython.dll and SoftRobots.dll.
Example:
[ERROR] [PluginManager] Plugin loading failed (C:/Users/Horvath Bence/Downloads/SOFA_v19.06.99_custom_Win64_v8.1/SOFA_v19.06.99_custom_Win64_v8.1/plugins/SoftRobots/bin/SoftRobots.dll): “The plugin can not findˇ.I used de binary version of SOFA on Windows 10, download from: https://project.inria.fr/softrobot/install-get-started-2/download/
Thanks
Bence15 May 2019 at 15 h 05 min #13483Hi @bence
Thank you for your interest in SOFA and in the SoftRobot plugin from the Defrost team.
Let me contact the devs in charge of the SoftPlugin and associated binaries.Best
Hugo
15 May 2019 at 15 h 14 min #13484Hi,
A failing SofaPython loading almost always means a problem in Python+Numpy installation.
1. Did you install Python correctly?
You must have Python 2.7.x 64-bit.
To verify, open a CMD console and typepython -c "import sys;print(\"%x\" % sys.maxsize, sys.maxsize > 2**32)"
It must return exactly('7fffffffffffffff', True)
2. Did you install Numpy correctly?
To verify, open a CMD console and typepython -c "import numpy; print numpy.__version__"
It must return a version number (no error).Hope that helps,
Guillaume.16 May 2019 at 9 h 13 min #13485Hi @Guillaume
I fixed the problem. It was very simple: I cut the SofaPython.dll from the folder and I launch runSofa.exe . It wrote an error because not find the SofaPython.dll. And I take back the .dll file to the folder, launch again Sofa and this time everything was fine, no errors. It was very interesting 😀
Bence
16 May 2019 at 11 h 49 min #13486Hum, I doubt that moving SofaPython.dll was the real fix to your problem. Something else might have changed…
If you have more info on what happened do not hesitate to post it here!
In the meantime, I guess this topic is solved.Guillaume.
9 June 2019 at 14 h 50 min #13614Can anyone tell me how to import Sofa in python? I built Cmake successfully and got a runPython.dll file. When I open Python and import Sofa, there is no module called Sofa
10 June 2019 at 12 h 37 min #13619I found the solution from here: https://www.sofa-framework.org/community/forum/topic/adding-sofa-module-to-spyder/
I think it will be much easier to understand if you have an example like:
runSofa ./houseOfCards.py
in the documentation -
AuthorPosts
- You must be logged in to reply to this topic.