Skip to content
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

Building native libraries for Android on Windows 10 #152

Closed
midopooler opened this issue May 4, 2021 · 3 comments · Fixed by #363
Closed

Building native libraries for Android on Windows 10 #152

midopooler opened this issue May 4, 2021 · 3 comments · Fixed by #363
Labels
host:windows Issue that occurs when host OS is Windows platform:android Issue that occurs when the target platform is Android type:build/install Cannot build/install the plugin

Comments

@midopooler
Copy link

midopooler commented May 4, 2021

Android
You cannot build native libraries for Android on Windows 10, so use WSL 2 instead.

Hello @homuler , I was wondering why building native libraries for Android on Windows 10 is not allowed. Why we have to move to WSL 2? I know Mediapipe doesn't officially support it but may I know what could be the reason?

Is this a strict restriction? If not, I'll look to contribute to that part.

@homuler
Copy link
Owner

homuler commented May 4, 2021

I guess this is caused by tensorflow/tensorflow#38525 (comment) .

@midopooler
Copy link
Author

Hey @homuler , thanks for the quick response.
I want to map our 3D avatar using landmarks. As the landmarks are projected on a 2D canvas, I am not able to map landmarks in a 3D space. Give me some suggestions on this?

@homuler homuler closed this as completed Jul 3, 2021
@homuler
Copy link
Owner

homuler commented Nov 28, 2021

I have succeeded in building mediapipe_android.aar on my Windows machine.
But currently, it is too complicated and requires almost hobby-like procedures, so I'll leave it as is.
bazelbuild/bazel#7982 (comment)

As a hobby, I may modify it to run on Windows Docker later on.

@homuler homuler added host:windows Issue that occurs when host OS is Windows platform:android Issue that occurs when the target platform is Android type:build/install Cannot build/install the plugin labels Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
host:windows Issue that occurs when host OS is Windows platform:android Issue that occurs when the target platform is Android type:build/install Cannot build/install the plugin
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants