Commit e6cadfb6 authored by Kenton Varda's avatar Kenton Varda

Clarification.

parent b8bee4f9
...@@ -179,11 +179,11 @@ using Cxx = import "/capnp/c++.capnp"; ...@@ -179,11 +179,11 @@ using Cxx = import "/capnp/c++.capnp";
$Cxx.namespace("foo::bar::baz"); $Cxx.namespace("foo::bar::baz");
{% endhighlight %} {% endhighlight %}
Note that `capnp/c++.capnp` is installed in `$PREFIX/include` when you install the C++ runtime. Note that `capnp/c++.capnp` is installed in `$PREFIX/include` (`/usr/local/include` by default)
`capnpc` automatically searches `/usr/include` and `/usr/local/include` for imports that start with when you install the C++ runtime. `capnpc` automatically searches `/usr/include` and
a `/`, so it should "just work". If you installed somewhere else, you may need to add it to the `/usr/local/include` for imports that start with a `/`, so it should "just work". If you installed
search path with the `-I` flag to `capnpc`, which works much like the compiler flag of the same somewhere else, you may need to add it to the search path with the `-I` flag to `capnpc`, which
name. works much like the compiler flag of the same name.
## Types ## Types
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment