当我尝试为 java 编译 gRPC 时出现以下错误
我正在运行的命令是 gradlew.bat installDist
Execution failed for task ':grpc-compiler:compileJava_pluginExecutableJava_pluginCpp'.
> No tool chain is available to build for platform 'x86_64':
- Tool chain 'visualCpp' (Visual Studio): Could not locate a Visual Studio installation, using the Windows registry and system path.
- Tool chain 'gcc' (GNU GCC): Could not find C compiler 'gcc' in system path.
- Tool chain 'clang' (Clang): Could not find C compiler 'clang' in system path.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
我已将 Microsoft Visual Studio 文件夹 (C:\Program Files (x86)\Microsoft Visual Studio 14.0 ) 添加到路径
更新
我已经安装了 gcc 和 clang,但我仍然收到上述错误