pycapnp icon indicating copy to clipboard operation
pycapnp copied to clipboard

Wish: pycapnp lite (without rpc or condition install) on Windows

Open sbant opened this issue 9 years ago • 1 comments

Today, I retry compile capnproto c++ version with Mingw64 The only error is in kj-async library(because the difference with linux and windows, it will not be supported in near future), after I commented kj-async in kj/CmakeLists.txt All libraries and exe built correctly.

Then I use Dependency Walker check capnp.exe capnpc-c++.exe canpnp-capnp.exe, they depend on ADVAPI32.DLL, KERNEL32.DLL, MSVCR100.DLL. the former two are normal windows dll. I double checked python.exe in python 3.4.3 dir, it depends on python34.dll, MSVCR100.DLL, KERNEL32.DLL So, I think python can use the lib built with Mingw64.

And may be next week, msvc2015 rtm will also support build capnproto c++(except kj-async) (constexpr supported in msvc2015 rtm, http://blogs.msdn.com/b/vcblog/archive/2015/06/19/c-11-14-17-features-in-vs-2015-rtm.aspx)

Like Rust version capnp has 3 separate library, I wish pycapnp can separate out the rpc to install on Windows

sbant avatar Jul 13 '15 14:07 sbant

pycapnp now works on Windows (see master branch). Though I haven't tried linking with pycapnp lite (not familiar with it).

haata avatar Dec 12 '19 08:12 haata