Forum Replies Created
-
AuthorPosts
-
MikePBlocked
Hi @Hugo
I apologize for the late reply. I decided to reinstall sofa v20.12.01 from the binaries. And this solved my issue.
Kind regards,
MichaelMikePBlockedHi @Hugo
Apologies for the late reply.
I have rebuilt SOFA with the latest release and unfortunately it still does not work. I have converted a few collision examples into python scripts such as SphereModel.scn and TriangleModel.scn and they both give a similar warning as above. That being said, the SphereModel example still works, but the TriangleModel example does not.
Considering, that you have tested it on your side and it works, then it must be something wrong on my side. I’m clueless what it could be especially since I did rebuild it from sources again.
Regards,
MikeMikePBlockedHi @Hugo
Thank you so much for the response as well as the providing the training session as it has been extremely helpful!
Unfortunately,LocalMinDistance
does not work either and provides a similar warning:[WARNING] [IntersectorMap] Element Intersector SphereCollisionModel<StdRigidTypes<3u, double> >-TriangleCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > NOT FOUND within : OBBCollisionModel<StdRigidTypes<3u, double> >-OBBCollisionModel<StdRigidTypes<3u, double> > TOBB<StdRigidTypes<3u, double> >-TOBB<StdRigidTypes<3u, double> > RayCollisionModel-LineCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > nullptr RayCollisionModel-PointCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > nullptr RayCollisionModel-SphereCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > Ray-TSphere<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > RayCollisionModel-TriangleCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > Ray-TTriangle<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > CubeCollisionModel-CubeCollisionModel Cube-Cube LineCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-LineCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > TLine<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-TLine<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > LineCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-PointCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > TLine<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-TPoint<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > LineCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-SphereCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > TLine<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-TSphere<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > PointCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-PointCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > TPoint<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-TPoint<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > SphereCollisionModel<StdRigidTypes<3u, double> >-OBBCollisionModel<StdRigidTypes<3u, double> > TSphere<StdRigidTypes<3u, double> >-TOBB<StdRigidTypes<3u, double> > SphereCollisionModel<StdRigidTypes<3u, double> >-SphereCollisionModel<StdRigidTypes<3u, double> > TSphere<StdRigidTypes<3u, double> >-TSphere<StdRigidTypes<3u, double> > SphereCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-OBBCollisionModel<StdRigidTypes<3u, double> > TSphere<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-TOBB<StdRigidTypes<3u, double> > SphereCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-PointCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > TSphere<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-TPoint<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > SphereCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-SphereCollisionModel<StdRigidTypes<3u, double> > TSphere<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-TSphere<StdRigidTypes<3u, double> > SphereCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-SphereCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > TSphere<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-TSphere<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > CapsuleCollisionModel<StdRigidTypes<3u, double> >-OBBCollisionModel<StdRigidTypes<3u, double> > TCapsule<StdRigidTypes<3u, double> >-TOBB<StdRigidTypes<3u, double> > CapsuleCollisionModel<StdRigidTypes<3u, double> >-SphereCollisionModel<StdRigidTypes<3u, double> > TCapsule<StdRigidTypes<3u, double> >-TSphere<StdRigidTypes<3u, double> > CapsuleCollisionModel<StdRigidTypes<3u, double> >-SphereCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > TCapsule<StdRigidTypes<3u, double> >-TSphere<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > CapsuleCollisionModel<StdRigidTypes<3u, double> >-CapsuleCollisionModel<StdRigidTypes<3u, double> > TCapsule<StdRigidTypes<3u, double> >-TCapsule<StdRigidTypes<3u, double> > CapsuleCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-OBBCollisionModel<StdRigidTypes<3u, double> > TCapsule<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-TOBB<StdRigidTypes<3u, double> > CapsuleCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-SphereCollisionModel<StdRigidTypes<3u, double> > TCapsule<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-TSphere<StdRigidTypes<3u, double> > CapsuleCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-SphereCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > TCapsule<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-TSphere<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > CapsuleCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-CapsuleCollisionModel<StdRigidTypes<3u, double> > TCapsule<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-TCapsule<StdRigidTypes<3u, double> > CapsuleCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-CapsuleCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > TCapsule<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-TCapsule<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > TriangleCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-LineCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > nullptr TriangleCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-PointCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > TTriangle<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-TPoint<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > TriangleCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-SphereCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > TTriangle<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-TSphere<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > TriangleCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> >-TriangleCollisionModel<StdVectorTypes<Vec<3u, double>, Vec<3u, double>, double> > nullptr
Kind regards,
MikeMikePBlockedThank you very much. It is working perfectly!
MikePBlockedHi @jnbrunet
So I think you were right. I don’t think I completely wiped the previous build. I have redone it and it has built without any issues and seems to be running fine.
Thank you so much for your assistance!
Kind regards,
MikeMikePBlockedHi @jnbrunet
Thank you so much for quick response. So I have used the v20.12 branches as you suggested and was able to configure SofaPython3 in CMake with no issues. I then typed make to build it but was given this error causing the build to stop:
[ 12%] Built target Plugin [ 42%] Built target Bindings.Sofa.Core [ 44%] Built target Bindings.Sofa.Components [ 52%] Built target Bindings.Sofa.Helper [ 55%] Built target Bindings.Sofa.Simulation [ 58%] Built target Bindings.Sofa.Types [ 60%] Linking CXX executable ../../../bin/Bindings.Sofa.Tests /usr/bin/ld: /home/mike/sofa/build/install/lib/libSofaGTestMain.a(SofaGTestMain.cpp.o): relocation R_X86_64_32 against '.bss' can not be used when making a PIE object; recompile with -fPIE collect2: error: ld returned 1 exit status make[2]: *** [bindings/Sofa/tests/CMakeFiles/Bindings.Sofa.Tests.dir/build.make:138: bin/Bindings.Sofa.Tests] Error 1 make[1]: *** [CMakeFiles/Makefile2:685: bindings/Sofa/tests/CMakeFiles/Bindings.Sofa.Tests.dir/all] Error 2 make: *** [Makefile:149: all] Error 2
I think it might be similar to this issue in the forum, but I am not sure.
Kind regards,
Mike -
AuthorPosts