Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: windows下编译源码时提示:linking with x86_64-w64-mingw32-gcc
failed,但是实际已安装相应的c环境依赖
I have tried many solutions, but none of them worked. Seeking help to see if anyone else has encountered a similar issue.
Which specific version are you using? Additionally, you can ask about compilation issues in the developer community. 🛰️ 应用开发者专区 - TiDB 的问答社区
Thanks for the reply, but I have given up compiling on Windows and switched to Ubuntu.
May I ask, after switching to Ubuntu, did the compilation work properly?
The source code for the raft part can be compiled successfully, but when compiling grpc, it failed with the error: error: failed to run custom build command for `grpcio-sys v0.10.3+1.44.0-patched. The version being compiled is 0.10.3.
There is a discussion area which is much more suitable for this. → https://internals.tidb.io/
This topic was automatically closed 1 minute after the last reply. No new replies are allowed.