-
Notifications
You must be signed in to change notification settings - Fork 741
import error #1510
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
Comments
Can you paste example code or a link? I suspect you need to pass |
Yes, I added x, I have a question. For (https://github.com/rust-lang/rust-bindgen/blob/master/bindgen-integration/build.rs) // use std::fs; |
I use rocksdb test:
let out_path = PathBuf::from("src"); wraper.h |
You should be able to use |
I use .clang_args(&["-x","c++","-std=c++14"]) --- stderr |
That sounds like #1464, see there for workarounds. |
I think this should be working now since #1464 is fixed, let me know otherwise. |
hello.I am using leveleb to test this project, I have encountered such a problem, I can do it in g++ environment.
--- stdout
cargo:rustc-link-lib=/home/orange/work/rust/material/main/cpprust/libleveldb.a
--- stderr
/usr/include/leveldb/slice.h:21:10: fatal error: 'string' file not found
/usr/include/leveldb/slice.h:21:10: fatal error: 'string' file not found, err: true
thread 'main' panicked at 'Unable to generate bindings: ()', src/libcore/result.rs:1009:5
note: Run with
RUST_BACKTRACE=1
for a backtrace.The text was updated successfully, but these errors were encountered: