You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using ubuntu 20.04.6 LTS (Focal Fossa). I have tried building the SOFA v22.12.00 (python=3.8.10, pybind11=2.6.2, Qt 5.12.0) for my research project as per this repo "https://github.com/StanfordASL/soft-robot-control". I guess these steps are clear and to the point.
[Run cmake-gui to run the CMake GUI.
Set the source path to $HOME/sofa/src and the build path to $HOME/sofa/build. Make sure the path to installation of Qt is correct by adding an entry CMAKE_PREFIX_PATH and setting it to the appropriate location (e.g. /home/jlorenze/Qt/5.15.0/gcc_64).
Run Configure, and set the compiler according to the instructions here.
Then, add entry SOFA_BUILD_METIS and enable it.
Find the entry SOFA_EXTERNAL_DIRECTORIES and set it to $HOME/sofa-plugins where $HOME is replaced with the actual path (e.g. /home/jlorenze/).
Also, add and enable entry SOFTROBOTS_IGNORE_ERRORS which will allow SoftRobots to compile without the STLIB library.
Next, set filepath entry pybind11_DIR to $HOME/anaconda3/envs/sofa/share/cmake/pybind11.
Ensure the following bool entries are activated (PLUGIN_SOFTROBOTS, PLUGIN_SOFAPYTHON3, PLUGIN_STLIB)
Run Configure again (should complete with no errors), and then run Generate.
To build (use -j flag to use all cores):
cd $HOME/sofa/build
make -j
make install
Test that Sofa launches by running $SOFA_BLD/bin/runSofa -l $SP3_BLD/lib/libSofaPython3.so]
SOFA is launching well with the snake simulation but, issue is even after following the above steps, or the one mentioned in "https://project.inria.fr/softrobot/install-get-started-2/building-on-linux/" SoftRobots plugin is not getting built.
The error reads "[ERROR] [RequiredPlugin(SoftRobots)] Plugin not found: "SoftRobots"".
Directory of Sofa.SimpleApi does not exist under sofa/build/install/lib/cmake. Any attempt to improve upon CMakeLists.txt under the src directory leads to series of numerous errors in cmake-gui configuring.
Please help me with the proper steps in building the SoftRobots plugin so that I can continue with my research. Resolving this will help me to simulate the diamond plugin.
Also, guide me with the correct steps in STLIB building as I am sure that is also not build.
The attached snapshots refers the list of plugins built implying the plugins of SoftRobots and STLIB not built and the terminal errors.
Regards
The text was updated successfully, but these errors were encountered:
Respected,
I am using ubuntu 20.04.6 LTS (Focal Fossa). I have tried building the SOFA v22.12.00 (python=3.8.10, pybind11=2.6.2, Qt 5.12.0) for my research project as per this repo "https://github.com/StanfordASL/soft-robot-control". I guess these steps are clear and to the point.
[Run cmake-gui to run the CMake GUI.
Set the source path to $HOME/sofa/src and the build path to $HOME/sofa/build. Make sure the path to installation of Qt is correct by adding an entry CMAKE_PREFIX_PATH and setting it to the appropriate location (e.g. /home/jlorenze/Qt/5.15.0/gcc_64).
Run Configure, and set the compiler according to the instructions here.
Then, add entry SOFA_BUILD_METIS and enable it.
Find the entry SOFA_EXTERNAL_DIRECTORIES and set it to $HOME/sofa-plugins where $HOME is replaced with the actual path (e.g. /home/jlorenze/).
Also, add and enable entry SOFTROBOTS_IGNORE_ERRORS which will allow SoftRobots to compile without the STLIB library.
Next, set filepath entry pybind11_DIR to $HOME/anaconda3/envs/sofa/share/cmake/pybind11.
Ensure the following bool entries are activated (PLUGIN_SOFTROBOTS, PLUGIN_SOFAPYTHON3, PLUGIN_STLIB)
Run Configure again (should complete with no errors), and then run Generate.
To build (use -j flag to use all cores):
cd $HOME/sofa/build
make -j
make install
Test that Sofa launches by running $SOFA_BLD/bin/runSofa -l $SP3_BLD/lib/libSofaPython3.so]
SOFA is launching well with the snake simulation but, issue is even after following the above steps, or the one mentioned in "https://project.inria.fr/softrobot/install-get-started-2/building-on-linux/" SoftRobots plugin is not getting built.
The error reads "[ERROR] [RequiredPlugin(SoftRobots)] Plugin not found: "SoftRobots"".
Directory of Sofa.SimpleApi does not exist under sofa/build/install/lib/cmake. Any attempt to improve upon CMakeLists.txt under the src directory leads to series of numerous errors in cmake-gui configuring.
Please help me with the proper steps in building the SoftRobots plugin so that I can continue with my research. Resolving this will help me to simulate the diamond plugin.
Also, guide me with the correct steps in STLIB building as I am sure that is also not build.
The attached snapshots refers the list of plugins built implying the plugins of SoftRobots and STLIB not built and the terminal errors.
Regards
The text was updated successfully, but these errors were encountered: