Closed sgerbino closed 3 years ago
Having some issues with podgen, our schema produces the following output:
podgen
+ GOPATH=/root/go + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/root/go/bin + mkdir -p build/cpp build/go + find ./schema -name *.capnp + ./deps/podgen/podgen ./schema/broadcast.capnp -t deps/podgen/include -o build/cpp -c /usr/local/include parsing ./schema/broadcast.capnp found namespace koinos::broadcast "./schema/common.capnp" parsed import common.capnp with namespace koinos "./schema/protocol.capnp" parsed import protocol.capnp with namespace koinos::protocol generating file "/root/sg-koinos-proto/build/cpp/./schema/broadcast.pod.hpp" terminate called after throwing an instance of 'std::runtime_error' what(): namespace not found for import schema/protocol.capnp Aborted (core dumped)
We decided to just go with Cap'n Proto directly (for now).
Having some issues with
podgen
, our schema produces the following output:We decided to just go with Cap'n Proto directly (for now).