Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
-
Yau JunKing
- Posts: 7
- Joined: Sat Jun 19, 2021 8:23 pm
Post
by Yau JunKing » Sat Jul 10, 2021 10:17 pm
Hi everyone!
I am compiling the opensim source code in ubuntu 16.04 after builded and installed all the dependencies (not by superbuild)
Then,when I compiling the opensim by command line"make -j4",some errors happen! The fellowing images are errors.
Thank you!
Tags:
-
Yau JunKing
- Posts: 7
- Joined: Sat Jun 19, 2021 8:23 pm
Post
by Yau JunKing » Sun Jul 11, 2021 5:00 am
Hi!
I try to not compile the Moco and opensim-cmd. then I compile successfully.
However, if I want to use the Moco and opensim-cmd, how should I do next?
Thanks!
-
Ayman Habib
- Posts: 2238
- Joined: Fri Apr 01, 2005 12:24 pm
Post
by Ayman Habib » Sun Jul 11, 2021 10:42 am
Hi Yau,
Our continuous integration builds/tests latest code against ubuntu 18.04 LTS with specific versions of compilers. Please check our ci build logs on github
(
https://github.com/opensim-org/opensim-core/actions then expand continuous-integration -> Ubuntu)
to see what settings/versions work with the latest code.
Keep in mind the following:
1. Your version of the OS and likely the compilers are behind our ci.
2. The code base tested in ci is latest master branch rather than 4.1 (which didn't have Moco integrated) or 4.2
Hope this helps,
-Ayman
-
Yau JunKing
- Posts: 7
- Joined: Sat Jun 19, 2021 8:23 pm
Post
by Yau JunKing » Sun Jul 11, 2021 7:10 pm
Hi Ayman,
Thank you for your replying! I have watched the ci.
Could you tell me if the specific versions of compiler is SWIG?
If I install the SWIG in ubuntu 16.04, will the problem be solved?
And I find a solution in github, how do you think about this? :
https://github.com/opensim-org/opensim-core/issues/3008
-
Nicholas Bianco
- Posts: 992
- Joined: Thu Oct 04, 2012 8:09 pm
Post
by Nicholas Bianco » Mon Jul 12, 2021 2:40 pm
Hi Yau,
SWIG is not a complier, is the bindings that wrap the C++ code to use the API in Matlab or Python. If you don't need the scripting languages (especially if you're using the command line), then you can skip building the bindings and don't need SWIG.
We're you not able to find the compliers that our GitHub CI uses? We should make sure those match with yours before checking anything else (as Ayman suggested).
Best,
-Nick
-
Yau JunKing
- Posts: 7
- Joined: Sat Jun 19, 2021 8:23 pm
Post
by Yau JunKing » Mon Jul 12, 2021 5:25 pm
Hi Nicholas,
I got it now. Thank you so much!
Best,
-Yau