-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Challenge in Mediapipe's Windows build due to EXTERNAL unsolved issue transferring from Tensorflow #4203
Comments
Update March2023I am using VS2022 and I can compile mediapipe.lib, however I stuck due to tensorflow.lite Contributions from @andrechenIt took me almost 3 weeks to make face mesh build on Visual Studio before I can test and debug easily. So I'd like to share this to anyone who is surfering bazel build and trying to port to Visual Studio like I did. Would be glad if this saves your precious time. Many thanks to mediapipe team for sharing this fantastic work. Before open up Visual Studio 2019 and make the build, make camera accessible and install PowerShell if you haven't yet. Also note that all demos should be launched in Visual Studio IDE, for you can easily debug and learn. Have fun! Now you know everything I know. History
|
Hello @GeorgeS2019 Thanks for collecting issues and compiling a elaborated issue description. It helps us understand the problem better. |
I have tried using the latest VS2022, 17.5.0 => the build fail |
This branch: mediapipe_library seems to be complete with the latest tflite files FYI: discussion |
Consider supporting this issue |
You're right, it seems we are having INTERNAL COMPILER ERRORS right now for these versions. Looks like a visual studio bug. But at least, version 17.2.3 does work. |
Very appreciate your IMPORTANT contribution to MediaPipe Windows community |
@andrechen |
Since filing this issue, it is great to see many commits have been done to improve the reliability of building in windows |
@rolandeke Both Windows 11, alone or using WSL2, have unsolved (unseparated Windows 11 and WSL) problems
Loss to Google=> Documentation remains non-up-to-date across different Google projects: e.g. tensorflow and mediapipe. This problems are NOT Obvious to upper management and the financial and branding and marketing negative impacts that are on-going here in this issue. ActionDocumentation needs to make that clear as well: both WSL (Ubuntu) and Windows 11 are not reflecting Unsolved issues transferred from TensorFlow By not tagging probably, MORE and MORE Windows 11 and WSl will keep facing FRUSTRATION without knowing that their problems ARE PART OF BIGGER Neglected Issues across DIFFERENT Google projects for Windows and WSL |
If you're still interested in LEGACY solution, i had fixed tensorflow-lite build break by adding a CPP _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING for visual studio 2022 v17.5.4. It also works for VS2019 16.11.26. both are the latest versions. One thing that, if you're suffering from C1001: Internal compiler error, try disable CPU overclocking. |
We have this is in our roadmap, We will publish the pre complied binaries for Windows soon. For now, We can commit any timeline to be available. Thank you |
What is the issue or feature request here? |
Move to #5366 |
Update 31st March 2023
Since filing this issue, it is great to see many commits have been done to improve the reliability of building in windows
Update 27th March 2023
Confirm, VS2019 solves many unsolved Windows build issues discussed in tensorflow, Bazel and mediapipe. Windows mediapipe building using e.g. MSYS2, MSVC is confusing with untested guidelines AND will continue to lead to frustration when building in Windows.
With VS2019, Windows building will no longer be an experimental waste of time.
@andrechen took THREE weeks
@GeorgeS2019 I wasted ONE week before identifying @andrechen 's workable Windows build VS2019 solution
Previous discusisons
### OS Platform and DistributionWindows 11
Compiler version
MSVC and GCC (MSYS2)
Programming Language and version
c++
Installed using virtualenv? pip? Conda?(if python)
No response
MediaPipe version
0.91 and above
Bazel version
5.2
XCode and Tulsi versions (if iOS)
No response
Android SDK and NDK versions (if android)
No response
Android AAR (if android)
None
OpenCV version (if running on desktop)
4.x
Describe the problem
March 2023
# Can you provide a compiled project file?
Without this, other projects depending on mediapipe are stalling
Aug 2022
'WindowsApps\python.exe' is not executable
@rajkundu
Can you share how you make it works in Windows and so the Windows community can stop doing it as Windows support is officially experimental
The main problem of building mediapipe in windows due to unsolved open issues related to external library i.e. tensorflow which has UNSOLVED Python_BIN_PATH inherited from tensorflow
Issues supporting this claim
@andrechen
Could you help us SOLVE this UNSOLVABLE mediapipe problem by updating your contribution?
FYI: https://github.com/andrechen/mediapipe/tree/master/visualstudio
@libaineu2004 => try the Visual Studio build
Linker error compiling MediaPipe face detection on Windows #3851
Complete Logs
Installation in windows
The text was updated successfully, but these errors were encountered: