facebookresearch / synsin

View synthesis for the public.
http://www.robots.ox.ac.uk/~ow/synsin.html
Other
659 stars 93 forks source link

habitat-sim install problem #40

Open chenjiahes opened 8 months ago

chenjiahes commented 8 months ago

when I install the habitat-sim(d383c2011bf1baab2ce7b3cd40aea573ad2ddf71) finally show that "Running setup.py develop for habitat-sim" at last show the error that" ERROR: Command errored out with exit status 1: command: /home/pl/anaconda3/envs/lookout/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/pl/habitat-sim/setup.py'"'"'; file='"'"'/home/pl/habitat-sim/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps cwd: /home/pl/habitat-sim/ Complete output (305 lines): running develop running egg_info writing habitat_sim.egg-info/PKG-INFO writing dependency_links to habitat_sim.egg-info/dependency_links.txt writing requirements to habitat_sim.egg-info/requires.txt writing top-level names to habitat_sim.egg-info/top_level.txt reading manifest file 'habitat_sim.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'habitat_sim.egg-info/SOURCES.txt' running build_ext Cloning into '/home/pl/habitat-sim/src/deps/assimp'... Cloning into '/home/pl/habitat-sim/src/deps/corrade'... Cloning into '/home/pl/habitat-sim/src/deps/eigen-git-mirror'... Cloning into '/home/pl/habitat-sim/src/deps/glfw'... Cloning into '/home/pl/habitat-sim/src/deps/glog'... Cloning into '/home/pl/habitat-sim/src/deps/googletest'... Cloning into '/home/pl/habitat-sim/src/deps/magnum'... Cloning into '/home/pl/habitat-sim/src/deps/magnum-integration'... Cloning into '/home/pl/habitat-sim/src/deps/magnum-plugins'... Cloning into '/home/pl/habitat-sim/src/deps/pybind11'... Cloning into '/home/pl/habitat-sim/src/deps/rapidjson'... Cloning into '/home/pl/habitat-sim/src/deps/recastnavigation'... Cloning into '/home/pl/habitat-sim/src/deps/tinyobjloader'... Cloning into '/home/pl/habitat-sim/src/deps/tinyply'... Submodule path 'src/deps/Sophus': checked out 'b475c0a81a197ff8ea6bdcf8df8a2f5a7b1da879' Submodule path 'src/deps/assimp': checked out '3fbe9095d157ecacf6a9549c9a21bf2ad3110ac6' Submodule path 'src/deps/corrade': checked out 'ab38ab3d66a76aa8c0d85a9146f210b96645f602' Submodule 'toolchains' (https://github.com/mosra/toolchains.git) registered for path 'src/deps/corrade/toolchains' Cloning into '/home/pl/habitat-sim/src/deps/corrade/toolchains'... Submodule path 'src/deps/corrade/toolchains': checked out '0fb6b9caac486cdb7736af7c10bfc35e34773f36' Submodule path 'src/deps/eigen-git-mirror': checked out 'd10e1f03d4ef456f78ff6b91d9078b1f13a5975c' Submodule path 'src/deps/glfw': checked out '53c8c72c676ca97c10aedfe3d0eb4271c5b23dba' Submodule path 'src/deps/glog': checked out '8d7a107d68c127f3f494bb7807b796c8c5a97a82' Submodule path 'src/deps/googletest': checked out '28b71e444c41ad93225145e029db4957f15aaae6' Submodule path 'src/deps/magnum': checked out '9ec10b89d08bf8df6070aa6e814fad0d8fb5219c' Submodule 'toolchains' (https://github.com/mosra/toolchains.git) registered for path 'src/deps/magnum/toolchains' Cloning into '/home/pl/habitat-sim/src/deps/magnum/toolchains'... Submodule path 'src/deps/magnum/toolchains': checked out 'a3e0aff97f7be9b3b69cbc3f981f6765fd0a467a' Submodule path 'src/deps/magnum-integration': checked out '186396a88086771668c73befe629aedd68e9bbba' Submodule 'toolchains' (https://github.com/mosra/toolchains.git) registered for path 'src/deps/magnum-integration/toolchains' Cloning into '/home/pl/habitat-sim/src/deps/magnum-integration/toolchains'... Submodule path 'src/deps/magnum-integration/toolchains': checked out 'a3e0aff97f7be9b3b69cbc3f981f6765fd0a467a' Submodule path 'src/deps/magnum-plugins': checked out '335c79204a3acae1ccc3d0026fb7d4bca8bf200d' Submodule 'toolchains' (https://github.com/mosra/toolchains.git) registered for path 'src/deps/magnum-plugins/toolchains' Cloning into '/home/pl/habitat-sim/src/deps/magnum-plugins/toolchains'... Submodule path 'src/deps/magnum-plugins/toolchains': checked out 'a3e0aff97f7be9b3b69cbc3f981f6765fd0a467a' Submodule path 'src/deps/pybind11': checked out '177713fa4ea49c5594b5568279757f22354fa000' Submodule 'tools/clang' (https://github.com/wjakob/clang-cindex-python3) registered for path 'src/deps/pybind11/tools/clang' Cloning into '/home/pl/habitat-sim/src/deps/pybind11/tools/clang'... Submodule path 'src/deps/pybind11/tools/clang': checked out '6a00cbc4a9b8e68b71caf7f774b3f9c753ae84d5' Submodule path 'src/deps/rapidjson': checked out '73063f5002612c6bf64fe24f851cd5cc0d83eef9' Submodule 'thirdparty/gtest' (https://github.com/google/googletest.git) registered for path 'src/deps/rapidjson/thirdparty/gtest' Cloning into '/home/pl/habitat-sim/src/deps/rapidjson/thirdparty/gtest'... Submodule path 'src/deps/rapidjson/thirdparty/gtest': checked out '0a439623f75c029912728d80cb7f1b8b48739ca4' Submodule path 'src/deps/recastnavigation': checked out '5c7ef6fea3b43abda5b0daa982be265d23d0664c' Submodule path 'src/deps/tinyobjloader': checked out 'fd06fa49e4e3f4811df4ee566a0ea41832eb0cca' Submodule path 'src/deps/tinyply': checked out 'a6ca3c89480b89d271b6909e16d8423ef0025336' -- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.0 -- Check for working C compiler: /home/pl/anaconda3/envs/lookout/bin/x86_64-conda_cos6-linux-gnu-cc -- Check for working C compiler: /home/pl/anaconda3/envs/lookout/bin/x86_64-conda_cos6-linux-gnu-cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /home/pl/anaconda3/envs/lookout/bin/x86_64-conda_cos6-linux-gnu-c++ -- Check for working CXX compiler: /home/pl/anaconda3/envs/lookout/bin/x86_64-conda_cos6-linux-gnu-c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) -- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) -- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) CMake Warning at deps/glog/CMakeLists.txt:49 (find_package): By not providing "Findgflags.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "gflags", but CMake did not find one.

  Could not find a package configuration file provided by "gflags" (requested
  version 2.2.0) with any of the following names:

    gflagsConfig.cmake
    gflags-config.cmake

  Add the installation prefix of "gflags" to CMAKE_PREFIX_PATH or set
  "gflags_DIR" to a directory containing one of the above files.  If "gflags"
  provides a separate development package or SDK, be sure it has been
  installed.

-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Looking for glob.h
-- Looking for glob.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for libunwind.h
-- Looking for libunwind.h - not found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for pwd.h
-- Looking for pwd.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/syscall.h
-- Looking for sys/syscall.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sys/utsname.h
-- Looking for sys/utsname.h - found
-- Looking for syscall.h
-- Looking for syscall.h - found
-- Looking for syslog.h
-- Looking for syslog.h - found
-- Looking for ucontext.h
-- Looking for ucontext.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for unwind.h
-- Looking for unwind.h - found
-- Looking for C++ include ext/hash_map
-- Looking for C++ include ext/hash_map - found
-- Looking for C++ include ext/hash_set
-- Looking for C++ include ext/hash_set - found
-- Looking for C++ include ext/slist
-- Looking for C++ include ext/slist - found
-- Looking for C++ include tr1/unordered_map
-- Looking for C++ include tr1/unordered_map - found
-- Looking for C++ include tr1/unordered_set
-- Looking for C++ include tr1/unordered_set - found
-- Looking for C++ include unordered_map
-- Looking for C++ include unordered_map - found
-- Looking for C++ include unordered_set
-- Looking for C++ include unordered_set - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned __int16
-- Check size of unsigned __int16 - failed
-- Check size of u_int16_t
-- Check size of u_int16_t - done
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Looking for dladdr
-- Looking for dladdr - not found
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for pread
-- Looking for pread - found
-- Looking for pwrite
-- Looking for pwrite - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for sigaltstack
-- Looking for sigaltstack - found
-- Performing Test HAVE_NO_DEPRECATED
-- Performing Test HAVE_NO_DEPRECATED - Success
-- Performing Test HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for get_static_proc_name in unwind
-- Looking for get_static_proc_name in unwind - not found
-- Looking for UnDecorateSymbolName in dbghelp
-- Looking for UnDecorateSymbolName in dbghelp - not found
-- Performing Test HAVE___ATTRIBUTE__
-- Performing Test HAVE___ATTRIBUTE__ - Success
-- Performing Test HAVE___ATTRIBUTE__VISIBILITY_DEFAULT
-- Performing Test HAVE___ATTRIBUTE__VISIBILITY_DEFAULT - Success
-- Performing Test HAVE___ATTRIBUTE__VISIBILITY_HIDDEN
-- Performing Test HAVE___ATTRIBUTE__VISIBILITY_HIDDEN - Success
-- Performing Test HAVE___BUILTIN_EXPECT
-- Performing Test HAVE___BUILTIN_EXPECT - Success
-- Performing Test HAVE___SYNC_VAL_COMPARE_AND_SWAP
-- Performing Test HAVE___SYNC_VAL_COMPARE_AND_SWAP - Success
-- Performing Test HAVE_RWLOCK
-- Performing Test HAVE_RWLOCK - Failed
-- Performing Test HAVE___DECLSPEC
-- Performing Test HAVE___DECLSPEC - Failed
-- Performing Test STL_NO_NAMESPACE
-- Performing Test STL_NO_NAMESPACE - Failed
-- Performing Test STL_STD_NAMESPACE
-- Performing Test STL_STD_NAMESPACE - Failed
-- Performing Test HAVE_USING_OPERATOR
-- Performing Test HAVE_USING_OPERATOR - Failed
-- Performing Test HAVE_NAMESPACES
-- Performing Test HAVE_NAMESPACES - Success
-- Performing Test HAVE_GCC_TLS
-- Performing Test HAVE_GCC_TLS - Success
-- Performing Test HAVE_MSVC_TLS
-- Performing Test HAVE_MSVC_TLS - Failed
-- Performing Test HAVE_CXX11_TLS
-- Performing Test HAVE_CXX11_TLS - Success
-- Performing Test HAVE_LOCALTIME_R
-- Performing Test HAVE_LOCALTIME_R - Success
-- Shared libraries disabled
-- Looking for ZLIB...
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'zzip-zlib-config'
--   No package 'zzip-zlib-config' found
-- Found ZLIB: optimized;/home/pl/anaconda3/envs/lookout/lib/libz.so;debug;/home/pl/anaconda3/envs/lookout/lib/libz.so
-- Checking for module 'minizip'
--   No package 'minizip' found
-- Found rt: /home/pl/anaconda3/envs/lookout/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib/librt.so
-- Enabled formats: AMF 3DS AC ASE ASSBIN ASSXML B3D BVH COLLADA DXF CSM HMP IRRMESH IRR LWO LWS MD2 MD3 MD5 MDC MDL NFF NDO OFF OBJ OGRE OPENGEX PLY MS3D COB BLEND IFC XGL FBX Q3D Q3BSP RAW SIB SMD STL TERRAGEN 3D X X3D GLTF 3MF MMD
-- Disabled formats:
-- Found Assimp: assimp
-- Could NOT find Vulkan (missing: VULKAN_LIBRARY VULKAN_INCLUDE_DIR)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Using X11 for window creation
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.16/Modules/FindX11.cmake:366 (find_package_handle_standard_args)
  deps/glfw/CMakeLists.txt:218 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/pl/habitat-sim/build/temp.linux-x86_64-cpython-38/CMakeFiles/CMakeOutput.log".
See also "/home/pl/habitat-sim/build/temp.linux-x86_64-cpython-38/CMakeFiles/CMakeError.log".
/home/pl/habitat-sim/setup.py:297: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  assert StrictVersion(
/home/pl/habitat-sim/setup.py:299: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  ) >= StrictVersion("3.6"), "Must use python3.6 or newer"
/home/pl/anaconda3/envs/lookout/lib/python3.8/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  easy_install.initialize_options(self)
/home/pl/anaconda3/envs/lookout/lib/python3.8/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/pl/habitat-sim/setup.py", line 313, in <module>
    setup(
  File "/home/pl/anaconda3/envs/lookout/lib/python3.8/site-packages/setuptools/__init__.py", line 107, in setup
    return distutils.core.setup(**attrs)
  File "/home/pl/anaconda3/envs/lookout/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/home/pl/anaconda3/envs/lookout/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/home/pl/anaconda3/envs/lookout/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/home/pl/anaconda3/envs/lookout/lib/python3.8/site-packages/setuptools/dist.py", line 1234, in run_command
    super().run_command(command)
  File "/home/pl/anaconda3/envs/lookout/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/home/pl/anaconda3/envs/lookout/lib/python3.8/site-packages/setuptools/command/develop.py", line 34, in run
    self.install_for_development()
  File "/home/pl/anaconda3/envs/lookout/lib/python3.8/site-packages/setuptools/command/develop.py", line 111, in install_for_development
    self.run_command('build_ext')
  File "/home/pl/anaconda3/envs/lookout/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "/home/pl/anaconda3/envs/lookout/lib/python3.8/site-packages/setuptools/dist.py", line 1234, in run_command
    super().run_command(command)
  File "/home/pl/anaconda3/envs/lookout/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/home/pl/habitat-sim/setup.py", line 166, in run
    self.build_extension(ext)
  File "/home/pl/habitat-sim/setup.py", line 213, in build_extension
    subprocess.check_call(
  File "/home/pl/anaconda3/envs/lookout/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '-H/home/pl/habitat-sim/src', '-Bbuild/temp.linux-x86_64-cpython-38', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/pl/habitat-sim/habitat_sim/_ext', '-DPYTHON_EXECUTABLE=/home/pl/anaconda3/envs/lookout/bin/python', '-DCMAKE_EXPORT_COMPILE_COMMANDS=OFF', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-GNinja', '-DBUILD_GUI_VIEWERS=ON', '-DBUILD_TESTS=OFF']' returned non-zero exit status 1.
----------------------------------------

ERROR: Command errored out with exit status 1: /home/pl/anaconda3/envs/lookout/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/pl/habitat-sim/setup.py'"'"'; file='"'"'/home/pl/habitat-sim/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output. "