Invoking "make -j2 -l2" failed
MARHEM602 opened this issue · 4 comments
MARHEM602 commented
twdragon commented
@MARHEM602 you are compiling your workspace using by default a C++11 compiler. std::make_unique
is implemented in STL for C++14. Try to add -DCMAKE_CXX_FLAGS="-std=c++14"
in your invocation or use a newer compiler.
MARHEM602 commented
I updated my G++ and ran the command :
catkin_make -DCMAKE_CXX_FLAGS="-std=c++14"
But I still have the same problem
twdragon commented
Incremental compiling prevents changing the standard. Try to remove build
and devel
subdirectories and recompile the entire workspace
MARHEM602 commented