ViZDoom icon indicating copy to clipboard operation
ViZDoom copied to clipboard

vizdoom installation on Mac M1

Open HRXWEB opened this issue 3 years ago • 14 comments

I'm trying to install vizdoom on my Mac M1, but there are something wrong. I'm not sure how to install zdoom tho, can anyone help me out?

Collecting vizdoom
  Using cached vizdoom-1.1.8.tar.gz (21.9 MB)
Requirement already satisfied: numpy in ./miniforge3/envs/vzd/lib/python3.9/site-packages (from vizdoom) (1.20.3)
Building wheels for collected packages: vizdoom
  Building wheel for vizdoom (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/huangruixin/miniforge3/envs/vzd/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/setup.py'"'"'; __file__='"'"'/private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-wheel-bgor71ld
       cwd: /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/
  Complete output (625 lines):
  running bdist_wheel
  running build
  CMake Warning:
    No source or binary directory provided.  Both will be assumed to be the
    same as the current working directory, but note that this warning will
    become a fatal error in future CMake releases.
  
  
  -- The C compiler identification is AppleClang 12.0.5.12050022
  -- The CXX compiler identification is AppleClang 12.0.5.12050022
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Found Boost: /opt/homebrew/lib/cmake/Boost-1.76.0/BoostConfig.cmake (found version "1.76.0") found components: filesystem thread system date_time chrono regex iostreams
  -- Found Threads: TRUE
  CMake Deprecation Warning at src/vizdoom/CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  CMake Deprecation Warning at cmake_modules/CreateLaunchers.cmake:48 (cmake_policy):
    The OLD behavior for policy CMP0026 will be removed from a future version
    of CMake.
  
    The cmake-policies(7) manual explains that the OLD behaviors of all
    policies are deprecated and that a policy should be set to OLD only under
    specific short-term circumstances.  Projects should be ported to the NEW
    behavior and not rely on setting a policy to OLD.
  Call Stack (most recent call first):
    src/vizdoom/CMakeLists.txt:13 (include)
  
  
  -- Found BZip2: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/lib/libbz2.tbd (found version "1.0.6")
  -- Looking for BZ2_bzCompressInit
  -- Looking for BZ2_bzCompressInit - found
  -- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
  -- Found ZLIB: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/lib/libz.tbd (found version "1.2.11")
  -- Could NOT find GME (missing: GME_LIBRARIES GME_INCLUDE_DIR)
  -- Using system zlib
  -- Using internal jpeg library
  CMake Deprecation Warning at src/vizdoom/jpeg-6b/CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  -- Using system bzip2 library
  -- Using internal gme library
  CMake Warning (dev) at src/vizdoom/game-music-emu/CMakeLists.txt:2 (project):
    Policy CMP0048 is not set: project() command manages VERSION variables.
    Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
    command to set the policy and suppress this warning.
  
    The following variable(s) would be set to empty:
  
      PROJECT_VERSION
      PROJECT_VERSION_MAJOR
      PROJECT_VERSION_MINOR
      PROJECT_VERSION_PATCH
  This warning is for project developers.  Use -Wno-dev to suppress it.
  
  CMake Deprecation Warning at src/vizdoom/game-music-emu/CMakeLists.txt:12 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  CMake Deprecation Warning at src/vizdoom/lzma/CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  CMake Deprecation Warning at src/vizdoom/tools/CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  CMake Deprecation Warning at src/vizdoom/tools/lemon/CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  CMake Deprecation Warning at src/vizdoom/tools/re2c/CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  -- Looking for strdup
  -- Looking for strdup - found
  -- Looking for strndup
  -- Looking for strndup - found
  -- Looking for sys/types.h
  -- Looking for sys/types.h - found
  -- Looking for stdint.h
  -- Looking for stdint.h - found
  -- Looking for stddef.h
  -- Looking for stddef.h - found
  -- Check size of char
  -- Check size of char - done
  -- Check size of short
  -- Check size of short - done
  -- Check size of int
  -- Check size of int - done
  -- Check size of long
  -- Check size of long - done
  CMake Deprecation Warning at src/vizdoom/tools/updaterevision/CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  CMake Deprecation Warning at src/vizdoom/tools/zipdir/CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  -- /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include
  -- /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include
  -- /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/lzma/C
  CMake Deprecation Warning at src/vizdoom/dumb/CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  -- Looking for itoa
  -- Looking for itoa - not found
  CMake Deprecation Warning at src/vizdoom/gdtoa/CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  CMake Deprecation Warning at src/vizdoom/wadsrc/CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  CMake Deprecation Warning at src/vizdoom/src/CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  -- Found SDL2: /opt/homebrew/lib/libSDL2main.a;/opt/homebrew/lib/libSDL2.dylib;-framework Cocoa
  -- Found OpenAL: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenAL.framework
  -- Could not find FMOD include files
  -- Could NOT find SndFile (missing: SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR)
  -- Could NOT find MPG123 (missing: MPG123_LIBRARIES MPG123_INCLUDE_DIR)
  -- Could NOT find FluidSynth (missing: FLUIDSYNTH_LIBRARIES FLUIDSYNTH_INCLUDE_DIR)
  -- Looking for filelength
  -- Looking for filelength - not found
  -- Looking for strupr
  -- Looking for strupr - not found
  -- Looking for stricmp
  -- Looking for stricmp - not found
  -- Looking for strnicmp
  -- Looking for strnicmp - not found
  -- Looking for clock_gettime in rt
  -- Looking for clock_gettime in rt - not found
  -- Looking for clock_gettime
  -- Looking for clock_gettime - found
  -- Performing Test HAS_VA_COPY
  -- Performing Test HAS_VA_COPY - Success
  -- Found Boost: /opt/homebrew/lib/cmake/Boost-1.76.0/BoostConfig.cmake (found version "1.76.0") found components: thread system date_time chrono
  -- Fluid synth libs: FLUIDSYNTH_LIBRARIES-NOTFOUND
  -- Found PythonInterp: /Users/huangruixin/miniforge3/envs/vzd/bin/python3.9 (found suitable version "3.9.4", minimum required is "3")
  -- Found PythonLibs: /Users/huangruixin/miniforge3/envs/vzd/lib/libpython3.9.dylib (found suitable version "3.9.4", minimum required is "3.9")
  CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.20.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
    The package name passed to `find_package_handle_standard_args` (NUMPY) does
    not match the name of the calling package (NumPy).  This can lead to
    problems in calling code that expects `find_package` result variables
    (e.g., `_FOUND`) to follow a certain pattern.
  Call Stack (most recent call first):
    cmake_modules/FindNumPy.cmake:107 (find_package_handle_standard_args)
    src/lib_python/CMakeLists.txt:9 (find_package)
  This warning is for project developers.  Use -Wno-dev to suppress it.
  
  -- Found NUMPY: /Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/site-packages/numpy/core/include
  -- Found components for NumPy
  -- NUMPY_ROOT_DIR    = /usr/local
  -- NUMPY_INCLUDES    = /Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/site-packages/numpy/core/include
  -- NUMPY_LIBRARIES   =
  -- NUMPY_API_VERSION = 1.20.3
  -- pybind11 v2.6.0
  -- Found PythonInterp: /Users/huangruixin/miniforge3/envs/vzd/bin/python3.9 (found version "3.9.4")
  -- Found PythonLibs: /Users/huangruixin/miniforge3/envs/vzd/lib/libpython3.9.dylib
  -- Performing Test HAS_FLTO
  -- Performing Test HAS_FLTO - Success
  -- Performing Test HAS_FLTO_THIN
  -- Performing Test HAS_FLTO_THIN - Success
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd
  [  2%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomConfigLoader.cpp.o
  [  2%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jcomapi.o
  [  2%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomConfigLoader.cpp.o
  [  2%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/actions.o
  [  2%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/7zArcIn.o
  [  2%] Building C object src/vizdoom/tools/lemon/CMakeFiles/lemon.dir/lemon.o
  [  3%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Blip_Buffer.cpp.o
  [  3%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdapimin.o
  [  3%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdapistd.o
  [  3%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Classic_Emu.cpp.o
  [  4%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdatasrc.o
  [  4%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdcoefct.o
  [  4%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Data_Reader.cpp.o
  [  4%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdcolor.o
  [  4%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Dual_Resampler.cpp.o
  [  4%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Effects_Buffer.cpp.o
  [  4%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jddctmgr.o
  [  4%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/7zBuf.o
  [  4%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdhuff.o
  [  4%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/7zCrc.o
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdhuff.c:454:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1,
        ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdhuff.c:454:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1,
                       ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdhuff.c:454:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1,
                                      ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdhuff.c:454:56: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1,
                                                     ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdhuff.c:455:6: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1,
   ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdhuff.c:455:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1,
                  ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdhuff.c:455:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1,
                                 ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdhuff.c:455:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1,
                                                ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdhuff.c:456:6: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1,
   ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdhuff.c:456:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1,
                  ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdhuff.c:456:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1,
                                  ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdhuff.c:456:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1,
                                                  ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdhuff.c:457:6: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<13) + 1, ((-1)<<14) + 1, ((-1)<<15) + 1 };
   ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdhuff.c:457:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<13) + 1, ((-1)<<14) + 1, ((-1)<<15) + 1 };
                   ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdhuff.c:457:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<13) + 1, ((-1)<<14) + 1, ((-1)<<15) + 1 };
                                   ~~~~^
  [  4%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/7zCrcOpt.o
  [  4%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Fir_Resampler.cpp.o
  [  5%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/7zDec.o
  15 warnings generated.
  [  6%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdinput.o
  [  6%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/gme.cpp.o
  [  7%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdmainct.o
  [  7%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/7zStream.o
  [  7%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gme_File.cpp.o
  [  7%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdmarker.o
  [  7%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Bcj2.o
  [  7%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/M3u_Playlist.cpp.o
  [  7%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Bra.o
  [  7%] Linking C executable ../../../../bin/lemon
  [  7%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Bra86.o
  [  7%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/code.o
  [  7%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/BraIA64.o
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/bin
  [  7%] Built target lemon
  [  7%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Multi_Buffer.cpp.o
  [  7%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomController.cpp.o
  [  8%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/CpuArch.o
  [  8%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdmaster.o
  [  8%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Delta.o
  [  8%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Music_Emu.cpp.o
  [  8%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdmerge.o
  [  8%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/LzFind.o
  [  8%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdphuff.o
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdphuff.c:214:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1,
        ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdphuff.c:214:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1,
                       ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdphuff.c:214:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1,
                                      ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdphuff.c:214:56: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1,
                                                     ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdphuff.c:215:6: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1,
   ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdphuff.c:215:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1,
                  ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdphuff.c:215:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1,
                                 ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdphuff.c:215:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1,
                                                ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdphuff.c:216:6: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1,
   ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdphuff.c:216:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1,
                  ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdphuff.c:216:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1,
                                  ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdphuff.c:216:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1,
                                                  ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdphuff.c:217:6: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<13) + 1, ((-1)<<14) + 1, ((-1)<<15) + 1 };
   ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdphuff.c:217:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<13) + 1, ((-1)<<14) + 1, ((-1)<<15) + 1 };
                   ~~~~^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/jpeg-6b/jdphuff.c:217:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  ((-1)<<13) + 1, ((-1)<<14) + 1, ((-1)<<15) + 1 };
                                   ~~~~^
  [  9%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Ay_Apu.cpp.o
  15 warnings generated.
  [ 10%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdpostct.o
  [ 10%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdsample.o
  [ 10%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Lzma2Dec.o
  [ 10%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Ym2612_Emu.cpp.o
  [ 10%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/LzmaDec.o
  [ 10%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jerror.o
  [ 10%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jidctint.o
  [ 10%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jmemmgr.o
  [ 11%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/LzmaEnc.o
  [ 11%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jutils.o
  [ 12%] Linking C static library libjpeg.a
  [ 12%] Built target jpeg
  [ 12%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomController.cpp.o
  [ 12%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Sms_Apu.cpp.o
  [ 12%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Ay_Cpu.cpp.o
  [ 12%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/dfa.o
  [ 12%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomExceptions.cpp.o
  [ 12%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Ay_Emu.cpp.o
  [ 12%] Building C object src/vizdoom/tools/updaterevision/CMakeFiles/updaterevision.dir/updaterevision.o
  [ 13%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomExceptions.cpp.o
  [ 13%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Ppmd7.o
  [ 14%] Linking C executable ../../../../bin/updaterevision
  [ 14%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gb_Apu.cpp.o
  [ 14%] Built target updaterevision
  [ 14%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomGame.cpp.o
  [ 15%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gb_Cpu.cpp.o
  [ 15%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Ppmd7Dec.o
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/lib/ViZDoomController.cpp:960:17: warning: 113 enumeration values not handled in switch: 'AMMO0', 'AMMO1', 'AMMO2'... [-Wswitch]
          switch (var) {
                  ^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/lib/ViZDoomController.cpp:960:17: note: add missing switch cases
          switch (var) {
                  ^
  [ 15%] Linking C static library liblzma.a
  [ 15%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/main.o
  [ 15%] Built target lzma
  [ 15%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomMessageQueue.cpp.o
  [ 15%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/unload.o
  [ 15%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gb_Oscs.cpp.o
  [ 15%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/rendsig.o
  [ 15%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/rendduh.o
  [ 15%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gbs_Emu.cpp.o
  [ 15%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/register.o
  [ 15%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/readduh.o
  [ 15%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gym_Emu.cpp.o
  [ 16%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/rawsig.o
  [ 16%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/makeduh.o
  [ 16%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Hes_Apu.cpp.o
  [ 16%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/loadduh.o
  [ 16%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/dumbfile.o
  [ 17%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Hes_Cpu.cpp.o
  [ 17%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/duhtag.o
  [ 17%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/duhlen.o
  [ 18%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/atexit.o
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/lib/ViZDoomController.cpp:960:17: warning: 113 enumeration values not handled in switch: 'AMMO0', 'AMMO1', 'AMMO2'... [-Wswitch]
          switch (var) {
                  ^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/lib/ViZDoomController.cpp:960:17: note: add missing switch cases
          switch (var) {
                  ^
  [ 18%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/stdfile.o
  [ 18%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/mbo_getopt.o
  [ 18%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/silence.o
  [ 19%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/parser.o
  [ 19%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Hes_Emu.cpp.o
  [ 19%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/sampbuf.o
  [ 19%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/riff.o
  [ 20%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/resample.o
  [ 20%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomGame.cpp.o
  [ 20%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Kss_Cpu.cpp.o
  [ 20%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Kss_Emu.cpp.o
  [ 20%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Kss_Scc_Apu.cpp.o
  [ 20%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/scanner.o
  [ 20%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Apu.cpp.o
  [ 21%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Cpu.cpp.o
  [ 21%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Fme7_Apu.cpp.o
  [ 21%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Namco_Apu.cpp.o
  [ 21%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Oscs.cpp.o
  [ 21%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Vrc6_Apu.cpp.o
  [ 21%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/substr.o
  [ 22%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nsf_Emu.cpp.o
  [ 22%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nsfe_Emu.cpp.o
  1 warning generated.
  [ 22%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/memfile.o
  [ 22%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Sap_Apu.cpp.o
  [ 22%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/translate.o
  [ 22%] Building C object src/vizdoom/gdtoa/CMakeFiles/gdtoa.dir/dmisc.o
  [ 22%] Building C object src/vizdoom/gdtoa/CMakeFiles/gdtoa.dir/dtoa.o
  [ 22%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Sap_Cpu.cpp.o
  [ 22%] Building C object src/vizdoom/gdtoa/CMakeFiles/gdtoa.dir/misc.o
  [ 22%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Sap_Emu.cpp.o
  [ 22%] Linking C static library libgdtoa.a
  [ 22%] Built target gdtoa
  [ 22%] Building C object src/vizdoom/tools/zipdir/CMakeFiles/zipdir.dir/zipdir.o
  [ 22%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Snes_Spc.cpp.o
  [ 23%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomPathHelpers.cpp.o
  [ 23%] Linking CXX executable ../../../../bin/re2c
  [ 23%] Built target re2c
  [ 23%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomMessageQueue.cpp.o
  [ 24%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Spc_Cpu.cpp.o
  [ 24%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/clickrem.o
  1 warning generated.
  [ 24%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomSharedMemory.cpp.o
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/game-music-emu/gme/Spc_Cpu.cpp:438:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                          if ( ((~0x2F00 << (bits_in_int - 16)) << reg) < 0 ) // 36%
                                 ~~~~~~~ ^
  [ 25%] Linking C executable ../../../../bin/zipdir
  In file included from /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/game-music-emu/gme/Spc_Cpu.cpp:565:
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:298:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                                  if ( ((~0x2F00 << (bits_in_int - 16)) << i) < 0 ) // 12%
                                         ~~~~~~~ ^
  [ 25%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/barray.o
  [ 25%] Built target zipdir
  [ 25%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Spc_Dsp.cpp.o
  [ 25%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/xmeffect.o
  [ 25%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readxm2.o
  [ 26%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readxm.o
  [ 26%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomPathHelpers.cpp.o
  [ 26%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomUtilities.cpp.o
  [ 26%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readstm2.o
  [ 26%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readstm.o
  2 warnings generated.
  [ 26%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Spc_Emu.cpp.o
  [ 26%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/reads3m2.o
  [ 26%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/reads3m.o
  [ 26%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Spc_Filter.cpp.o
  [ 26%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomSharedMemory.cpp.o
  [ 26%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Vgm_Emu.cpp.o
  [ 27%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readriff.o
  [ 27%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Vgm_Emu_Impl.cpp.o
  [ 27%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readptm.o
  [ 27%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readpsm.o
  [ 28%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomUtilities.cpp.o
  [ 29%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Ym2413_Emu.cpp.o
  [ 29%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readoldpsm.o
  [ 29%] Linking CXX static library libgme.a
  [ 29%] Built target gme
  [ 29%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readokt2.o
  [ 29%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readokt.o
  [ 30%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readmtm.o
  [ 30%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readmod2.o
  [ 30%] Linking CXX shared library bin/libvizdoom.dylib
  [ 30%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readmod.o
  [ 30%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readdsmf.o
  [ 30%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readasy.o
  [ 30%] Built target libvizdoom_shared
  [ 30%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readamf2.o
  [ 31%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readamf.o
  [ 31%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readam.o
  [ 31%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/read6692.o
  [ 31%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/read669.o
  [ 31%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/ptmeffect.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadxm2.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadxm.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadstm2.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadstm.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loads3m2.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loads3m.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadriff.o
  [ 33%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadriff2.o
  [ 33%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadptm.o
  [ 33%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadptm2.o
  [ 33%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadpsm2.o
  [ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadpsm.o
  [ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadoldpsm.o
  [ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadoldpsm2.o
  [ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadokt2.o
  [ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadokt.o
  [ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadmtm2.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadmtm.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadmod2.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadmod.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadasy2.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadasy.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadamf2.o
  [ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadamf.o
  [ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/load669.o
  [ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/load6692.o
  [ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itunload.o
  [ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itrender.o
  [ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itread.o
  [ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itread2.o
  [ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itmisc.o
  [ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itorder.o
  [ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itload2.o
  [ 37%] Linking CXX static library bin/libvizdoom.a
  [ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itload.o
  [ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadany2.o
  [ 38%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readany.o
  [ 38%] Built target libvizdoom_static
  [ 38%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadany.o
  [ 38%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readany2.o
  [ 38%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/resampler.o
  [ 39%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/lpc.o
  [ 39%] Building CXX object src/lib_python/CMakeFiles/libvizdoom_python.dir/ViZDoomPythonModule.cpp.o
  [ 39%] Building CXX object src/lib_python/CMakeFiles/libvizdoom_python.dir/ViZDoomGamePython.cpp.o
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/dumb/src/helpers/resampler.c:927:43: error: invalid operands to binary expression ('float' and 'bigint' (aka 'union bigint'))
                  sample += (in[1] - in[0]) * phase;
                            ~~~~~~~~~~~~~~~ ^ ~~~~~
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/dumb/src/helpers/resampler.c:1132:13: error: called object type 'const float *' is not a function or function pointer
              CLEAR_HI(phase);
              ^
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/dumb/src/helpers/resampler.c:49:22: note: expanded from macro 'CLEAR_HI'
  #define CLEAR_HI(p)             (p.quad &= 0xffffffffu)
                                  ^
  2 errors generated.
  make[2]: *** [src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/resampler.o] Error 1
  make[2]: *** Waiting for unfinished jobs....
  /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/lib_python/ViZDoomPythonModule.cpp:62:5: warning: 'PyEval_InitThreads' is deprecated [-Wdeprecated-declarations]
      PyEval_InitThreads();
      ^
  /Users/huangruixin/miniforge3/envs/vzd/include/python3.9/ceval.h:130:1: note: 'PyEval_InitThreads' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
  ^
  /Users/huangruixin/miniforge3/envs/vzd/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  make[1]: *** [src/vizdoom/dumb/CMakeFiles/dumb.dir/all] Error 2
  make[1]: *** Waiting for unfinished jobs....
  1 warning generated.
  [ 39%] Linking CXX shared module ../../bin/python3.9/vizdoom.cpython-39-darwin.so
  [ 39%] Built target libvizdoom_python
  make: *** [all] Error 2
  
  Installation failed, you may be missing some dependencies.
  Please check https://github.com/mwydmuch/ViZDoom/blob/master/doc/Building.md for details
  
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/setup.py", line 85, in <module>
      setup(
    File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/site-packages/setuptools/__init__.py", line 163, in setup
      return distutils.core.setup(**attrs)
    File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/setup.py", line 76, in run
      subprocess.check_call(['make', '-j', str(cpu_cores)])
    File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/subprocess.py", line 373, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['make', '-j', '7']' returned non-zero exit status 2.
  ----------------------------------------
  ERROR: Failed building wheel for vizdoom
  Running setup.py clean for vizdoom
Failed to build vizdoom
Installing collected packages: vizdoom
    Running setup.py install for vizdoom ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/huangruixin/miniforge3/envs/vzd/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/setup.py'"'"'; __file__='"'"'/private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-record-q2bozykf/install-record.txt --single-version-externally-managed --compile --install-headers /Users/huangruixin/miniforge3/envs/vzd/include/python3.9/vizdoom
         cwd: /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/
    Complete output (301 lines):
    running install
    running build
    CMake Warning:
      No source or binary directory provided.  Both will be assumed to be the
      same as the current working directory, but note that this warning will
      become a fatal error in future CMake releases.
    
    
    -- The C compiler identification is AppleClang 12.0.5.12050022
    -- The CXX compiler identification is AppleClang 12.0.5.12050022
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Found Boost: /opt/homebrew/lib/cmake/Boost-1.76.0/BoostConfig.cmake (found version "1.76.0") found components: filesystem thread system date_time chrono regex iostreams
    -- Found Threads: TRUE
    CMake Deprecation Warning at src/vizdoom/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 2.8.12 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    CMake Deprecation Warning at cmake_modules/CreateLaunchers.cmake:48 (cmake_policy):
      The OLD behavior for policy CMP0026 will be removed from a future version
      of CMake.
    
      The cmake-policies(7) manual explains that the OLD behaviors of all
      policies are deprecated and that a policy should be set to OLD only under
      specific short-term circumstances.  Projects should be ported to the NEW
      behavior and not rely on setting a policy to OLD.
    Call Stack (most recent call first):
      src/vizdoom/CMakeLists.txt:13 (include)
    
    
    -- Found BZip2: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/lib/libbz2.tbd (found version "1.0.6")
    -- Looking for BZ2_bzCompressInit
    -- Looking for BZ2_bzCompressInit - found
    -- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
    -- Found ZLIB: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/lib/libz.tbd (found version "1.2.11")
    -- Could NOT find GME (missing: GME_LIBRARIES GME_INCLUDE_DIR)
    -- Using system zlib
    -- Using internal jpeg library
    CMake Deprecation Warning at src/vizdoom/jpeg-6b/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 2.8.12 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    -- Using system bzip2 library
    -- Using internal gme library
    CMake Warning (dev) at src/vizdoom/game-music-emu/CMakeLists.txt:2 (project):
      Policy CMP0048 is not set: project() command manages VERSION variables.
      Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
      command to set the policy and suppress this warning.
    
      The following variable(s) would be set to empty:
    
        PROJECT_VERSION
        PROJECT_VERSION_MAJOR
        PROJECT_VERSION_MINOR
        PROJECT_VERSION_PATCH
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Deprecation Warning at src/vizdoom/game-music-emu/CMakeLists.txt:12 (cmake_minimum_required):
      Compatibility with CMake < 2.8.12 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    CMake Deprecation Warning at src/vizdoom/lzma/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 2.8.12 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    CMake Deprecation Warning at src/vizdoom/tools/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 2.8.12 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    CMake Deprecation Warning at src/vizdoom/tools/lemon/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 2.8.12 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    CMake Deprecation Warning at src/vizdoom/tools/re2c/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 2.8.12 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    -- Looking for strdup
    -- Looking for strdup - found
    -- Looking for strndup
    -- Looking for strndup - found
    -- Looking for sys/types.h
    -- Looking for sys/types.h - found
    -- Looking for stdint.h
    -- Looking for stdint.h - found
    -- Looking for stddef.h
    -- Looking for stddef.h - found
    -- Check size of char
    -- Check size of char - done
    -- Check size of short
    -- Check size of short - done
    -- Check size of int
    -- Check size of int - done
    -- Check size of long
    -- Check size of long - done
    CMake Deprecation Warning at src/vizdoom/tools/updaterevision/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 2.8.12 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    CMake Deprecation Warning at src/vizdoom/tools/zipdir/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 2.8.12 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    -- /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include
    -- /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include
    -- /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/lzma/C
    CMake Deprecation Warning at src/vizdoom/dumb/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 2.8.12 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    -- Looking for itoa
    -- Looking for itoa - not found
    CMake Deprecation Warning at src/vizdoom/gdtoa/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 2.8.12 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    CMake Deprecation Warning at src/vizdoom/wadsrc/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 2.8.12 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    CMake Deprecation Warning at src/vizdoom/src/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 2.8.12 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
    -- Found SDL2: /opt/homebrew/lib/libSDL2main.a;/opt/homebrew/lib/libSDL2.dylib;-framework Cocoa
    -- Found OpenAL: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenAL.framework
    -- Could not find FMOD include files
    -- Could NOT find SndFile (missing: SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR)
    -- Could NOT find MPG123 (missing: MPG123_LIBRARIES MPG123_INCLUDE_DIR)
    -- Could NOT find FluidSynth (missing: FLUIDSYNTH_LIBRARIES FLUIDSYNTH_INCLUDE_DIR)
    -- Looking for filelength
    -- Looking for filelength - not found
    -- Looking for strupr
    -- Looking for strupr - not found
    -- Looking for stricmp
    -- Looking for stricmp - not found
    -- Looking for strnicmp
    -- Looking for strnicmp - not found
    -- Looking for clock_gettime in rt
    -- Looking for clock_gettime in rt - not found
    -- Looking for clock_gettime
    -- Looking for clock_gettime - found
    -- Performing Test HAS_VA_COPY
    -- Performing Test HAS_VA_COPY - Success
    -- Found Boost: /opt/homebrew/lib/cmake/Boost-1.76.0/BoostConfig.cmake (found version "1.76.0") found components: thread system date_time chrono
    -- Fluid synth libs: FLUIDSYNTH_LIBRARIES-NOTFOUND
    -- Found PythonInterp: /Users/huangruixin/miniforge3/envs/vzd/bin/python3.9 (found suitable version "3.9.4", minimum required is "3")
    -- Found PythonLibs: /Users/huangruixin/miniforge3/envs/vzd/lib/libpython3.9.dylib (found suitable version "3.9.4", minimum required is "3.9")
    CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.20.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
      The package name passed to `find_package_handle_standard_args` (NUMPY) does
      not match the name of the calling package (NumPy).  This can lead to
      problems in calling code that expects `find_package` result variables
      (e.g., `_FOUND`) to follow a certain pattern.
    Call Stack (most recent call first):
      cmake_modules/FindNumPy.cmake:107 (find_package_handle_standard_args)
      src/lib_python/CMakeLists.txt:9 (find_package)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    -- Found NUMPY: /Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/site-packages/numpy/core/include
    -- Found components for NumPy
    -- NUMPY_ROOT_DIR    = /usr/local
    -- NUMPY_INCLUDES    = /Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/site-packages/numpy/core/include
    -- NUMPY_LIBRARIES   =
    -- NUMPY_API_VERSION = 1.20.3
    -- pybind11 v2.6.0
    -- Found PythonInterp: /Users/huangruixin/miniforge3/envs/vzd/bin/python3.9 (found version "3.9.4")
    -- Found PythonLibs: /Users/huangruixin/miniforge3/envs/vzd/lib/libpython3.9.dylib
    -- Performing Test HAS_FLTO
    -- Performing Test HAS_FLTO - Success
    -- Performing Test HAS_FLTO_THIN
    -- Performing Test HAS_FLTO_THIN - Success
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd
    Consolidate compiler generated dependencies of target lemon
    Consolidate compiler generated dependencies of target lzma
    [  0%] Built target lemon
    Consolidate compiler generated dependencies of target re2c
    [  3%] Built target lzma
    Consolidate compiler generated dependencies of target jpeg
    Consolidate compiler generated dependencies of target updaterevision
    [  7%] Built target jpeg
    [  9%] Built target re2c
    [ 10%] Built target updaterevision
    Consolidate compiler generated dependencies of target gme
    Consolidate compiler generated dependencies of target gdtoa
    Consolidate compiler generated dependencies of target zipdir
    [ 19%] Built target gme
    [ 19%] Built target gdtoa
    [ 20%] Built target zipdir
    Consolidate compiler generated dependencies of target libvizdoom_static
    Consolidate compiler generated dependencies of target libvizdoom_shared
    Consolidate compiler generated dependencies of target dumb
    [ 20%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/resampler.o
    [ 22%] Built target libvizdoom_static
    [ 24%] Built target libvizdoom_shared
    Consolidate compiler generated dependencies of target libvizdoom_python
    [ 24%] Built target libvizdoom_python
    /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/dumb/src/helpers/resampler.c:927:43: error: invalid operands to binary expression ('float' and 'bigint' (aka 'union bigint'))
                    sample += (in[1] - in[0]) * phase;
                              ~~~~~~~~~~~~~~~ ^ ~~~~~
    /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/dumb/src/helpers/resampler.c:1132:13: error: called object type 'const float *' is not a function or function pointer
                CLEAR_HI(phase);
                ^
    /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/src/vizdoom/dumb/src/helpers/resampler.c:49:22: note: expanded from macro 'CLEAR_HI'
    #define CLEAR_HI(p)             (p.quad &= 0xffffffffu)
                                    ^
    2 errors generated.
    make[2]: *** [src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/resampler.o] Error 1
    make[1]: *** [src/vizdoom/dumb/CMakeFiles/dumb.dir/all] Error 2
    make: *** [all] Error 2
    
    Installation failed, you may be missing some dependencies.
    Please check https://github.com/mwydmuch/ViZDoom/blob/master/doc/Building.md for details
    
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/setup.py", line 85, in <module>
        setup(
      File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/site-packages/setuptools/__init__.py", line 163, in setup
        return distutils.core.setup(**attrs)
      File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/distutils/command/install.py", line 546, in run
        self.run_command('build')
      File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/setup.py", line 76, in run
        subprocess.check_call(['make', '-j', str(cpu_cores)])
      File "/Users/huangruixin/miniforge3/envs/vzd/lib/python3.9/subprocess.py", line 373, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['make', '-j', '7']' returned non-zero exit status 2.
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/huangruixin/miniforge3/envs/vzd/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/setup.py'"'"'; __file__='"'"'/private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-install-v56vkp4m/vizdoom_8018a3fc07bb4bad85272c8faef221cd/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/vs/f2llbbx901n13h56ffjh3g3r0000gn/T/pip-record-q2bozykf/install-record.txt --single-version-externally-managed --compile --install-headers /Users/huangruixin/miniforge3/envs/vzd/include/python3.9/vizdoom Check the logs for full command output.

HRXWEB avatar Jun 16 '21 06:06 HRXWEB

Hi @HRXWEB, unfortunately, I don't own/have access to the M1 machine, so I can't fix it, though it seems to be pretty simple to do.

I do not guarantee it will help, but could you please try these simple steps first:

  1. git clone https://github.com/mwydmuch/ViZDoom.git
  2. edit ViZDoom/src/vizdoom/dumb/src/helpers/resampler.c and comment lines from 11 to 14:
//#if TARGET_CPU_ARM || TARGET_CPU_ARM64
//#include <arm_neon.h>
//#define RESAMPLER_NEON
//#endif
  1. cd ViZDoom
  2. pip install .

mwydmuch avatar Jun 16 '21 09:06 mwydmuch

Hi @HRXWEB, unfortunately, I don't own/have access to the M1 machine, so I can't fix it, though it seems to be pretty simple to do.

I do not guarantee it will help, but could you please try these simple steps first:

  1. clone https://github.com/mwydmuch/ViZDoom.git
  2. edit ViZDoom/src/vizdoom/dumb/src/helpers/resampler.c and comment lines from 11 to 14:
//#if TARGET_CPU_ARM || TARGET_CPU_ARM64
//#include <arm_neon.h>
//#define RESAMPLER_NEON
//#endif
  1. cd ViZDoom
  2. pip install .

thanks for your time @mwydmuch OK, it makes me so happy to install the ViZDoom successfully, but when I type the command python basic.py, there is a pop-up window appeared telling me:

Did you install ViZDoom properly? You can do either of the following:

1. Place one or more of these wads in ~/Library/Application Support/vizdoom/
2. Edit your ~/Library/Preferences/vizdoom.ini and add the directories
of your iwads to the list beneath [IWADSearch.Directories]

I have tried to go to ~/Library/Application Support/ and ~/Library/Preferences/, but I did not find the vizdoom folder or the file vizdoom.ini. Could you please help me out again?

HRXWEB avatar Jun 16 '21 11:06 HRXWEB

@HRXWEB this is a bit unexpected, looks like something went wrong during package installation, could you please first verify these:

  1. run :python -c "import vizdoom; print(vizdoom.__file__)", to get a path to vizdoom __init__.py file.
  2. cd <directory of __init__.py>
  3. ls -l, this should return a similar list of files:
-rw-r--r--   1 marek  admin       704 Jun 16 11:19 __init__.py
drwxr-xr-x   3 marek  admin        96 Jun 16 11:19 __pycache__/
-rw-r--r--   1 marek  admin      2739 Jun 16 11:19 bots.cfg
-rw-r--r--   1 marek  admin  28544132 Jun 16 11:19 freedoom2.wad
drwxr-xr-x  35 marek  admin      1120 Jun 16 11:19 scenarios/
-rwxr-xr-x   1 marek  admin   5562096 Jun 16 11:19 vizdoom*
-rw-r--r--   1 marek  admin    630827 Jun 16 11:19 vizdoom.pk3
-rwxr-xr-x   1 marek  admin    633440 Jun 16 11:19 vizdoom.so*

The error suggests that freedoom2.wad file or scenarios directory is missing or they don't have read rights. If that is the case, scenarios can be copied from the repo, and freedoom2.wad can be downloaded directly from here: https://github.com/mwydmuch/ViZDoomWADs/raw/master/freedoom-0.12.1/freedoom2.wad.

If this is not the case then it looks like an issue with path and probably not M1 related. I see that you are using miniforge3 distribution, right? Could you possibly provide some information on how you create your environment?

mwydmuch avatar Jun 16 '21 12:06 mwydmuch

Also, ViZDoom looks for freedom/doom wads in the working directory, so you may try to put freedoom2.wad in the same dir as basic.py, maybe this will work as a workaround.

mwydmuch avatar Jun 16 '21 12:06 mwydmuch

@mwydmuch after I replace the freedoom2.wad and scenarios, I type the command python basic.py again. No more error, but I can't see the window where the program is running.

I have check game.set_window_visible(True) and when I check Activity Monitor, I found the vizdoom processes. It is so confused all processes are still running after I enter control + c to interrupt the process.

hoping your help

HRXWEB avatar Jun 17 '21 03:06 HRXWEB

@HRXWEB could you add game.set_console_enabled(True) line to basic.py before game.init() and run it, and copy-paste the output? This may give me some clues. Also, if you disable the window (game.set_window_visible(False)), is the example working correctly? I suspect that something in the SDL code that handles window displaying is failing in a strange silent way (maybe due to using of some deprecated functions).

mwydmuch avatar Jun 17 '21 10:06 mwydmuch

@mwydmuch when enable console, it will output:

ViZDoom 1.1.8 (ZDOOM 2.8.1) - SDL version
Compiled on Jun 16 2021

D_DoomInit: Static RNGseed -1455239635 set.
M_LoadDefaults: Load system defaults.
Gameinfo scan took 0 ms
W_Init: Init WADfiles.
 adding /Users/huangruixin/miniforge3/lib/python3.9/site-packages/vizdoom/vizdoom.pk3, 583 lumps
 adding /Users/huangruixin/miniforge3/lib/python3.9/site-packages/vizdoom/freedoom2.wad, 3649 lumps
 adding ../../scenarios/basic.wad, 7 lumps
viz_controlled is write protected.
viz_instance_id is write protected.
viz_nosound is write protected.
I_Init: Setting up machine state.
V_Init: allocate screen.
S_Init: Setting up sound.
ST_Init: Init startup screen.
Checking cmd-line parameters...
S_InitData: Load sound definitions.
G_ParseMapInfo: Load map definitions.
Texman.Init: Init texture manager.
ParseTeamInfo: Load team definitions.
LoadActors: Load actor definitions.
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
Adding dehacked patch freedoom2.wad:DEHACKED
Patch installed
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading default status bar definition.
ParseSBarInfo: Loading custom status bar definition.
===========================================================================
This is Freedoom, the free content first person shooter.

Freedoom is freely redistributable under the terms of the modified BSD
license. Check out the Freedoom website for more information:

    https://freedoom.github.io/
============================================================================
D_CheckNetGame: Checking network game status.

And when I disable the window, the output is the same.

HRXWEB avatar Jun 17 '21 11:06 HRXWEB

@HRXWEB and this is the moment it hangs, no more output?

mwydmuch avatar Jun 17 '21 11:06 mwydmuch

@mwydmuch yes indeed, I waited for a few minutes and there is still no more output

HRXWEB avatar Jun 17 '21 11:06 HRXWEB

@HRXWEB ok, thank you very much for checking, it hangs inside D_CheckNetGame () function that is defined in src/vizdoom/src/d_net.cpp, the function isn't long but unfortunately, I don't see something evident to be the cause of the issue... I'm afraid that I can't help with this one without an M1 machine :(

mwydmuch avatar Jun 17 '21 13:06 mwydmuch

@mwydmuch Anyway, I am very grateful for your help, thank you very much. Maybe I will try to install it again later. In addition, it can be used normally on my intel cpu desktop computer with ubuntu system installed, which makes me relieved.

HRXWEB avatar Jun 17 '21 13:06 HRXWEB

I opened another thread but I'll put what I posted here to consolidate things.

I followed the advice above by commenting out the 4 lines in ViZDoom/src/vizdoom/dumb/src/helpers/resampler.c. This was the only change that I have made, and I never ran into the wad issue.

I traced the freeze to around line 450 in ViZDoom/src/vizdoom/src/d_netinfo.cpp, which is

`newcvar->SetGenericRepDefault(cvar->GetGenericRepDefault(CVAR_String), CVAR_String);'.

After a bit more testing I found that the cvar->GetGenericRepDefault(CVAR_String) by itself causes issues. When I run it the function doesn't seem to get called on two instances.

This occurs when cvarname.getIndex() = 509 and 462, I believe that is MoveBob and Autoaim. Those are the only time the error occurs. The program does not crash, it just gets hung up. The thread is still running in Activity Monitor, but the code doesn't progress. If I comment out that line the program breaks shortly thereafter, when it tries to use those values around line 390 of the same file.

I have no idea why the M1 would be effecting these two variables specifically. If you have any ideas I will give them a shot, but otherwise I don't think I have the expertise to resolve this, and I may have to fall back on another machine.

LSeaburg avatar Aug 06 '21 04:08 LSeaburg

@mwydmuch Sorry to disturb you, I've modified and run the pip install . but it always outputs the ERROR: Building wheel for vizdoom (pyproject.toml) ... error ERROR: Command errored out with exit status 1: command: /home/adduser/miniconda3/envs/pytorch/bin/python /home/adduser/miniconda3/envs/pytorch/lib/python3.7/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmprdl_l9f5 cwd: /home/adduser/ViZDoom Complete output (163 lines): running bdist_wheel running build CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases.

-- The C compiler identification is GNU 9.3.0 -- The CXX compiler identification is GNU 9.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.65.0") found components: filesystem thread system date_time chrono regex iostreams -- Found Threads: TRUE CMake Deprecation Warning at cmake_modules/CreateLaunchers.cmake:48 (cmake_policy): The OLD behavior for policy CMP0026 will be removed from a future version of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances.  Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

Call Stack (most recent call first): src/vizdoom/CMakeLists.txt:13 (include)

-- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (found version "80") -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- Could NOT find GME (missing: GME_INCLUDE_DIR) -- Using system zlib -- Using system jpeg library -- Using system bzip2 library -- Using internal gme library -- Performing Test HAVE_NO_ARRAY_BOUNDS -- Performing Test HAVE_NO_ARRAY_BOUNDS - Success -- Performing Test __LIBGME_TEST_VISIBILITY -- Performing Test __LIBGME_TEST_VISIBILITY - Success -- Looking for strdup -- Looking for strdup - found -- Looking for strndup -- Looking for strndup - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of char -- Check size of char - done -- Check size of short -- Check size of short - done -- Check size of int -- Check size of int - done -- Check size of long -- Check size of long - done -- /usr/include -- /usr/include -- /home/adduser/ViZDoom/src/vizdoom/lzma/C -- Looking for itoa -- Looking for itoa - not found -- Performing Test DUMB_CAN_USE_SSE -- Performing Test DUMB_CAN_USE_SSE - Success -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for module 'gtk+-2.0' -- Found gtk+-2.0, version 2.24.32 -- Found SDL2: /usr/lib/x86_64-linux-gnu/libSDL2main.a;/usr/lib/x86_64-linux-gnu/libSDL2.so;-lpthread -- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so -- Could not find FMOD include files -- Could NOT find SndFile (missing: SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR) -- Could NOT find MPG123 (missing: MPG123_LIBRARIES MPG123_INCLUDE_DIR) -- Found FluidSynth: /usr/lib/x86_64-linux-gnu/libfluidsynth.so -- Selected assembler: /usr/bin/as -- Looking for filelength -- Looking for filelength - not found -- Looking for strupr -- Looking for strupr - not found -- Looking for stricmp -- Looking for stricmp - not found -- Looking for strnicmp -- Looking for strnicmp - not found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Performing Test HAS_VA_COPY -- Performing Test HAS_VA_COPY - Success -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: thread system date_time chrono -- Fluid synth libs: /usr/lib/x86_64-linux-gnu/libfluidsynth.so -- Found PythonInterp: /home/adduser/miniconda3/envs/pytorch/bin/python3.7 (found suitable version "3.7.11", minimum required is "3") -- Found PythonLibs: /home/adduser/miniconda3/envs/pytorch/lib/libpython3.7m.so (found suitable version "3.7.11", minimum required is "3.7") -- Found Git: /usr/bin/git (found version "2.25.1") -- downloading/updating pybind11 -- pybind11 directory not found, cloning... Cloning into '/home/adduser/ViZDoom/src/lib_python/pybind11'... fatal: unable to access 'https://github.com/pybind/pybind11.git/': Failed to connect to 127.0.0.1 port 1080: Connection refused CMake Warning at cmake_modules/GitUtils.cmake:213 (message): pybind11 clone error Call Stack (most recent call first): src/lib_python/CMakeLists.txt:14 (git_clone)

CMake Error at src/lib_python/CMakeLists.txt:20 (add_subdirectory): add_subdirectory given source "/home/adduser/ViZDoom/src/lib_python/pybind11" which is not an existing directory.

CMake Error at src/lib_python/CMakeLists.txt:42 (pybind11_add_module): Unknown CMake command "pybind11_add_module".

-- Configuring incomplete, errors occurred! See also "/home/adduser/ViZDoom/CMakeFiles/CMakeOutput.log". See also "/home/adduser/ViZDoom/CMakeFiles/CMakeError.log".

Installation failed, you may be missing some dependencies. Please check https://github.com/mwydmuch/ViZDoom/blob/master/doc/Building.md for details

Traceback (most recent call last): File "/home/adduser/miniconda3/envs/pytorch/lib/python3.7/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in main() File "/home/adduser/miniconda3/envs/pytorch/lib/python3.7/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/home/adduser/miniconda3/envs/pytorch/lib/python3.7/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 262, in build_wheel metadata_directory) File "/tmp/pip-build-env-4ngesd63/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 231, in build_wheel wheel_directory, config_settings) File "/tmp/pip-build-env-4ngesd63/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir self.run_setup() File "/tmp/pip-build-env-4ngesd63/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 268, in run_setup self).run_setup(setup_script=setup_script) File "/tmp/pip-build-env-4ngesd63/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 158, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 181, in keywords=['vizdoom', 'doom', 'ai', 'deep learning', 'reinforcement learning', 'research'] File "/tmp/pip-build-env-4ngesd63/overlay/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup return distutils.core.setup(**attrs) File "/home/adduser/miniconda3/envs/pytorch/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/home/adduser/miniconda3/envs/pytorch/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/home/adduser/miniconda3/envs/pytorch/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/tmp/pip-build-env-4ngesd63/overlay/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 299, in run self.run_command('build') File "/home/adduser/miniconda3/envs/pytorch/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/adduser/miniconda3/envs/pytorch/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "setup.py", line 137, in run subprocess.check_call(cmake_arg_list) File "/home/adduser/miniconda3/envs/pytorch/lib/python3.7/subprocess.py", line 363, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '-DCMAKE_BUILD_TYPE=Release', '-DBUILD_PYTHON=ON', '-DPYTHON_EXECUTABLE=/home/adduser/miniconda3/envs/pytorch/bin/python3.7', '-DPYTHON_INCLUDE_DIR=/home/adduser/miniconda3/envs/pytorch/include/python3.7m', '-DPYTHON_LIBRARY=/home/adduser/miniconda3/envs/pytorch/lib/libpython3.7m.so']' returned non-zero exit status 1. ERROR: Failed building wheel for vizdoom Failed to build vizdoom ERROR: Could not build wheels for vizdoom, which is required to install pyproject.toml-based projects

Throne-myworld avatar Nov 22 '21 08:11 Throne-myworld

@Throne-myworld the problem is caused by this:

-- pybind11 directory not found, cloning...
Cloning into '/home/adduser/ViZDoom/src/lib_python/pybind11'...
fatal: unable to access 'https://github.com/pybind/pybind11.git/': Failed to connect to 127.0.0.1 port 1080: Connection refused

Looks like your machine is configured to use some kind of local proxy that causes the problem.

mwydmuch avatar Nov 22 '21 11:11 mwydmuch

Support for Apple Silicon was added. Before proper release, it can be installed from the master using:

pip install git+https://github.com/mwydmuch/ViZDoom.git

I'm closing the issue.

mwydmuch avatar Jan 03 '23 00:01 mwydmuch