Since I'm having some difficulty installing libmultiprocess directly (https://github.com/chaincodelabs/libmultiprocess/issues/75), I'm trying the depends route instead.
When I install capnp via homebrew, and then libmultiprocess via depends, I end up with version mismatch errors when calling make (on the main project):
/usr/local/include/mp/proxy.capnp.h:13:2: error: "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
If on the other hand I brew uninstall capnp and then build libmultiprocess via depends, I get a different error:
execlp failed: No such file or directory
libc++abi: terminating with uncaught exception of type std::runtime_error: Invoking /usr/local/bin/capnp failed
execlp failed: No such file or directory
libc++abi: terminating with uncaught exception of type std::runtime_error: Invoking /usr/local/bin/capnp failed
/bin/sh: line 1: 84357 Abort trap: 6 /usr/local/bin/mpgen '.' '.' ipc/capnp/init.capnp
/bin/sh: line 1: 84356 Abort trap: 6 /usr/local/bin/mpgen '.' '.' ipc/capnp/echo.capnp
make[2]: *** [ipc/capnp/init.capnp.h] Error 134
This was on top a recent master commit (5558d2f5496d8fe1c16f9edd1ef395fcd842e6fb).
cc @ryanofsky
I can provide more detailed logs if you can't reproduce. Perhaps this is related to https://github.com/chaincodelabs/libmultiprocess/issues/75 so I'll try again when that's fixed.