On Tue, Feb 12, 2019 at 9:20 AM <[email protected]> wrote:

> I have a pythone plugin witch called in c++(by pybind11)  when I use
> **import exp_capnp** in python plugin the c++ application crashed
> (Segmentation fault).
> 1. Does anyone have a solution?
>

I think we'd need to see a minimal, complete, self-contained reproduction
to understand what the problem is here.


> 2. How can I compile `.capnp` to `.py`?
>

The Python implementation of Cap'n Proto does not use generated code; it
parses the .capnp files at runtime. I don't think anyone has made a version
that generates code.

-Kenton

-- 
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.

Reply via email to