Variadic templates only available with -std=c++11 or -std=gnu++11 problem solving

The following errors sometimes occur during the compilation of the ros package:

variadic templates only available with -std=c++11 or -std=gnu++11

The cause of the problem may be: a higher version of the package has been downloaded (for example, the ros version is kinetic, and the version of the package downloaded on github is melodic)

The solution is:

There is a branch in the upper left corner of github, choose the version that suits you.

Guess you like

Origin blog.csdn.net/nature1949/article/details/90636553