-
PhoNguyen replied to the topic simulate liquid environment in the forum Using SOFA 2 months ago
Hi,
I compile plugin sofapython, SofaSphFluid and SofaEulerianFluid in sofa v20.12, the errors are as follows:
[Read more]
[ 28%] Built target Sofa.GL_Sofa_relocatable_install
[ 28%] Built target Sofa.GL_test
[ 28%] Building CXX object SofaKernel/SofaSimulation/CMakeFiles/SofaSimulation.dir/src/SofaSimulation/initSofaSimulation.cpp.o
In file included from… -
PhoNguyen replied to the topic Error while compiling SOFA v2012 with Sofapython 3 in the forum Getting Started 2 months ago
Hi @jnbrunet,
Thank you for your help.
It is still error:
[Read more]
pho@pho:~/Desktop/plugin.SofaPython3/SofaPython3$ git checkout v20.12
Already on 'v20.12'
Your branch is up to date with 'origin/v20.12'.
pho@pho:~/Desktop/plugin.SofaPython3/SofaPython3$ rm -rf build && mkdir build
pho@pho:~/Desktop/plugin.SofaPython3/SofaPython3$ cd… -
PhoNguyen replied to the topic Error while compiling SOFA v2012 with Sofapython 3 in the forum Getting Started 2 months ago
Hi @Hugo,
Yeap, I installed pybind11 version 2.5.0 as shown in my question (10 February 2021).
-- pybind11:
Version: 2.5.0
Config: /home/pho/anaconda3/share/cmake/pybind11/pybind11Config.cmake
-- SOFA Framework:
Version: 20.12.00
Location: /home/pho/Desktop/sofa/build/install
However, when I run this command
cmake…
[Read more] -
PhoNguyen replied to the topic Error while compiling SOFA v2012 with Sofapython 3 in the forum Getting Started 2 months ago
Hi Guillaume,
I tried your suggestion, and the errors came as follows:
[Read more]
pho@pho:~/Desktop/plugin.SofaPython3/build$ cmake -DCMAKE_PREFIX_PATH="$SOFA_BLD/install/lib/cmake;$SOFA_BLD/install/plugins" $SP3_SRC
CMake Error at CMakeLists.txt:108 (find_package):
Could not find a package configuration file provided by "pybind11"
(requested version… -
PhoNguyen replied to the topic Error while compiling SOFA v2012 with Sofapython 3 in the forum Getting Started 2 months, 1 week ago
Hi,
I compile sofapython3 with sofa v20.12. There is one error as follows:
pho@pho:~/Desktop/plugin.SofaPython3/build$ cmake -DCMAKE_PREFIX_PATH=$SOFA_BLD/install/lib/cmake $SP3_SRC
-- Python:
Version: 3.9.1
Executable: /usr/bin/python3.9
Headers: /usr/include/python3.9
Libraries: /usr/lib/x86_64-linux-gnu/libpython3.9.so…[Read more] -
PhoNguyen replied to the topic Kinematic constraints between rigid bodies (list of available joints) in the forum Getting Started 4 months, 3 weeks ago
Hi,
On the sofa screen, I want to use a mouse for selecting several nodes or elements of the mesh and then show their ID number (or other properties). Any one can help me to do that?
Best,
Pho -
PhoNguyen replied to the topic Components for quadratic meshes in the forum Using SOFA 5 months, 1 week ago
Hi,
I want to setup a forcefield for simulating a deformable quadrilateral surface mesh.
Are there any updated or related works in SOFA now?Best,
Pho -
PhoNguyen replied to the topic Setting up out-of-tree build & SofaPython 3 plugin in the forum Building SOFA 5 months, 2 weeks ago
Hi @jnbrunet,
Thank you for your help. Compiling SP3 was fine. In this step,
pho@pho:~/Desktop/sofa/build/bin$ ./runSofa -l $SP3_BLD/lib/libSofaPython3.soit can load main screen. However, plugin SP3 does not appear when I load a .py file:
[Read more]
[ERROR] [SofaPython3::SceneLoader] ValueError: 4:Plugin not found: "SoftRobots"
Plugin not found:… -
PhoNguyen replied to the topic Setting up out-of-tree build & SofaPython 3 plugin in the forum Building SOFA 5 months, 2 weeks ago
Hi
It still same error:
[Read more]
pho@pho:~$ cd $SP3_SRC
pho@pho:~/Desktop/plugin.SofaPython3/SofaPython3$ git checkout master
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
pho@pho:~/Desktop/plugin.SofaPython3/SofaPython3$ git pull
Already up to date.
pho@pho:~/Desktop/plugin.SofaPython3/SofaPython3$ cd… -
PhoNguyen replied to the topic Setting up out-of-tree build & SofaPython 3 plugin in the forum Building SOFA 5 months, 2 weeks ago
Hi @jnbrunet,
I followed your suggestion, but Cmake still showed errors in terminal ass follows:
[Read more]
pho@pho:~/Desktop/plugin.SofaPython3/SofaPython3$ git remote add fredroy https://github.com/fredroy/sofa.git
fatal: remote fredroy already exists.
pho@pho:~/Desktop/plugin.SofaPython3/SofaPython3$ git fetch… -
PhoNguyen replied to the topic Setting up out-of-tree build & SofaPython 3 plugin in the forum Building SOFA 5 months, 3 weeks ago
Hi @jnbrunet,
Thank you for your explanation. I will wait for your next response.
Please answer me when you have a new solution after your team meeting.Best regards,
Pho -
PhoNguyen replied to the topic Setting up out-of-tree build & SofaPython 3 plugin in the forum Building SOFA 5 months, 3 weeks ago
Hi @jnbrunet,
Sorry, the error is:
CMake Error at Plugin/CMakeLists.txt:38 (find_package):
Found package configuration file:/home/pho/Desktop/sofa/build/install/lib/cmake/SofaGeneral/SofaGeneralConfig.cmake
but it set SofaGeneral_FOUND to FALSE so package "SofaGeneral" is
considered to be NOT FOUND. Reason given by package:The…[Read more]
-
PhoNguyen replied to the topic Setting up out-of-tree build & SofaPython 3 plugin in the forum Building SOFA 5 months, 3 weeks ago
Hi @jnbrunet,
Thank you for your answer. I have no problem when compiling Sofa. But, i meet another problem when compiling SP3 at configure as folows:
How to solve this problem?
Best regards,
Pho -
PhoNguyen replied to the topic Setting up out-of-tree build & SofaPython 3 plugin in the forum Building SOFA 5 months, 3 weeks ago
Hi @jnbrunet,
In compiling Sofapython3, I had successful config and generate Sofapython3 in linux 20.04. However, the error appeared after clicking “ninja”. This is comments on the terrminal.
[Read more]
FAILED: bindings/SofaTypes/CMakeFiles/Bindings.SofaTypes.dir/src/SofaPython3/SofaTypes/Binding_Mat.cpp.o
/usr/bin/clang++-9 -DBOOST_ALL_NO_LIB… -
PhoNguyen replied to the topic Installing plugin.sofapython3 in the forum Building SOFA 1 year, 2 months ago
Hi Hugo,
Sorry for my late reply. It is ok!
Best regard,
Pho -
PhoNguyen replied to the topic Installing plugin.sofapython3 in the forum Building SOFA 1 year, 3 months ago
Hi Hugo,
Thank you for your answer.
I don’t now how to attach a file here, please open this link and enter password
https://jstorage-2018.jaist.ac.jp/s/E2HsTSE4mrwfd4y
Pass: Ro123456Please help me to solve that problem.
Best regard
Pho -
PhoNguyen started the topic Installing plugin.sofapython3 in the forum Building SOFA 1 year, 3 months ago
Hi Hugo,
I tried to install plugin.Sofapython3 in ubuntu 19.10 by following the out-of-tree build in this link:
https://github.com/SofaDefrost/plugin.SofaPython3/blob/master/README.md
file:///home/ho-lab/Pictures/Screenshot%20from%202019-12-30%2000-02-20.png
However, this guide is too short that I cannot load sofapython3. Could you please extract…[Read more] -
PhoNguyen replied to the topic Problem in generating Cmake-gui when building Sofa in the forum Building SOFA 1 year, 4 months ago
Hi Hugo,
How are you?
Thank you so much for your help. I reinstalled ubuntu and try again. Now it works.
Sincerely,
Pho -
PhoNguyen started the topic Problem in generating Cmake-gui when building Sofa in the forum Building SOFA 1 year, 5 months ago
Hi everyone,
When generating Cmake–gui in building Sofa, I met this problem:
“CMake Error at extlibs/libQGLViewer-2.7.1/QGLViewer/CMakeLists.txt:75 (qt5_wrap_cpp):
Unknown CMake command “qt5_wrap_cpp”.”
Please help me to solve it. -
PhoNguyen replied to the topic configuration in CMake-GUI in the forum Getting Started 1 year, 5 months ago
Hi,
I cannot run Sofa in ubuntu 18.04 after downloading its binary in website: v19.06.01. linux.zip. The errors is here:
[INFO] [GUIManager] INFO(SofaGUI): lastUsedGUI.ini not found; using default GUI.
The constructor with a QGLFormat is deprecated, use the regular contructor instead.
/home/phonguyen/SOFA_v19.06.01_Linux/bin/runSofa: symbol…[Read more] - Load More