【异常】 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++*
 

猜你喜欢

转载自www.cnblogs.com/QuestionsZhang/p/11709005.html