-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
include!
can't read header when cxx is missing from dependencies
#222
Comments
I think this means |
Oh you're right, I only added cxx-build but totally forgot to add cxx itself. It's now compiled. Thanks @dtolnay |
I stumbled upon another related issue: I created a new cargo bin project alongside the [dependencies]
cxx_test = {path = ".."} Building this gives me an error:
I guess this has something to do with |
Adding |
include!
can't read header when cxx is missing from dependencies
Hi! I'm having issues with including a c++ header file and I'd appreciate your help :)
Note the "src/cpp/wrap/wrap.h"
Here's my builld.rs
If I change the path to something like:
I'll get a different error:
Thx,
Alex
The text was updated successfully, but these errors were encountered: