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
TensorflowLite 1.15.2 aar build failure in Win10 #46600
Comments
I ran the build command in git bash at first,now I tried cmder/cmd-bash, I still got the same error, |
@thaink Sorry to ask,but may you offer me some pro advice if possible, |
@nickkchenn In my experience, this error is related to bazel version. Maybe yours is too old. And is there any reason that you are building 1.15.2 instead of our latest release? |
@thaink Thank you for your reply,
|
Looking at the error message:
Look like bazel at that version is not supporting Windows' path really well. If you make no modification to the code it might be better to just use our prebuilt aar file or build it in Linux. Anyway, TFLite is designed to be backward-compatibility so I would still recommend to try our latest version as the first option. |
ok,I understand it. I'll try to build it in linux instead or try with latest version |
Hi There, We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help. This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information. |
Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information
Describe the problem
I was trying to build the tensorflow-lite-1.15.2.aar from source on my local WIN10 PC,
I downloaded the source code and installed bazel following instructions online.
The version of ANDROID_NDK is 18.1.5063045 and ANDOIRD_SDK is 23
After configuring the bazelrc, I executed the build command and got the following error:
Provide the exact sequence of commands / steps that you executed before running into the problem
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
Here is the tf_configure.bazelrc content I got ,
I am new to bazel and tensorflow , I feel there must be something wrong with my bazelrc, but I can't find similar problem online, so I'm trying to seek for help here. Thanks.
The text was updated successfully, but these errors were encountered: