Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation issue Ubuntu 20.04 #660

Open
vargas95 opened this issue Oct 23, 2020 · 0 comments
Open

Installation issue Ubuntu 20.04 #660

vargas95 opened this issue Oct 23, 2020 · 0 comments

Comments

@vargas95
Copy link

Hi,
I have installed OpenSim in my workstation but I want to install also OpenSim-Moco. I'm having some issues with the installation using Cmake.
The source folder of Moco is called /opensim-moco-source.
The source folder of OpenSim-core is called /opensim-core-source.

  1. When installing the dependencies, the OpenSim cmake file is missing. I solved the issue by installing all the other dependencies except for Opensim. Then, in the Opensim folder of the source folder of OpenSim Moco (/opensim-moco-source/opensim-core), I copied the "cmake" and "Bindings" folders of the source folder of OpenSim-core (/opensim-core-source).
  2. After the configuration and generation, when I run the make command, it returns some errors in the Moco/Tests such as:
    "
    In file included from /home/.../opensim-moco-source/Moco/Moco/Common/TableProcessor.h:21,
    from /home/.../opensim-moco-source/Moco/Tests/testTableProcessor.cpp:21:
    /home/.../opensim-moco-source/Moco/Moco/Common/../MocoUtilities.h:55:20: error: redefinition of ‘template<class T, class ... Args> std::unique_ptr OpenSim::make_unique(Args&& ...)’
    55 | std::unique_ptr make_unique(Args&&... args) {
    | ^~~~~~~~~~~
    In file included from /home/.../opensim-core/include/OpenSim/Common/osimCommon.h:28,
    from /home/.../opensim-moco-source/Moco/Tests/Testing.h:21,
    from /home/.../opensim-moco-source/Moco/Tests/testTableProcessor.cpp:20:
    /home/.../opensim-core/include/OpenSim/Common/CommonUtilities.h:38:20: note: ‘template<class T, class ... Args> std::unique_ptr OpenSim::make_unique(Args&& ...)’ previously declared here
    38 | std::unique_ptr make_unique(Args&&... args) {
    | ^~~~~~~~~~~
    In file included from /home/.../opensim-moco-source/Moco/Moco/Common/TableProcessor.h:21,
    from /home/.../opensim-moco-source/Moco/Tests/testTableProcessor.cpp:21:
    /home/.../opensim-moco-source/Moco/Moco/Common/../MocoUtilities.h:136:15: error: default argument given for parameter 4 of ‘SimTK::Vector OpenSim::interpolate(const Vector&, const Vector&, const Vector&, bool)’ [-fpermissive]
    136 | SimTK::Vector interpolate(const SimTK::Vector& x, const SimTK::Vector& y,
    | ^~~~~~~~~~~

"

Do you have any idea on how I can solve the issue? I hope it is clear enough.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant