You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
schema.capnp.go is generated when you run "capnpc -ogo schema.capnp" on the schema.capnp file generated by bambam.
go.capnp is just copied into your build directory from the bambam/ directory.
I added additional notes to the README to hopefully make this clearer. If you have further questions, let me know.
schema.capnp.go # generated by `capnpc -ogo schema.capnp` <- you have to do this yourself or in your Makefile.
go.capnp # always necessary boilerplate to let capnpc work, just copy it from bambam/go.capnp to your build dir.
The easiest way to understand how to build a project is: run "go test -v -run 003" and then to look in the generated testdir_X directory (where X is a randomly generated number). You should be able to run "go build" inside that test directory (as that is what the test suite does).
I assume I am doing something incorrectly, but I cant figure out what it is....
In the current directory I have one file in a separate package that describes a struct. I run:
From looking at the documentation, I am missing
schema.capnp.go
andgo.capnp
. When I build the project, it fails:The text was updated successfully, but these errors were encountered: