Hi Jeffrey, On Thu, May 24, 2018 at 10:19 PM, Jeffrey Qiu <[email protected]> wrote:
> Following the installation page, after create the Visual Studio solution, > there is only win32 build configuraion. > You can generate an x64 build configuration by passing the '-A Win64' flag to CMake: mkdir capnproto/c++/build cd capnproto/c++/build cmake .. -G "Visual Studio 15 2017" -A Win64 Harris > After adding a new x64 build configuration, changing target machine to x64 > for every project and minor changes on output/dependency directories, > finally I built x64 libraries and successfully installed pycapnp in Python > 3.6.4 x64 in windows. > The examples addressbook, calculator and thread all run well. > > Is it possible to add x64 build configuration in next windows build? > > -Jeffrey > > 在 2018年5月25日星期五 UTC+8上午1:37:04,Kenton Varda写道: >> >> Hi Jeffrey, >> >> To be honest I'm not sure if pycapnp works on Windows at all. I don't >> think anyone has tried that. >> >> Cap'n Proto's C++ implementation supports both Win32 and Win64. The >> pre-built binary available for download on capnproto.org is just the >> code generator tool -- a tool you'd normally run at compile time (for a C++ >> app). It's a 32-bit binary, but that's irrelevant -- it generates code >> which is identical on all platforms, so the same tool can be used in 32-bit >> and 64-bit builds. >> >> pycanpn builds on the C++ Cap'n Proto implementation and makes it >> available from Python. In theory, because the C++ implementation now >> supports Windows and MSVC, it should be possible to build pycapnp on >> Windows (whether 32-bit or 64-bit) -- but since I don't think anyone has >> tried it yet, there will probably be a number of small problems you'll need >> to fix along the way. >> >> -Kenton >> >> On Thu, May 24, 2018 at 1:58 AM, Jeffrey Qiu <[email protected]> >> wrote: >> >>> In the installation page, there is only win32 build for windows and it >>> could be only be used to build pycapnp in Python 32. >>> Is there a build supports x64 in windows? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Cap'n Proto" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> Visit this group at https://groups.google.com/group/capnproto. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "Cap'n Proto" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at https://groups.google.com/group/capnproto. > -- You received this message because you are subscribed to the Google Groups "Cap'n Proto" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/capnproto.
