libmediapipe icon indicating copy to clipboard operation
libmediapipe copied to clipboard

Cannot build on windows

Open Honya2000 opened this issue 1 year ago • 3 comments

I tried to run sh script (build-x86_64-windows.sh) on windows, but it just exits without any error at he beginning of script:

$ ./build-x86_64-windows.sh --version v0.8.11 --config release --opencv_dir ../opencv/build

CONFIGURATION

MediaPipe version: v0.8.11 OpenCV directory: C:/Projects/opencv/build Build configuration: release

Checking Clang -

Any ideas why it exits on Checking Clang ?

Honya2000 avatar Apr 03 '24 10:04 Honya2000

That's weird, it should at least print an error message. Is clang-cl installed on your system?

chnoblouch avatar Apr 04 '24 11:04 chnoblouch

I encountered the same problem. Could you please give more detailed steps?

lj-cug avatar Oct 23 '24 08:10 lj-cug

To check if clang-cl is installed, open PowerShell and enter Get-Command clang-cl. This should print the path to clang-cl.exe.

chnoblouch avatar Nov 05 '24 15:11 chnoblouch