Mingw64(Windows 11) Failed to built [fixed] #178
-
| 
         In Mingw64 (Windows11)  trying to build from source,but something go wrong. How can I  do it ? (2)Generate Package of libheif  ---Done (3)Installing Mingw64-libheif   Packages  ---Done (4) Run setup.py  (pip install) --- [FAILED] $ SETUPTOOLS_USE_DISTUTILS=stdlib MSYS2_PREFIX="C:/msys64/mingw64" pip install . × Building wheel for pillow-heif (pyproject.toml) did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip.  | 
  
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
| 
         I never tried build it with Mingw, only libheif with mingw to get libheif binaries and after that builded "pillow_heif" with   | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         With last commit it should succeed to build under Mingw Python, can you verify this? Ref: a279fff  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         I'd get it , and succeeded  to build it just now. ---Result--- User@11-laptop MINGW64 ~/temp/1202/pillow_heif-master User@11-laptop MINGW64 ~/temp/1202/pillow_heif-master $ ---Test  -- 
 
  | 
  
Beta Was this translation helpful? Give feedback.
I'd get it , and succeeded to build it just now.
Thank you very much.
---Result---
$ pwd
/home/User/temp/1202/pillow_heif-master
User@11-laptop MINGW64 ~/temp/1202/pillow_heif-master
$ ls
CHANGELOG.md MANIFEST.in ci examples pillow_heif setup.py
LICENSE.txt README.md docker libheif pyproject.toml tests
LICENSES_bundled.txt benchmarks docs pi-heif setup.cfg
User@11-laptop MINGW64 ~/temp/1202/pillow_heif-master
$ SETUPTOOLS_USE_DISTUTILS=stdlib MSYS2_PREFIX="C:/msys64/mingw64" pip install .
Processing c:/msys64/home/user/temp/1202/pillow_heif-master
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement al…