When executing the command bazel build //flashroute:flashroute reports an error.
error executing command /usr/bin/gcc @bazel-out/k8-fastbuild/bin/flashroute/flashroute-
FAILED: Build did NOT complete successfully
Solution:
it is a system problem.“On some systems, the default version of C++ is not set to 14, in this case, you may specify it in --cxxopt
.”
change the command to:
bazel build --cxxopt="--std=c++14" flashroute
Done!
Read More:
- bazel Compile Error: absl/base/policy_checks.h:79:2: error: #error “C++ versions less than C++14 are not supported.”
- Taro Install Error: permission denied, symlink ‘../lib/node_modules/@tarojs/cli/bin/taro‘ -> ‘/usr/local/bin/tar
- /usr/bin/ld: skipping incompatible Error [How to Fix]
- /usr/bin/ssh-copy-id: ERROR [How to Solve]
- How to Solve “/usr/bin/ld: skipping incompatible”
- How to Solve error: command ‘C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc.exe‘ failed
- Ubutnu Qt Unable to start process Error: “make“ -f ‘ /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit sta
- Error 1 error MSB3721: Command ““C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin\nvcc.exe” -genco
- GCC error: unrecognized command line option ‘-no-pie’
- Error: cannot find module ‘webpack cli/bin/config yargs’‘
- Bin File Programming Failed, could not find core in coresight setup, erase error
- Error: stat_bin() must not be used with a y aesthetic.
- When starting Vue project: cannot find module ‘webpack cli / bin / config yargs’ error resolution
- [Solved] bin/hive Startup Error: Operation category READ is not supported in state standby
- [Solved] Webpack compilation Error: Cannot find module’webpack-cli/bin/config-yargs’
- [Solved] Error executing Jupyter command ‘notebook‘: [Errno 2] No such file or directory
- NPM install error: Cannot find module ‘D:\zip\node_modules\npm\bin\npm-cli.js‘
- QT Error: ‘C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe‘ failed
- [Solved] SHELL Run Error: “-BASH: ./TEST.SH: /BIN/BASH^M: BAD INTERPRETER: NO SUCH FILE OR DIRECTORY”
- [Solved] Error in executing mysqld — initialize command