pie__ has quit [Remote host closed the connection]
fundies has joined #sandstorm
<fundies>
hi
<fundies>
im trying to use proto but im getting undefined reference to symbol '_ZN2kj1_20inlineRequireFailureEPKciS2_S2_S2_'
<fundies>
what am I missing?
isd has quit [Quit: Leaving.]
<kentonv>
fundies, are you linking against libkj?
<kentonv>
fundies, you need to link against libcapnp and libkj, i.e.: -lcapnp -lkj
<kentonv>
if you're using RPC you also need: -lcapnp-rpc -lkj-async
<kentonv>
if you have pkg-config installed you can use it to query the linker params: pkg-config --libs capnp
<fundies>
whats lkj?
<kentonv>
it's a C++ framework library that's bundled with Cap'n Proto, but built as a separate library
<fundies>
whats it do?
<kentonv>
it contains a bunch of C++ utility code
<kentonv>
stuff that isn't really specific to Cap'n Proto serialization, but is used by the Cap'n Proto library
<fundies>
kentonv, you guy who made cap n proto?
<kentonv>
yes
pie_ has quit [Ping timeout: 240 seconds]
<fundies>
kentonv, how much work on protocol buffers would you say you did compared to jeff and sanjay?
<kentonv>
jeff and sanjay invented the protocol and wrote the first version, often called "proto1". I wrote proto2 (a complete rewrite in C++ and Java) and released it open source.
<kentonv>
proto2 is the same design, but API details were cleaned up and the support for dynamic reflection improved a lot