openai / doom-py

ViZDoom Python wrapper
MIT License
75 stars 44 forks source link

Fail to build doom-py at progress 98% due to unknown error #17

Open mechelleamily opened 5 years ago

mechelleamily commented 5 years ago

[ 92%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/timidity/mix.cpp.o [ 92%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/timidity/playmidi.cpp.o [ 92%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/timidity/resample.cpp.o [ 92%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/timidity/timidity.cpp.o [ 92%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/wildmidi/file_io.cpp.o [ 93%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/wildmidi/gus_pat.cpp.o [ 93%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/wildmidi/reverb.cpp.o [ 93%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/wildmidi/wildmidi_lib.cpp.o [ 93%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/wildmidi/wm_error.cpp.o [ 93%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/xlat/parse_xlat.cpp.o [ 94%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/fragglescript/t_fspic.cpp.o [ 94%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/fragglescript/t_func.cpp.o [ 94%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/fragglescript/t_load.cpp.o [ 94%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/fragglescript/t_oper.cpp.o [ 94%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/fragglescript/t_parse.cpp.o [ 95%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/fragglescript/t_prepro.cpp.o [ 95%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/fragglescript/t_script.cpp.o [ 95%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/fragglescript/t_spec.cpp.o [ 95%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/fragglescript/t_variable.cpp.o [ 95%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/fragglescript/t_cmd.cpp.o [ 95%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/r_data/colormaps.cpp.o [ 96%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/r_data/sprites.cpp.o [ 96%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/r_data/voxels.cpp.o [ 96%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/r_data/renderstyle.cpp.o [ 96%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/r_data/r_interpolate.cpp.o [ 96%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/r_data/r_translate.cpp.o [ 97%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/zzautozend.cpp.o [ 97%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/vizdoom_input.cpp.o [ 97%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/vizdoom_game.cpp.o [ 97%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/vizdoom_screen.cpp.o [ 97%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/vizdoom_shared_memory.cpp.o [ 98%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/vizdoom_message_queue.cpp.o [ 98%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/vizdoom_main.cpp.o [ 98%] Building CXX object src/vizdoom/src/CMakeFiles/vizdoom.dir/vizdoom_depth.cpp.o Copying OS X content bin/vizdoom.app/Contents/Resources/zdoom.icns /Users/geyizhang/Desktop/CCM-Project/doom-py/doom_py/src/vizdoom/src/vizdoom_input.cpp:342:31: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] else if(vizdoomLastUpdate == VIZDOOM_TIME){


1 warning generated.
[ 98%] Linking CXX executable ../../../bin/vizdoom.app/Contents/MacOS/vizdoom
[ 98%] Built target vizdoom
make: *** [all] Error 2

Could not build doom-py: Command '['make', '-j', '7']' returned non-zero exit status 2.. (HINT: are you sure cmake is installed? You might also be missing a library. doom_py requires boost, boost-python, sdl2 on OSX (installable via 'brew install boost boost-python sdl2')

Traceback (most recent call last):
  File "setup.py", line 88, in <module>
    include_package_data=True,
  File "/anaconda3/lib/python3.7/site-packages/setuptools/__init__.py", line 143, in setup
    return distutils.core.setup(**attrs)
  File "/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "setup.py", line 63, in run
    build_func()
  File "setup.py", line 34, in build_osx
    build_common('dylib', cmake_arg_list=['-DOSX_COCOA_BACKEND=OFF'])
  File "setup.py", line 29, in build_common
    subprocess.check_call(['make', '-j', str(cores_to_use)], cwd='doom_py')
  File "/anaconda3/lib/python3.7/subprocess.py", line 341, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j', '7']' returned non-zero exit status 2.