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

Compile error of Aseba #1

Open
WafaJohal opened this issue Feb 22, 2018 · 1 comment
Open

Compile error of Aseba #1

WafaJohal opened this issue Feb 22, 2018 · 1 comment

Comments

@WafaJohal
Copy link

I am trying to compile the demo (following )
But the build fails when I run the android.sh command it fails at 97% on the compile of
CMakeFiles/thymiotracker.dir/aseba/compiler/tree-optimize.cpp.o
The first error I get is a weird error:
thymio-tracker/aseba/common/utils/utils.h:63:7: error: 'unique_ptr' in namespace 'std' does not name a template type std::unique_ptr<T> make_unique(Args&&... args)

Is there a particular version of g++ to be used to compile aseba?

@stephanemagnenat
Copy link
Member

Is there a particular version of g++ to be used to compile aseba?

Yes, because of C++11/14 version support. This version is checked in the main CMakeLists.txt of Aseba but of course this check does not happen when used with submodules. Recently we switched Aseba to C++14. To answer your question one needs to know more about the setup you are using, and which android.sh you refer to.

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

2 participants