Forum Replies Created
-
AuthorPosts
-
stonkensBlocked
Thank you very much @jnbrunet and @secaida, this is all very helpful.
I will definitely make a PR if I port code to py3.
stonkensBlockedThank you very much @jnbrunet.
Final question, splib (part of STLIB: Sofa Template library) has less functionality in SofaPython3. Is this done intentionally? Particularly, I rely on Vec3 and Quat classes –> I have found a workaround so definitely no need to resolve this, but was wondering what the underlying reason was.
Cheers,
Sander
stonkensBlockedHey @jnbrunet,
Thanks again for helping out. I am getting a better understanding of the inner workings, but still require some help unfortunately.
I am now at status with origin master branches for SoftRobots, Sofa, SofaPython3. I have successfully run build and complete Step 1.
For step 2 when configuring SofaPython3 I get the following error: CMake Error at /home/stonkens/dev/sofa/build/install/lib/cmake/SofaGui/SofaGuiConfig.cmake:43 (find_package): Found package configuration file: /home/stonkens/dev/sofa/build/install/lib/cmake/SofaMisc/SofaMiscConfig.cmake but it set SofaMisc_FOUND to FALSE so package "SofaMisc" is considered to be NOT FOUND. Reason given by package: The following imported targets are referenced, but are missing: SofaNonUniformFem Call Stack (most recent call first): bindings/SofaGui/CMakeLists.txt:15 (find_package)
I checked and SofaNonUniformFEM is in the plugins within $SOFA_BLD/install.
I have checked both the sofa forum and the issues on github but have not found a similar issue unfortunately.I’m happy to email instead (given this seems to be an issue that only I am having), which may allow for a bit faster debugging.
ST
EDIT: What might help, I get this warning when configuring in step 1 of your first linked post (building dev version of Sofa):
CMake Deprecation Warning at SofaAdvanced/CMakeLists.txt:15 (message): SofaAdvanced is deprecated. You should now explicitely find (find_package) and link (target_link_library) each module you need within: SofaNonUniformFem
stonkensBlockedHi @jnbrunet,
Thank you very much for the detailed information. I have some errors, unfortunately. After git pull from master and adding the plugins I want (SoftRobots, ModelOrderReduction, STLIB, note that SoftRobots requires SofaPython) I got the following errors when building (running ninja command):
/usr/bin/ld: cannot find -lSofaComponentCommon
collect2: error: ld returned 1 exit statusI assume this is due to some mismatch between the Sofa versions –> Is there a way to use a released build of Sofa instead of pulling from master?
I also tried building without the test scripts (GTestMain etc.) but this gives error when running ninja on the SofaPython3 plugin (Step 2).
Sander
-
AuthorPosts