-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 can I build it with static exe file in windows system #10
Comments
在VPS上cross compile吧 |
@fiercebead 无论是在win下编译还是在VPS上,依然是这样的错误 |
@fiercebead @riobard The same exe file. when I run it in the msys2 , It's running well but when I run in the windows cmd, It's going wrrong. And the server side log is |
There's indeed a plan to release pre-built statically linked binaries for popular platforms (currently including Windows x64/x86, Linux/MacOS x64), but I haven't got the time to set up the release process. Now that you're asking, I'm giving it a try. Could you please help me beta-test the binary releases from here? https://github.com/riobard/go-shadowsocks2/releases/tag/v0.0.1 |
@riobard THX, And I knew what wrrong with my commond.. It is that in the bash we must use ' ' to include the symbol like !#?~ while use -password. But in windows cmd, we should not the ' '. |
It's better to make windows binary's filename end with |
@fiercebead Makes sense. Can Windows natively uncompressed 7z? I think you'll need to install 7z app first? Otherwise I think it's easier to use zip for Win/MacOS and gz for Linux. |
@riobard 这样也不错,不过windows用户应该总会安装7z或者winrar或者其他一些国产的压缩软件,因为作为windows用户什么都不装的话仅仅靠zip是不够的吧,基本上现在win下的压缩软件都支持7z |
It's better to reduce reliance on 3rd party app. Just checked that MacOS natively supports gz, so the choice is simple: zip for Windows, and gz for Linux/MacOS. |
I agree, it seems downloading
|
Oh but I can download |
That link seems to be broken. I'll upload a zip-compressed version later. |
I tested with Windows 10 64bit. It works. |
Uploaded zip-compressed binary for Windows. |
居然可以直接在Windows上编译。。。好顶赞 |
In the shadowsocks/shadowsocks-libev#1248 @madeye suggest me to use go-shadowsocks2 in windows instead of ss-libev, And I use go get -u -v github.com/shadowsocks/go-shadowsocks2 to install it in my mingw64. So now.. How can I build It into a static exe file? Because I found that It going wrrong if I move the "go-shadowsocks2.exe" to another path. so I think it is using some other link files?
The text was updated successfully, but these errors were encountered: