To successfully call the capnp_generate_cpp()
function, the libmultiprocess
build system must be provided with paths to the native capnp
and capnpc-c++
tools.
This comment points the same:
I think
packages/libmultiprocess.mk
probably needs to be passing a-DCAPNP_EXECUTABLE=.../depends/arm-linux-gnueabihf/native/bin/capnp
argument to cmake. Also the package should have dependencies on bothcapnp
andnative_capnp
.
Fixes bitcoin/bitcoin#24387.