-
Notifications
You must be signed in to change notification settings - Fork 56
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
error: Could not compile snips-nlu-resources-packed
#22
Comments
I suspect this is happening due to me using the wrong linker/compiler settings. I had something similar on a different machine but was able to resolve it with a series of steps, partially helped by https://chr4.org/blog/2017/03/15/cross-compile-and-link-a-static-binary-on-macos-for-linux-with-cargo-and-rust/ |
hi @warent . This error occurs generally when you compile But I see that you added I can't reprocuce the error so it's a bit difficult to know what is your problem but the link you sent talks about cross compilation from macOS to Linux.
Also I suggest you to update your rust version because you're out-of-date (as this moment |
As we can't reproduce the bug and no feedbacks I close this issue. |
@klefevre Hi, also having this issue. Trying to make some bindings for NodeJS with Neon so I can use it on aws lambda. Built on an amazonlinux:latest docker container. Dockerfile I'm using is below, should be reproducible.
cd into Seems to be a linux/docker issue as works correctly on native OSX. Haven't tried windows |
Hey @ballwood, |
@adrienball yep perfect. upped the container to use 4gb and worked fine, might wanna put a notice in the readme. Thanks for the help, really appreciate it. Great work on the library btw guys, its super fast! |
I'm closing this issue because the way resources are managed has been completely redesigned in the latest release (0.58.0). Cheers! |
I'm not terribly experienced with Rust, so I apologize if the information here is lacking.
I have a project with the following Cargo.toml
When I execute
cargo run --verbose
eventually the compilation fails:The information on the error is as follows:
rustc and cargo info:
rustc 1.23.0 (766bd11c8 2018-01-01)
cargo 0.24.0 (45043115c 2017-12-05)
Any ideas why this is happening?
The text was updated successfully, but these errors were encountered: