Comments (4)
Got it,the Cap'n Proto scheme file compile has to be installed from https://capnproto.org/install.html.
Could you please document this somewhere?
from capnpc-rust.
Hi! Thanks for reporting this.
The error ought to display a message pointing you to https://capnproto.org/install.html . In your case, it looks like somehow this call to command.spawn()
succeeds, even though the capnp
executable is not installed on your system. I'm interested in figuring out how that could happen. What operating system are you on?
The solution is probably to bubble that map_err()
call out a bit, so that it would have caught the error in your case.
from capnpc-rust.
This is on Debian 8 using Rust nightly.
from capnpc-rust.
Fixed in da15eac and released in version 0.6.1.
I guess that command.spawn()
was succeeding because your package manager was displaying something like "The program capnp
is not installed on the system. To install it, do apt-get capnproto".
from capnpc-rust.
Related Issues (20)
- Need more info in log HOT 1
- Porting codegen to use syntex_syntax (ie rustc's libsyntax) HOT 3
- support Cap'n Proto generics HOT 17
- Premature EOF Error when running the example. HOT 5
- from FromPointerBuilder issue HOT 2
- Importing schemas from other crates is awkward HOT 2
- generics in superclass can cause compilation failure
- How to build a list inside an union? HOT 3
- Add #![allow(dead_code)] in generated *.rs files HOT 2
- When a schema is in a subdirectory generate fails to create output directory HOT 2
- shared memory implementation - need help HOT 1
- default values for pointer fields are unsupported HOT 5
- capnpc panics when function argument contains an underscore HOT 1
- List(Interface) is unsupported HOT 1
- How to get to Builder from Reader? HOT 4
- Trying to return a union - Help needed HOT 1
- Serde support HOT 1
- File creation errors when the .capnp file is not in the current directory. HOT 2
- Hard-coded /bin/cat HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capnpc-rust.