Update docs for C++ v0.3.0rc5

This commit is contained in:
Jason Paryani
2013-08-31 19:12:44 -07:00
parent 26e112d600
commit bf7be6eeba
2 changed files with 9 additions and 11 deletions

View File

@@ -4,16 +4,15 @@ More thorough docs are available at [http://jparyani.github.io/capnpc-python-cpp
## Requirements
First you need a system-wide installation of the Cap'n Proto C++ library >= 0.3. Unfortunately, as of now, that means you have to build from the HEAD of Cap'n Proto. Follow these instructions to do so:
First you need a system-wide installation of the Cap'n Proto C++ library >= 0.3. Follow the [official installation docs](http://kentonv.github.io/capnproto/install.html) or for the lazy:
```bash
wget http://capnproto.org/capnproto-c++-0.3.0-rc2.tar.gz
tar xzf capnproto-c++-0.3.0-rc2.tar.gz
cd capnproto-c++-0.3.0-rc2
wget http://capnproto.org/capnproto-c++-0.3.0-rc5.tar.gz
tar xzf capnproto-c++-0.3.0-rc5.tar.gz
cd capnproto-c++-0.3.0-rc5
./configure
make -j8 check
sudo make install
sudo ldconfig
```
A recent version of cython and setuptools is also required. You can install these with:
@@ -25,7 +24,7 @@ pip install -U setuptools
## Building and installation
Install with `pip install capnp`
Install with `pip install capnp`. You can set the CC environment variable to control the compiler version, ie `CC=gcc-4.8 pip install capnp`.
Or you can clone the repo like so:

View File

@@ -6,15 +6,14 @@ Installation
C++ Cap'n Proto Library
------------------------
You need to install the C++ Cap'n Proto library first. It requires a C++ compiler with C++11 support, such as GCC 4.7+ or Clang 3.2+. Follow installation docs at `http://kentonv.github.io/capnproto/install.html <http://kentonv.github.io/capnproto/install.html>`_ with an added `sudo ldconfig` after you're done installing, or if you're feeling lazy, you can run the commands below::
You need to install the C++ Cap'n Proto library first. It requires a C++ compiler with C++11 support, such as GCC 4.7+ or Clang 3.2+. Follow installation docs at `http://kentonv.github.io/capnproto/install.html <http://kentonv.github.io/capnproto/install.html>`_, or if you're feeling lazy, you can run the commands below::
wget http://capnproto.org/capnproto-c++-0.3.0-rc2.tar.gz
tar xzf capnproto-c++-0.3.0-rc2.tar.gz
cd capnproto-c++-0.3.0-rc2
wget http://capnproto.org/capnproto-c++-0.3.0-rc5.tar.gz
tar xzf capnproto-c++-0.3.0-rc5.tar.gz
cd capnproto-c++-0.3.0-rc5
./configure
make -j8 check
sudo make install
sudo ldconfig
Pip
---------------------