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
When will folly support VS ? #529
Comments
The most definitive answer I can give currently is: soon. I've been working on getting Folly building and functional on Windows for quite a while now, and have things working, it's just the build process that's currently blocking. I have it building locally, I just have to make it so that everyone else can build it. |
@Orvid thanks for update and thanks for your works! |
Great! |
great |
Great! |
You can do this too, but you need to install before: zlib, openssl, boost, libevent, double-conversion, glog, gflags, lz4, liblzma, snappy |
any updates for this? |
You can build it for Windows |
Thank you KindDragon! Could you share the steps for building it with MSVC on Windows? or some instructions? I only get the source of the zlib, openssl, boost, libevent, double-conversion, glog, gflags, lz4, liblzma, snappy, it's hard to get all of them build & install successfully for me. Is there some setup scripts like OSQuery: https://github.com/facebook/osquery/blob/master/tools/make-win64-dev-env.bat, I have install some packages on C:\ProgramData\chocolatey\lib by execute the scripts, but I don't how to make that works with Folly. |
I don't have instruction for 3rd party libraries. I just use them from vcpkg |
@KindDragon the errors locate at file folly/detail/CacheLocality.h, line 267: what's the ploblem and how to fix it? thanks |
@lazylazypig I compiled folly with VS2017 |
@KindDragon thanks for your reply. when you build folly with VS2017, did you just use the command 'vcpkg install folly:x64-windows' or you build it from the latest source code from github? |
@lazylazypig Yes, 'vcpkg install folly:x64-windows'.
They often break MSVC build. |
Which version of MSVC 2015 are you trying to build with. We do partially support VS 2015, but only with Update 3 installed. The builds do tend to break on master fairly often unfortunately :( |
@lazylazypig I can compile tag |
@KindDragon Why is folly only supported on x64? Was this a design decision from the beginning and if so, why? |
Ah, that's a shame especially on Windows. Confusing too, because there seem to be relatively recent commits that fix 32bit compilation... I too would love to know which parts this comes from, because I hoped to use folly's much-better futures instead of Boost.Thread's mess. |
IDK, ask @Orvid |
The Windows port is 64-bit only by design. The socket's portability API relies on the fact that a There is part of Folly that is tested on 32-bit, but only on IOS and Android toolchains. The rest of Folly is tested exclusively on 64-bit platforms. |
Hi. I'm trying to use folly futures on windows. The simplest CPP source:
spits this compiler error due to ptrhead.h:
|
@JunielKatarn - It looks like you have an old version of Folly - this particular |
Got it. Thanks! |
Windows support is largely complete, with a few minor issues remaining, so I'm going to close this out :) |
Hello, I really would like to use folly in my project, when will it support Windows ?
Thanks
The text was updated successfully, but these errors were encountered: