sofa-framework / Optimus

Optimus plugin was created to provide a testing environment for data-driven physics-based modeling.
GNU General Public License v2.0
7 stars 7 forks source link

build error #17

Open 123jjx321 opened 2 years ago

123jjx321 commented 2 years ago

Severity Code Description Project File Line Suppression State Error This header has been DISABLED since v22.06 after being deprecated on v21.12. To fix this error you must include sofa/linearalgebra/FullMatrix.h instead. Optimus H:\SOFA\sofa\Sofa\framework\Compat\src\SofaBaseLinearSolver\FullMatrix.h 24

Severity Code Description Project File Line Suppression State Error This header has been DISABLED since v22.06 after being deprecated on v21.12. To fix this error you must include sofa/linearalgebra/SparseMatrix.h instead. Optimus H:\SOFA\sofa\Sofa\framework\Compat\src\SofaBaseLinearSolver\SparseMatrix.h 24

Severity Code Description Project File Line Suppression State Error This header has been DISABLED since v22.06 after being deprecated on v21.12. To fix this error you must include sofa/core/topology/TopologySubsetData.h instead. Optimus H:\SOFA\sofa\Sofa\framework\Compat\src\SofaBaseTopology\TopologySubsetData.h 26

zhanglepy commented 2 months ago

Hello, may I ask if this plugin can be successfully compiled? If you succeed, can you share the sofa version and compilation process. Looking forward to your prompt reply!

hugtalbot commented 2 months ago

Hi @zhanglepy

This plugin should be updated before using it, it was not compiled with the recent releases of SOFA But nothing impossible

sergeiNikolaev commented 1 month ago

Dear @zhanglepy, This plugin was related to mine (and not only mine) research work. However, all students, researchers, and professors have finished their research work and defended their dissertations. Also, I started to work in another laboratory and nobody was interested in this plugin at that time; therefore, I have stopped updating it. Finally, this plugin is just a result of research work, not production, so there is absolutely no warranty that it will work without any issues.
If I will be available, I will try to look at it and fix the errors. Anyway, for now there are several options:

  1. You could compile and use it with SOFA v21.12.
  2. You could fork the master branch, go through the compilation process and fixed the errors, then you can run benchmark tests (benchmarks/crontask/runOptimusTests_without_compiling.sh) and verify how it works. Here are the results of the last benchmark ( benchmark_tests.txt ). The correct results have to have similar order of accuracy (but not exactly the same). Hope this helps.