Farama-Foundation / ViZDoom

Reinforcement Learning environments based on the 1993 game Doom :godmode:
https://vizdoom.farama.org/
1.75k stars 405 forks source link

vizdoom installation on Mac #481

Closed Arjunprasaath closed 3 years ago

Arjunprasaath commented 3 years ago

I'm trying to install vizdoom on my Mac , going through the documentation on how to install vizdoom ("brew install cmake boost sdl2 wget", "pip install vizdoom") this didn't work for me. I'm running python 3.9, Mac OS Big Sur. Would be really helpful if anyone find a way out from this.Im using venv to create a virtual environment and wanna install vizdoom inside this virtual environment.i think I installed all dependencies mentioned in the site, I'm not sure how to install zdoom tho, can anyone help me out...

ERROR:

arjunsmac@Arjuns-MacBook-Pro auto_game_test % pip3 install vizdoom Collecting vizdoom Using cached vizdoom-1.1.8.tar.gz (21.9 MB) Requirement already satisfied: numpy in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from vizdoom) (1.19.4) Using legacy 'setup.py install' for vizdoom, since package 'wheel' is not installed. Installing collected packages: vizdoom Running setup.py install for vizdoom ... error ERROR: Command errored out with exit status 1: command: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/1p/hw4jlgdj7jjn8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/setup.py'"'"'; file='"'"'/private/var/folders/1p/hw4jlgdj7jjn8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/1p/hw4jlgdj7jjn8bx815w8ym0000gn/T/pip-record-j0v4lg82/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/vizdoom cwd: /private/var/folders/1p/hw4jlgdj7jjn8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/ Complete output (635 lines): WARNING: The wheel package is not available. 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.0.12000032
-- The CXX compiler identification is AppleClang 12.0.0.12000032
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost: /usr/local/lib/cmake/Boost-1.75.0/BoostConfig.cmake (found version "1.75.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: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.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: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.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.

-- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include
-- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include
-- /private/var/folders/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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: /usr/local/lib/libSDL2main.a;/usr/local/lib/libSDL2.dylib;-framework Cocoa
-- Found OpenAL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.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: /usr/local/lib/cmake/Boost-1.75.0/BoostConfig.cmake (found version "1.75.0") found components: thread system date_time chrono
-- Fluid synth libs: FLUIDSYNTH_LIBRARIES-NOTFOUND
-- Found PythonInterp: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 (found suitable version "3.9.1", minimum required is "3")
-- Found PythonLibs: /Library/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib (found suitable version "3.9.1", minimum required is "3.9")
CMake Warning (dev) at /usr/local/Cellar/cmake/3.19.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:426 (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: /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/numpy/core/include
-- Found components for NumPy
-- NUMPY_ROOT_DIR    = /usr/local
-- NUMPY_INCLUDES    = /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/numpy/core/include
-- NUMPY_LIBRARIES   =
-- NUMPY_API_VERSION = 1.19.4
-- pybind11 v2.6.0
-- Found PythonInterp: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 (found version "3.9.1")
-- Found PythonLibs: /Library/Frameworks/Python.framework/Versions/3.9/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom
Scanning dependencies of target lemon
Scanning dependencies of target re2c
Scanning dependencies of target lzma
Scanning dependencies of target jpeg
[  0%] Building C object src/vizdoom/tools/lemon/CMakeFiles/lemon.dir/lemon.o
[  1%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/actions.o
[  1%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/7zArcIn.o
[  1%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jcomapi.o
Scanning dependencies of target gme
[  2%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Blip_Buffer.cpp.o
[  2%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdapimin.o
[  2%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdapistd.o
[  3%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdatasrc.o
[  3%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Classic_Emu.cpp.o
[  3%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdcoefct.o
[  3%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Data_Reader.cpp.o
Scanning dependencies of target libvizdoom_shared
Scanning dependencies of target libvizdoom_static
[  3%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdcolor.o
[  4%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomConfigLoader.cpp.o
[  4%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomConfigLoader.cpp.o
[  4%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jddctmgr.o
[  4%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Dual_Resampler.cpp.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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/Effects_Buffer.cpp.o
[  5%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/7zDec.o
15 warnings generated.
[  5%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdinput.o
[  6%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdmainct.o
[  6%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/7zStream.o
[  6%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Fir_Resampler.cpp.o
[  6%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Bcj2.o
[  6%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdmarker.o
[  7%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/gme.cpp.o
[  7%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Bra.o
[  7%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Bra86.o
[  7%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/BraIA64.o
[  7%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gme_File.cpp.o
[  8%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/CpuArch.o
[  8%] Linking C executable ../../../../bin/lemon
/private/var/folders/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/bin
[  8%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Delta.o
[  8%] Built target lemon
[  8%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/code.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/LzFind.o
[  8%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/M3u_Playlist.cpp.o
[  8%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdmerge.o
[  8%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomController.cpp.o
[  8%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdphuff.o
/private/var/folders/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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 };
                                 ~~~~^
[  8%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Multi_Buffer.cpp.o
15 warnings generated.
[  9%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdpostct.o
[  9%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Lzma2Dec.o
[  9%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jdsample.o
[  9%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/LzmaDec.o
[  9%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Music_Emu.cpp.o
[  9%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jerror.o
[  9%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jidctint.o
[ 10%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Ay_Apu.cpp.o
[ 10%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jmemmgr.o
[ 10%] Building C object src/vizdoom/jpeg-6b/CMakeFiles/jpeg.dir/jutils.o
[ 11%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/LzmaEnc.o
[ 12%] Linking C static library libjpeg.a
[ 12%] Built target jpeg
[ 12%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/dfa.o
[ 12%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Ym2612_Emu.cpp.o
[ 12%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Sms_Apu.cpp.o
[ 12%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomController.cpp.o
[ 12%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Ay_Cpu.cpp.o
[ 12%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Ppmd7.o
[ 12%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/main.o
[ 12%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Ppmd7Dec.o
[ 12%] Linking C static library liblzma.a
[ 12%] Built target lzma
[ 13%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomExceptions.cpp.o
[ 13%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Ay_Emu.cpp.o
/private/var/folders/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/src/lib/ViZDoomController.cpp:960:17: warning: 113 enumeration values not handled in switch: 'AMMO0', 'AMMO1', 'AMMO2'... [-Wswitch]
        switch (var) {
                ^
/private/var/folders/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/src/lib/ViZDoomController.cpp:960:17: note: add missing switch cases
        switch (var) {
                ^
[ 13%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gb_Apu.cpp.o
Scanning dependencies of target updaterevision
[ 13%] Building C object src/vizdoom/tools/updaterevision/CMakeFiles/updaterevision.dir/updaterevision.o
[ 13%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/mbo_getopt.o
[ 14%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gb_Cpu.cpp.o
[ 15%] Linking C executable ../../../../bin/updaterevision
[ 15%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gb_Oscs.cpp.o
[ 15%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomGame.cpp.o
[ 15%] Built target updaterevision
[ 16%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/parser.o
[ 16%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomExceptions.cpp.o
[ 16%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gbs_Emu.cpp.o
[ 16%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gym_Emu.cpp.o
[ 16%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomMessageQueue.cpp.o
[ 16%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/scanner.o
[ 16%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Hes_Apu.cpp.o
[ 17%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Hes_Cpu.cpp.o
Scanning dependencies of target zipdir
[ 17%] Building C object src/vizdoom/tools/zipdir/CMakeFiles/zipdir.dir/zipdir.o
[ 17%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Hes_Emu.cpp.o
[ 18%] Linking C executable ../../../../bin/zipdir
[ 18%] Built target zipdir
[ 18%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomGame.cpp.o
/private/var/folders/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/src/lib/ViZDoomController.cpp:960:17: warning: 113 enumeration values not handled in switch: 'AMMO0', 'AMMO1', 'AMMO2'... [-Wswitch]
        switch (var) {
                ^
/private/var/folders/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/src/lib/ViZDoomController.cpp:960:17: note: add missing switch cases
        switch (var) {
                ^
[ 18%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Kss_Cpu.cpp.o
[ 18%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/substr.o
Scanning dependencies of target dumb
[ 18%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/unload.o
[ 18%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/rendsig.o
[ 18%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Kss_Emu.cpp.o
[ 18%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/rendduh.o
[ 18%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/register.o
[ 18%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/readduh.o
[ 18%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Kss_Scc_Apu.cpp.o
[ 18%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/translate.o
[ 19%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/rawsig.o
[ 19%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/makeduh.o
[ 19%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Apu.cpp.o
[ 19%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/loadduh.o
[ 19%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/dumbfile.o
[ 19%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/duhtag.o
[ 20%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Cpu.cpp.o
[ 20%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/duhlen.o
[ 21%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/atexit.o
[ 21%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/stdfile.o
[ 21%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/silence.o
[ 21%] Linking CXX executable ../../../../bin/re2c
[ 21%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/sampbuf.o
[ 21%] Built target re2c
[ 21%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/riff.o
[ 21%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomPathHelpers.cpp.o
[ 21%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Fme7_Apu.cpp.o
[ 22%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/resample.o
[ 22%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Namco_Apu.cpp.o
[ 22%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Oscs.cpp.o
[ 22%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Vrc6_Apu.cpp.o
[ 23%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nsf_Emu.cpp.o
1 warning generated.
[ 23%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomMessageQueue.cpp.o
[ 23%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nsfe_Emu.cpp.o
[ 23%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Sap_Apu.cpp.o
[ 23%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Sap_Cpu.cpp.o
[ 23%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Sap_Emu.cpp.o
[ 23%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Snes_Spc.cpp.o
[ 23%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/memfile.o
[ 23%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomSharedMemory.cpp.o
[ 24%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Spc_Cpu.cpp.o
/private/var/folders/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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%
                               ~~~~~~~ ^
In file included from /private/var/folders/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/src/vizdoom/game-music-emu/gme/Spc_Cpu.cpp:565:
/private/var/folders/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/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%
                                       ~~~~~~~ ^
Scanning dependencies of target gdtoa
[ 25%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomPathHelpers.cpp.o
[ 25%] Building C object src/vizdoom/gdtoa/CMakeFiles/gdtoa.dir/dmisc.o
[ 25%] Building C object src/vizdoom/gdtoa/CMakeFiles/gdtoa.dir/dtoa.o
1 warning generated.
[ 25%] Building C object src/vizdoom/gdtoa/CMakeFiles/gdtoa.dir/misc.o
[ 25%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/clickrem.o
[ 25%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomSharedMemory.cpp.o
[ 25%] Linking C static library libgdtoa.a
[ 26%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomUtilities.cpp.o
[ 26%] Built target gdtoa
[ 26%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Spc_Dsp.cpp.o
[ 26%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/barray.o
2 warnings generated.
[ 26%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Spc_Emu.cpp.o
[ 26%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomUtilities.cpp.o
[ 26%] Linking CXX static library bin/libvizdoom.a
[ 26%] Built target libvizdoom_static
[ 26%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/xmeffect.o
[ 26%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readxm2.o
[ 26%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Spc_Filter.cpp.o
[ 27%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readxm.o
[ 27%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readstm2.o
[ 27%] 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/readstm.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/reads3m2.o
[ 28%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Ym2413_Emu.cpp.o
[ 28%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/reads3m.o
[ 29%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readriff.o
[ 29%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readptm.o
Scanning dependencies of target libvizdoom_python
[ 29%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readpsm.o
[ 29%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readoldpsm.o
[ 29%] Linking CXX static library libgme.a
[ 29%] Building CXX object src/lib_python/CMakeFiles/libvizdoom_python.dir/ViZDoomGamePython.cpp.o
[ 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
[ 29%] Building CXX object src/lib_python/CMakeFiles/libvizdoom_python.dir/ViZDoomPythonModule.cpp.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%] 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%] 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/read6692.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/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
[ 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/loadriff.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/loadptm.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/loadoldpsm2.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/loadokt2.o
[ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadmtm2.o
[ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadokt.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%] Linking CXX shared library bin/libvizdoom.dylib
[ 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
ld: library not found for -licudata
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/libvizdoom.dylib] Error 1
make[1]: *** [CMakeFiles/libvizdoom_shared.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 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/load6692.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/itunload.o
[ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itrender.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/itread.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/itmisc.o
[ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itload2.o
/private/var/folders/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/src/lib_python/ViZDoomPythonModule.cpp:62:5: warning: 'PyEval_InitThreads' is deprecated [-Wdeprecated-declarations]
    PyEval_InitThreads();
    ^
/Library/Frameworks/Python.framework/Versions/3.9/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);
^
/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
[ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itload.o
[ 38%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readany.o
[ 38%] 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/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%] Linking C static library libdumb.a
[ 39%] Built target dumb
1 warning generated.
[ 39%] Linking CXX shared module ../../bin/python3.9/vizdoom.cpython-39-darwin.so
ld: library not found for -licudata
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/python3.9/vizdoom.cpython-39-darwin.so] Error 1
make[1]: *** [src/lib_python/CMakeFiles/libvizdoom_python.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/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/setup.py", line 85, in <module>
    setup(
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/__init__.py", line 165, in setup
    return distutils.core.setup(**attrs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/install.py", line 546, in run
    self.run_command('build')
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/private/var/folders/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/setup.py", line 76, in run
    subprocess.check_call(['make', '-j', str(cpu_cores)])
  File "/Library/Frameworks/Python.framework/Versions/3.9/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: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/1p/hw4jlgdj7jjn8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/setup.py'"'"'; file='"'"'/private/var/folders/1p/hw4jlgdj7jjn8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-record-j0v4lg82/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/vizdoom Check the logs for full command output.

kaczmarj commented 3 years ago

in the logs above, the error seems to be

ld: library not found for -licudata

this might be the library that is missing http://userguide.icu-project.org/icudata

Arjunprasaath commented 3 years ago

in the logs above, the error seems to be

ld: library not found for -licudata

this might be the library that is missing http://userguide.icu-project.org/icudata

how do I download it for my Mac?

Miffyli commented 3 years ago

See related issue #480. The final outcome there seems to be that on an older Mac the library dependencies make it difficult to satisfy what ViZDoom needs.

Arjunprasaath commented 3 years ago

See related issue #480. The final outcome there seems to be that on an older Mac the library dependencies make it difficult to satisfy what ViZDoom needs.

I saw that but mine is a new one (2020 Mac book pro 13 inch i5 10th gen)

kaczmarj commented 3 years ago

@Arjunprasaath - have you followed the instructions at https://github.com/mwydmuch/ViZDoom/blob/master/doc/Building.md#macos_deps and https://zdoom.org/wiki/Compile_ZDoom_on_Mac_OS_X ?

also i noticed you are installing using the system's python. i would highly recommend using a virtual environment (eg conda, virtualenv) instead. macos uses that system python, and it's best to leave it alone.

mwydmuch commented 3 years ago

Hi @Arjunprasaath, @kaczmarj, it seems to be a problem with brew boost v1.7.5 formula, there is an issue related to it, https://github.com/Homebrew/homebrew-core/issues/67427 and there is already a Pull Request with a fix, but it haven't been merged yet. Unfortunately, it is not easy to downgrade boost via brew to a specific version. I replicated the issue on my mac but unfortunately proposed a temporary fix to create icu libs links to /usr/local/lib doesn't work form me (ln -s /usr/local/opt/icu4c/lib/*.dylib /usr/local/lib).

Arjunprasaath commented 3 years ago

@Arjunprasaath - have you followed the instructions at https://github.com/mwydmuch/ViZDoom/blob/master/doc/Building.md#macos_deps and https://zdoom.org/wiki/Compile_ZDoom_on_Mac_OS_X ?

also i noticed you are installing using the system's python. i would highly recommend using a virtual environment (eg conda, virtualenv) instead. macos uses that system python, and it's best to leave it alone.

Im not sure with the ZDoom installation help me with it if you know about it.

Arjunprasaath commented 3 years ago

Hi @Arjunprasaath, @kaczmarj, it seems to be a problem with brew boost v1.7.5 formula, there is an issue related to it, Homebrew/homebrew-core#67427 and there is already a Pull Request with a fix, but it haven't been merged yet. Unfortunately, it is not easy to downgrade boost via brew to a specific version. I replicated the issue on my mac but unfortunately proposed a temporary fix to create icu libs links to /usr/local/lib doesn't work form me (ln -s /usr/local/opt/icu4c/lib/*.dylib /usr/local/lib).

isn't there any other way?

Miffyli commented 3 years ago

isn't there any other way?

Looking at the issue @mwydmuch linked the fix should be merged now. @mwydmuch can you provide info how to compile things given the update to brew (and also update the docs/makes, if necessary)?

mwydmuch commented 3 years ago

Hi @Arjunprasaath, @kaczmarj, as @Miffyli said, the fix is merged. I confirm that after installing the fixed version, everything is working again on MacOS. I ran brew uninstall boost then brew install boost, probably brew upgrade boost will also work since the fix is marked as a new version.

mwydmuch commented 3 years ago

I think, the issue is solved, closing