Forum Replies Created
-
AuthorPosts
-
24 March 2021 at 08:47 in reply to: [SOLVED] Questions regarding the installation of SofaPython3 plugin #18965MathieuBlocked
EDIT:
After some iterations, I solved the problem by building SOFA (v20.12.01) again, and adding the SofaPython3 plugin path to the entry
CMAKE_EXTERNAL_DIRECTORIES
(just settingCMAKE_EXTERNAL_DIRECTORIES=/home/srl/sofa-plugins
, assofa-plugins
include all plugins I currently use: STLIB, SoftRobots, Sofa Python3 ), after cloning the plugin as described here : https://github.com/sofa-framework/SofaPython3Thank you for your help,
Best,
Mathieu19 March 2021 at 11:09 in reply to: [SOLVED] Questions regarding the installation of SofaPython3 plugin #18924MathieuBlockedThank you for the answers!
It seems that the export part (out-of-tree build as described in 2)) does not work for me.
I executed the installation with
cmake --install .
but the next steps give me the following:
(base) srl@ubuntu:~/sofa/build/v20.12$ export SOFA_ROOT="/home/srl/sofa/build/v20.12/install" (base) srl@ubuntu:~/sofa/build/v20.12$ SOFA_ROOT/lib/cmake/SofaFramework/SofaFrameworkTargets.cmake bash: SOFA_ROOT/lib/cmake/SofaFramework/SofaFrameworkTargets.cmake: No such file or directory
Do you have an idea of how I should process now ?
Best,
Mathieu18 March 2021 at 13:50 in reply to: [SOLVED] Questions regarding the installation of SofaPython3 plugin #18912MathieuBlockedHere is the output:
(base) srl@ubuntu:~/sofa/src$ git log commit c65c75e1cf1016138626f71f6938d62c6cf18726 (HEAD -> v20.12, tag: v20.12.01, origin/v20.12) Author: Guillaume Paran <guillaume.paran@sofa-framework.org> Date: Fri Feb 26 16:16:31 2021 +0100 [CMake] Bump version to v20.12.01 commit 44a50cee733a0a897dde4c0bc6017ede6a7ce470 Author: Guillaume Paran <guillaume.paran@sofa-framework.org> Date: Fri Feb 26 16:16:14 2021 +0100 [Changelog] Update for v20.12.01 commit 95403c300f9142bdb31bfa36a7a528a455326a8e Author: Damien Marchal <damien.marchal@univ-lille1.fr> Date: Tue Feb 23 23:30:33 2021 +0100 [all] Fix invalid Memory access in MechanicalObject and Compliant_test (#1849) * [Compliant_test] Add scope to WriteAccessor. A write accessor is holding a pointer to the data. If the pointed data is de:
18 March 2021 at 08:01 in reply to: [SOLVED] Questions regarding the installation of SofaPython3 plugin #18872MathieuBlockedHi @Hugo
As I followed the instructions of this webpage https://www.sofa-framework.org/community/doc/getting-started/build/linux/ and used ninja to build SOFA, I compiled the sources (if I understand the difference between sources and binaries correctly – I am new to unix systems). For the version, I am not really sure, as I cannot find the exact information, but I cloned the v20.12 branch of the github repository (https://github.com/sofa-framework/sofa/tree/v20.12) in
$HOME/sofa/src
file.I hope I answered the questions. Please let me know if you need more precision.
Best,
Mathieu15 March 2021 at 07:25 in reply to: [SOLVED] Error building SOFA : ConstraintResolution.h not found #18849MathieuBlockedOption 1, i.e. using the v20.12 for SOFA and Softrobots work fine for me.
Thank you for your help!12 March 2021 at 12:24 in reply to: [SOLVED] Error building SOFA : ConstraintResolution.h not found #18847MathieuBlockedHi Guillaume,
The file
/home/srl/sofa/src/SofaKernel/modules/SofaCore/src/sofa/core/behavior/ConstraintResolution.h
does not exist! Here a list of the files contained in this folder:
(base) srl@ubuntu:~/sofa/src/SofaKernel/modules/SofaCore/src/sofa/core/behavior$ ls BaseAnimationLoop.cpp BaseAnimationLoop.h BaseConstraintCorrection.cpp BaseConstraintCorrection.h BaseConstraint.cpp BaseConstraint.h BaseConstraintSet.cpp BaseConstraintSet.h BaseController.h BaseForceField.cpp BaseForceField.h BaseInteractionConstraint.h BaseInteractionForceField.cpp BaseInteractionForceField.h BaseInteractionProjectiveConstraintSet.h BaseLMConstraint.cpp BaseLMConstraint.h BaseMass.cpp BaseMass.h BaseMechanicalState.cpp BaseMechanicalState.h BaseProjectiveConstraintSet.cpp BaseProjectiveConstraintSet.h BaseRotationFinder.h BaseVectorOperations.h ConstraintCorrection.cpp ConstraintCorrection.h ConstraintCorrection.inl Constraint.cpp Constraint.h Constraint.inl ConstraintSolver.cpp ConstraintSolver.h ForceField.cpp ForceField.h ForceField.inl InertiaForce.h LinearSolver.cpp LinearSolver.h LMConstraint.cpp LMConstraint.h LMConstraint.inl Mass.cpp Mass.h Mass.inl MechanicalState.cpp MechanicalState.h MixedInteractionConstraint.cpp MixedInteractionConstraint.h MixedInteractionConstraint.inl MixedInteractionForceField.cpp MixedInteractionForceField.h MixedInteractionForceField.inl MultiMatrixAccessor.cpp MultiMatrixAccessor.h MultiMatrix.cpp MultiMatrix.h MultiVec.h OdeSolver.cpp OdeSolver.h PairInteractionConstraint.cpp PairInteractionConstraint.h PairInteractionConstraint.inl PairInteractionForceField.cpp PairInteractionForceField.h PairInteractionForceField.inl PairInteractionProjectiveConstraintSet.cpp PairInteractionProjectiveConstraintSet.h PairInteractionProjectiveConstraintSet.inl ProjectiveConstraintSet.cpp ProjectiveConstraintSet.h ProjectiveConstraintSet.inl RotationFinder.h RotationMatrix.h
What should I do now ? Create/copy this file ?
Do you still need the CMakeCache.txt file?Thank you for your help,
Mathieu -
AuthorPosts