Been trying different things to get this to install and can't on either Ubuntu 17.10 or 16.04. I'm not attached to Ubuntu, so if this works easier on a different version of Linux, I'll switch to that. I have cmake installed, but unsure of how to fix this error.
Trying to install in a virtual environment using command: sudo pip3 install atari-py
For input:
'
IF(NOT EXISTS \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\")
MESSAGE(FATAL_ERROR \"Cannot find install manifest: @CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\")
ENDIF(NOT EXISTS \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\")
FILE(READ \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\" files)
STRING(REGEX REPLACE \"\\n\" \";\" files \"\${files}\")
FOREACH(file \${files})
MESSAGE(STATUS \"Uninstalling \"\$ENV{DESTDIR}\${file}\"\")
IF(EXISTS \"\$ENV{DESTDIR}\${file}\")
EXEC_PROGRAM(
\"@CMAKE_COMMAND@\" ARGS \"-E remove \"\$ENV{DESTDIR}\${file}\"\"
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)
IF(NOT \"\${rm_retval}\" STREQUAL 0)
MESSAGE(FATAL_ERROR \"Problem when removing \"\$ENV{DESTDIR}\${file}\"\")
ENDIF(NOT \"\${rm_retval}\" STREQUAL 0)
ELSE(EXISTS \"\$ENV{DESTDIR}\${file}\")
MESSAGE(STATUS \"File \"\$ENV{DESTDIR}\${file}\" does not exist.\")
ENDIF(EXISTS \"\$ENV{DESTDIR}\${file}\")
ENDFOREACH(file)
'
the old evaluation rules produce:
'
IF(NOT EXISTS "/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/build/install_manifest.txt")
MESSAGE(FATAL_ERROR "Cannot find install manifest: /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/build/install_manifest.txt")
ENDIF(NOT EXISTS "/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/build/install_manifest.txt")
FILE(READ "/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/build/install_manifest.txt" files)
STRING(REGEX REPLACE "\n" ";" files "${files}")
FOREACH(file ${files})
MESSAGE(STATUS "Uninstalling "$ENV{DESTDIR}${file}"")
IF(EXISTS "$ENV{DESTDIR}${file}")
EXEC_PROGRAM(
"/usr/bin/cmake" ARGS "-E remove "$ENV{DESTDIR}${file}""
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)
IF(NOT "${rm_retval}" STREQUAL 0)
MESSAGE(FATAL_ERROR "Problem when removing "$ENV{DESTDIR}${file}"")
ENDIF(NOT "${rm_retval}" STREQUAL 0)
ELSE(EXISTS "$ENV{DESTDIR}${file}")
MESSAGE(STATUS "File "$ENV{DESTDIR}${file}" does not exist.")
ENDIF(EXISTS "$ENV{DESTDIR}${file}")
ENDFOREACH(file)
'
but the new evaluation rules produce:
'
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
MESSAGE(FATAL_ERROR "Cannot find install manifest: @CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
STRING(REGEX REPLACE "\n" ";" files "${files}")
FOREACH(file ${files})
MESSAGE(STATUS "Uninstalling "$ENV{DESTDIR}${file}"")
IF(EXISTS "$ENV{DESTDIR}${file}")
EXEC_PROGRAM(
"@CMAKE_COMMAND@" ARGS "-E remove "$ENV{DESTDIR}${file}""
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)
IF(NOT "${rm_retval}" STREQUAL 0)
MESSAGE(FATAL_ERROR "Problem when removing "$ENV{DESTDIR}${file}"")
ENDIF(NOT "${rm_retval}" STREQUAL 0)
ELSE(EXISTS "$ENV{DESTDIR}${file}")
MESSAGE(STATUS "File "$ENV{DESTDIR}${file}" does not exist.")
ENDIF(EXISTS "$ENV{DESTDIR}${file}")
ENDFOREACH(file)
'
Using the old result for compatibility since the policy is not set.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/build
make[1]: Entering directory '/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/build'
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/build'
make[3]: Entering directory '/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/build'
Scanning dependencies of target ale-c-lib
make[3]: Leaving directory '/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/build'
make[3]: Entering directory '/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/build'
[ 1%] Building CXX object CMakeFiles/ale-c-lib.dir/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp.o
[ 1%] Building CXX object CMakeFiles/ale-c-lib.dir/src/common/ColourPalette.cpp.o
[ 1%] Building CXX object CMakeFiles/ale-c-lib.dir/src/common/Constants.cpp.o
[ 2%] Building CXX object CMakeFiles/ale-c-lib.dir/src/ale_interface.cpp.o
[ 3%] Building CXX object CMakeFiles/ale-c-lib.dir/src/common/Log.cpp.o
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:41:0,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:4,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/environment/stella_environment.hpp:117:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<ScreenExporter> m_screen_exporter; // Automatic screen recorder
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:4,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:41:0,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/environment/stella_environment.hpp:117:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<ScreenExporter> m_screen_exporter; // Automatic screen recorder
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:4:0,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:153:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<OSystem> theOSystem;
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:4,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:4:0,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:154:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Settings> theSettings;
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:4,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:4:0,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:155:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<RomSettings> romSettings;
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:4,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:0:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:153:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<OSystem> theOSystem;
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:4:0,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:156:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<StellaEnvironment> environment;
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:4,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:0:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:154:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Settings> theSettings;
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:4:0,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:163:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
static void createOSystem(std::auto_ptr<OSystem> &theOSystem,
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:4,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:4:0,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:164:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Settings> &theSettings);
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:4,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:0:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:155:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<RomSettings> romSettings;
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:4:0,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:166:33: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<OSystem> &theOSystem);
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:4,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:0:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:156:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<StellaEnvironment> environment;
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:0:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:163:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
static void createOSystem(std::auto_ptr<OSystem> &theOSystem,
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:0:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:164:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Settings> &theSettings);
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:0:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:166:33: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<OSystem> &theOSystem);
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:55:39: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
void ALEInterface::createOSystem(std::auto_ptr<OSystem> &theOSystem,
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:56:32: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Settings> &theSettings) {
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:69:38: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<OSystem> &theOSystem) {
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/../emucore/m6502/src/bspf/src/bspf.hxx:50,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/../common/Array.hxx:27,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/emucore/FSNode.hxx:57,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.hpp:33,
from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/ale_interface.cpp:30:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
[ 4%] Building CXX object CMakeFiles/ale-c-lib.dir/src/common/ScreenExporter.cpp.o
In file included from /tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.cpp:1:0:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h: In function ‘void getScreenRGB2(ALEInterface*, unsigned char*)’:
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_c_wrapper.h:71:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i < screen_size;i++){
~~^~~~~~~~~~~~~
/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/src/common/ScreenExporter.cpp:18:10: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^~~~~~~~
compilation terminated.
CMakeFiles/ale-c-lib.dir/build.make:182: recipe for target 'CMakeFiles/ale-c-lib.dir/src/common/ScreenExporter.cpp.o' failed
make[3]: *** [CMakeFiles/ale-c-lib.dir/src/common/ScreenExporter.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/build'
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/ale-c-lib.dir/all' failed
make[2]: *** [CMakeFiles/ale-c-lib.dir/all] Error 2
make[2]: Leaving directory '/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/build'
Makefile:129: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface/build'
Makefile:4: recipe for target 'build' failed
make: *** [build] Error 2
make: Leaving directory '/tmp/pip-build-gyj9tscz/atari-py/atari_py/ale_interface'
Could not build atari-py: Command '['make', 'build', '-C', 'atari_py/ale_interface', '-j', '3']' returned non-zero exit status 2.. (HINT: are you sure cmake is installed? You might also be missing a library. Atari-py requires: zlib [installable as 'apt-get install zlib1g-dev' on Ubuntu].)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-gyj9tscz/atari-py/setup.py", line 36, in <module>
tests_require=['nose2']
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3.6/distutils/command/install.py", line 589, in run
self.run_command('build')
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/pip-build-gyj9tscz/atari-py/setup.py", line 16, in run
subprocess.check_call(cmd)
File "/usr/lib/python3.6/subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', 'build', '-C', 'atari_py/ale_interface', '-j', '3']' returned non-zero exit status 2.
----------------------------------------