edavalosanaya / pyorbslam

Real-time SLAM using ORB-SLAM3 with Python bindings
GNU General Public License v3.0
10 stars 2 forks source link

install error #3

Open dubing-bit opened 9 months ago

dubing-bit commented 9 months ago

` -- Build files have been written to: /tmp/pip-req-build-uwj_vkr5/.py-build-cmake_cache/cp38-cp38-linux_x86_64 [ 1%] Building CXX object _deps/googletest-build/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [ 1%] Building CXX object DBoW2/CMakeFiles/DBoW2.dir/DBoW2/src/BowVector.cpp.o [ 2%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/types/types_sba.cpp.o [ 3%] Building CXX object DBoW2/CMakeFiles/DBoW2.dir/DBoW2/src/FeatureVector.cpp.o [ 4%] Building CXX object DBoW2/CMakeFiles/DBoW2.dir/DBoW2/src/FORB.cpp.o [ 5%] Building CXX object DBoW2/CMakeFiles/DBoW2.dir/DBoW2/src/ScoringObject.cpp.o [ 5%] Linking CXX static library ../../../lib/libgtest.a [ 5%] Built target gtest [ 6%] Building CXX object Sophus/test/core/CMakeFiles/test_common.dir/test_common.cpp.o [ 7%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/types/types_six_dof_expmap.cpp.o [ 8%] Building CXX object DBoW2/CMakeFiles/DBoW2.dir/DUtils/src/Random.cpp.o [ 9%] Linking CXX executable test_common [ 9%] Built target test_common [ 10%] Building CXX object DBoW2/CMakeFiles/DBoW2.dir/DUtils/src/Timestamp.cpp.o [ 11%] Building CXX object Sophus/test/core/CMakeFiles/test_so2.dir/test_so2.cpp.o [ 12%] Linking CXX shared library /tmp/pip-req-build-uwj_vkr5/src/DBoW2/lib/libDBoW2.so [ 12%] Built target DBoW2 [ 13%] Building CXX object Sophus/test/core/CMakeFiles/test_se2.dir/test_se2.cpp.o [ 14%] Linking CXX executable test_so2 [ 14%] Built target test_so2 [ 15%] Building CXX object Sophus/test/core/CMakeFiles/test_rxso2.dir/test_rxso2.cpp.o [ 16%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/types/types_seven_dof_expmap.cpp.o [ 17%] Linking CXX executable test_se2 [ 17%] Built target test_se2 [ 18%] Building CXX object Sophus/test/core/CMakeFiles/test_sim2.dir/test_sim2.cpp.o [ 18%] Linking CXX executable test_rxso2 [ 18%] Built target test_rxso2 [ 19%] Building CXX object Sophus/test/core/CMakeFiles/test_so3.dir/test_so3.cpp.o [ 20%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/hyper_graph_action.cpp.o [ 21%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/hyper_graph.cpp.o [ 22%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/marginal_covariance_cholesky.cpp.o [ 23%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/matrix_structure.cpp.o [ 24%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/batch_stats.cpp.o [ 24%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/parameter.cpp.o [ 25%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/cache.cpp.o [ 26%] Linking CXX executable test_sim2 [ 27%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/optimizable_graph.cpp.o [ 27%] Built target test_sim2 [ 28%] Building CXX object Sophus/test/core/CMakeFiles/test_se3.dir/test_se3.cpp.o [ 29%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/solver.cpp.o [ 30%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/optimization_algorithm_factory.cpp.o [ 31%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/estimate_propagator.cpp.o [ 32%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/factory.cpp.o [ 33%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/sparse_optimizer.cpp.o [ 34%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/hyper_dijkstra.cpp.o [ 35%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/parameter_container.cpp.o [ 35%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/optimization_algorithm.cpp.o [ 36%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/optimization_algorithm_with_hessian.cpp.o [ 37%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/optimization_algorithm_levenberg.cpp.o [ 38%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/optimization_algorithm_gauss_newton.cpp.o [ 39%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/jacobian_workspace.cpp.o [ 40%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/robust_kernel.cpp.o [ 41%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/robust_kernel_factory.cpp.o [ 42%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/core/robust_kernel_impl.cpp.o [ 43%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/stuff/timeutil.cpp.o [ 43%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/stuff/os_specific.cpp.o [ 44%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/stuff/string_tools.cpp.o [ 45%] Building CXX object g2o/CMakeFiles/g2o.dir/g2o/stuff/property.cpp.o [ 46%] Linking CXX shared library /tmp/pip-req-build-uwj_vkr5/src/g2o/lib/libg2o.so [ 46%] Built target g2o [ 47%] Building CXX object Sophus/test/core/CMakeFiles/test_rxso3.dir/test_rxso3.cpp.o c++: fatal error: 已杀死 signal terminated program cc1plus compilation terminated. make[2]: [Sophus/test/core/CMakeFiles/test_so3.dir/build.make:76:Sophus/test/core/CMakeFiles/test_so3.dir/test_so3.cpp.o] 错误 1 make[1]: [CMakeFiles/Makefile2:650:Sophus/test/core/CMakeFiles/test_so3.dir/all] 错误 2 make[1]: 正在等待未完成的任务.... [ 48%] Linking CXX executable test_se3 [ 48%] Built target test_se3 [ 49%] Linking CXX executable test_rxso3 [ 49%] Built target test_rxso3 make: [Makefile:136:all] 错误 2 Traceback (most recent call last): File "/tmp/tmp1sbqveq0", line 126, in prepare_metadata_for_build_wheel hook = backend.prepare_metadata_for_build_wheel AttributeError: module 'py_build_cmake.build' has no attribute 'prepare_metadata_for_build_wheel'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/tmp1sbqveq0", line 280, in <module>
    main()
  File "/tmp/tmp1sbqveq0", line 263, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File "/tmp/tmp1sbqveq0", line 130, in prepare_metadata_for_build_wheel
    return _get_wheel_metadata_from_wheel(backend, metadata_directory,
  File "/tmp/tmp1sbqveq0", line 159, in _get_wheel_metadata_from_wheel
    whl_basename = backend.build_wheel(metadata_directory, config_settings)
  File "/tmp/pip-build-env-uvdmdpmx/overlay/lib/python3.8/site-packages/py_build_cmake/build.py", line 67, in build_wheel
    whl_name = self.build_wheel_in_dir(wheel_directory, tmp_build_dir,
  File "/tmp/pip-build-env-uvdmdpmx/overlay/lib/python3.8/site-packages/py_build_cmake/build.py", line 248, in build_wheel_in_dir
    self.do_native_cross_cmake_build(paths, cfg, pkg_info)
  File "/tmp/pip-build-env-uvdmdpmx/overlay/lib/python3.8/site-packages/py_build_cmake/build.py", line 333, in do_native_cross_cmake_build
    self.run_cmake(paths.source_dir, paths.staging_dir, cmake_cfg,
  File "/tmp/pip-build-env-uvdmdpmx/overlay/lib/python3.8/site-packages/py_build_cmake/build.py", line 511, in run_cmake
    cmaker.build()
  File "/tmp/pip-build-env-uvdmdpmx/overlay/lib/python3.8/site-packages/py_build_cmake/cmake.py", line 190, in build
    self.run(cmd, cwd=cwd, check=True, env=env)
  File "/tmp/pip-build-env-uvdmdpmx/overlay/lib/python3.8/site-packages/py_build_cmake/cmake.py", line 68, in run
    return self.runner.run(*args, **kwargs)
  File "/tmp/pip-build-env-uvdmdpmx/overlay/lib/python3.8/site-packages/py_build_cmake/cmd_runner.py", line 25, in run
    return sp_run(*args, **kwargs)
  File "/usr/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cmake', '--build', '/tmp/pip-req-build-uwj_vkr5/.py-build-cmake_cache/cp38-cp38-linux_x86_64', '--config', 'Release', '-j3']' returned non-zero exit status 2.
----------------------------------------

ERROR: Command errored out with exit status 1: /usr/bin/python3 /tmp/tmp1sbqveq0 prepare_metadata_for_buildwheel /tmp/tmpn7wti4p Check the logs for full command output. `