mkv

Untitled

mkv
Jan 12th, 2020
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.65 KB | None | 0 0
  1. http://docs.overviewer.org/en/latest/building/#id4
  2. # Building with mingw-w64 and msys2
  3.  
  4.  
  5. # commands
  6. pacman -S git mingw-w64-x86_64-python3-numpy mingw-w64-x86_64-python3-Pillow mingw-w64-x86_64-python3 mingw-w64-x86_64-toolchain
  7. git clone https://github.com/overviewer/Minecraft-Overviewer.git
  8. cd Minecraft-Overviewer
  9. python3 setup.py build
  10.  
  11.  
  12. # build output
  13. C:\msys64\mingw64\bin/x86_64-w64-mingw32-gcc.exe -Wno-unused-result -Wsign-compare -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fwrapv -D__USE_MINGW_ANSI_STDIO=1 -D_WIN32_WINNT=0x0601 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fwrapv -D__USE_MINGW_ANSI_STDIO=1 -D_WIN32_WINNT=0x0601 -DNDEBUG -I. -IC:/msys64/mingw64/lib/python3.8/site-packages/numpy/core/include -IC:/msys64/mingw64/include/python3.8 -c overviewer_core/src/main.c -o build/temp.mingw-3.8/overviewer_core/src/main.o
  14. In file included from overviewer_core/src/main.c:18:
  15. overviewer_core/src/overviewer.h:40:10: fatal error: Imaging.h: No such file or directory
  16.    40 | #include <Imaging.h>
  17.       |          ^~~~~~~~~~~
  18. compilation terminated.
  19. Traceback (most recent call last):
  20.   File "C:/msys64/mingw64/lib/python3.8/distutils/cygwinccompiler.py", line 192, in _compile
  21.     self.spawn(self.compiler_so + cc_args + [src, '-o', obj] +
  22. distutils.errors.DistutilsExecError: command 'C:\\msys64\\mingw64\\bin/x86_64-w64-mingw32-gcc.exe' failed with exit status 1
  23.  
  24.  
  25. # fixed by copying the headers into the toplevel dir and running python3 setup.py build again
  26. cp -pv /c/msys64/mingw64/include/python3.8m/Imaging.h .
  27. cp -pv /c/msys64/mingw64/include/python3.8m/ImPlatform.h .
  28. cp -pv /c/msys64/mingw64/include/python3.8m/ImagingUtils.h .
Advertisement
Add Comment
Please, Sign In to add comment