g++: error: unrecognized command line option '-std=c++14' make: *** [src/core/ext/filters/census/grpc_context.lo] Error 1 ERROR: `make' failed

 

 

 

For CentOS run this.

# yum install gcc-c++

Then Install cmake.

# yum install cmake

Then run.

# yum install centos-release-scl

Install devtoolset.

# yum install devtoolset-8-gcc devtoolset-8-gcc-c++

Enable devtoolset.

# scl enable devtoolset-8 -- bash

  • 0 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

How to upgrade PHP to 7.4 in centos 7?

Enter the following commands on the terminal to upgrade PHP:      1 . To install the latest...

Protocol Buffer Compiler Installation

How to install the protocol buffer compiler. While not mandatory, gRPC applications often...

How to Install Go on CentOS 7

Go, often referred to as golang is a modern open-source programming language created by Google....

Configure gRPC for go and protoc

Quick start This guide gets you started with gRPC in Go with a simple working example....

Installing Bazel on CentOS 7

Download the corresponding .repo file from Fedora COPR and copy it to /etc/yum.repos.d/....