Home › Forum › SOFA › Building SOFA › [SOLVED] 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 6 years, 4 months ago by
simon.
-
AuthorPosts
-
15 May 2019 at 10:59 #13477
Bence
BlockedHi,
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:05 #13483Hugo
KeymasterHi @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:14 #13484Guillaume
KeymasterHi,
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 09:13 #13485Bence
BlockedHi @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:49 #13486Guillaume
KeymasterHum, 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:50 #13614simon
BlockedCan 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:37 #13619simon
BlockedI 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.
