Merge pull request #3 from nathanaeljones/patch-1

Add build instructions
This commit is contained in:
David Lamparter 2016-04-27 19:54:21 +02:00
commit a15accf4eb

View file

@ -38,3 +38,16 @@ Otherwise, you can specify the path to the c plugin:
`capnp` generates a C struct that corresponds to each capn proto struct, along with read/write functions that convert to/from capn proto form. `capnp` generates a C struct that corresponds to each capn proto struct, along with read/write functions that convert to/from capn proto form.
TBD whether it will make sense in the future to provide accessor functions for struct members, rather than converting entire structs. TBD whether it will make sense in the future to provide accessor functions for struct members, rather than converting entire structs.
## building on linux
```
git clone https://github.com/opensourcerouting/c-capnproto
cd c-capnproto
git submodule update --init --recursive
autoreconf -f -i -s
./configure
make
make check
```