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!
Question about compiling the source code
- Yau JunKing
- Posts: 7
- Joined: Sat Jun 19, 2021 8:23 pm
- Yau JunKing
- Posts: 7
- Joined: Sat Jun 19, 2021 8:23 pm
Re: Question about compiling the source code
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!
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: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Question about compiling the source code
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
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
Re: Question about compiling the source code
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
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: 1050
- Joined: Thu Oct 04, 2012 8:09 pm
Re: Question about compiling the source code
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
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
Re: Question about compiling the source code
Hi Nicholas,
I got it now. Thank you so much!
Best,
-Yau
I got it now. Thank you so much!
Best,
-Yau