【异常】 Could not find Linker 'g++' in system path.

1 详细异常

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':az-exec-util:linkMainExecutable'.
> Could not find Linker 'g++' in system path.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 59s

  

2 解决

安装 gcc
 
sudo yum install -y gcc-c++*
 
posted @ 2019-10-20 20:23  Questions张  阅读(1267)  评论(0编辑  收藏  举报