ilpincy / argos3

A parallel, multi-engine simulator for heterogeneous swarm robotics
http://www.argos-sim.info/
268 stars 121 forks source link

Build error: make_unique #123

Closed jtrautmann closed 4 years ago

jtrautmann commented 4 years ago

On one of my machines I get the following error message for the file src/plugins/robots/e-puck/simulator/dynamics3d_epuck_model.cpp when trying to build argos:

error: ‘make_unique’ is not a member of ‘std’

It seems to me that this is a problem with the C++ version, as make_unique is not part of the C++11 standard. I changed the C++ standard in the ARGoSBuildFlags.cmake file. This got built, but led to other problems on runtime.

gcc version: 7.4.0 OS: Ubuntu 18.04