Cannot get SOFA to work on external code #5289
Replies: 3 comments 12 replies
-
|
Hi @FrancescoRusin, |
Beta Was this translation helpful? Give feedback.
-
|
Error.pdf |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I have installed SOFA on my Windows 11 computer via the binaries for version 24.12.00; I have run the internal runSofa.exe file and it works.
However, when I tried to link the framework to external code with CMake, I ran into various problems.
I actually had to install the various dependencies separately (in particular, Qt, Eigen, and Boost), and after doing that and checking that CMake finds everything it needs, all I was able to get is a build that, despite resulting successful, had the following message:
Trying to run the code on that build resulted in the following error:
along with some warnings.
This is my CMakeLists.txt file:
PrintVariables.txt is a short file containing code that prints the values for all the variables, which I use for debugging and shouldn't make any difference (I get the same error when I build for release instead of debug anyway).
Also, this is the code I'm trying to run:
It is an example I took from somewhere in the SOFA GitHub, to check if everything works.
Can you help me?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions