-
Notifications
You must be signed in to change notification settings - Fork 810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to compile on Windows. #10
Comments
Try to get WSL (Windows Subsystem For Linux) |
@hpstep Lmk when you installed WSL and if that doesn't work (You need to install the dependencies btw) |
As stated by @statulr you will need WSL to compile and run the program. The code is not portable to Windows since it is using libraries and system calls specific to *NIX systems. Socket programming on windows requires the winsock library. Maybe someone can make a Windows fork. |
If you're looking to use LLVM-MinGW or WinLibs to compile code on Windows, it's a bit different from using the standard MinGW or GCC compilers. You need to grab the latest release of LLVM-MinGW on GitHub or on the official LLVM-MinGW website |
虚拟机上可以编译吗 |
Yes as long as the virtual machine runs a compatible OS (Recommended: Ubuntu) |
cygwin 可以编译 编译后,这个怎么用啊 |
抱歉,如果这个翻译很糟糕,我不会说普通话,但基本上,因为它有一个 MAKEFILE,你可以执行命令smallchat,我很确定,或者你必须执行 GCC 或任何其他编译器,然后运行输出文件。 |
但老实说,我建议在 WSL 中执行此操作(之前已链接) |
好吧,很高兴看到它有效! |
I have made a win32 porting at this repo. You may have a try. |
@antirez You can archive this issue now |
How to support compiling on windows?
I use llvm-mingw or winlibs.
The text was updated successfully, but these errors were encountered: