我在Windows上设置了grpc,但是我被"make“命令卡住了,这个命令会给我一个错误Makefile:17146: *** multiple target patterns. Stop.
。
我运行过的命令:
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
$ cd grpc
$ git submodule update --init
$ make
没有找到make命令,所以我通过下载make-4.2.1-without-guile-w32-bin.zip
并解压缩,然后用C:\Users\me\AppData\Local\Programs\Git\mingw64\
合并文件内容来安装它。
然后,我尝试再次运行make
,但收到以下错误:
Makefile:17146: *** multiple target patterns. Stop.
然后我运行:
$ git pull --recurse-submodules
$ git submodule update --init --recursive
$ make
但在make
命令上仍然得到相同的错误。
我不知道可能的问题是什么;无论是grpc
还是make
执行。除了尝试上述方法,我还查阅了StackOverflow上的大多数讨论,但它们都与文件名或命令中的错误有关,对我来说并非如此。
发布于 2019-03-26 13:42:28
recommended way to build grpc涉及:
.
)-需要boringssl
这可能比make-4.2.1-without-guile更好用。
https://stackoverflow.com/questions/55349734
复制相似问题