-
Notifications
You must be signed in to change notification settings - Fork 5
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
cargo build failed on Windows 10 #48
Comments
Can you re-run the build with Based on the error message I'm guessing it is trying to run a program that isn't installed, probably Bazel. |
Hi, Are you on Windows 10 ? Can you double check all these dependencies are installed for you?
On Windows compilation is a little more tricky due to the path size limits ( bazelbuild/bazel#5163 ). mkdir -p dist/include
mkdir -p dist/lib/windows/x86_64/
bazel build --config windows //runecoral:runecoral
cp runecoral/runecoral.h dist/include
cp bazel-bin/runecoral/runecoral.lib dist/lib/windows/x86_64/ And then setting |
Installing Bazel fixed that issue, but still having another issue:
Does it require android ndk as well? |
Installed all dependencies mentioned above, but still having issue with Android NDK. |
Ahh I think that's an issue with newer version of bazel. It looks for ANDROID_NDK because we have https://github.com/hotg-ai/librunecoral/blob/master/WORKSPACE#L72 this line. just comment that out and you can build for windows. I will fix this issue later properly |
Thanks for commenting. Finally, it builds successfully and I am ready to go! |
Having the following issue while cargo install:
The text was updated successfully, but these errors were encountered: