NVlabs / tiny-cuda-nn

Lightning fast C++/CUDA neural network framework
Other
3.76k stars 456 forks source link

RuntimeError: Error compiling objects for extension #384

Open orientwx opened 1 year ago

orientwx commented 1 year ago

When I execute the command 'python setup.py install,' I encounter the following issue. The problem is as follows: `(h2mapping) robot@re:~/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch$ python setup.py install setup.py:5: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import parse_version Building PyTorch extension for tiny-cuda-nn version 1.7 Obtained compute capabilities [89] from environment variable TCNN_CUDA_ARCHITECTURES nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2023 NVIDIA Corporation Built on Tue_Feb__7_19:32:13_PST_2023 Cuda compilation tools, release 12.1, V12.1.66 Build cuda_12.1.r12.1/compiler.32415258_0 Detected CUDA version 12.1 Targeting C++ standard 17 running install /home/robot/anaconda3/envs/h2mapping/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() /home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/_distutils/cmd.py:66: 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.
    ********************************************************************************

!! self.initialize_options() running bdist_egg running egg_info writing tinycudann.egg-info/PKG-INFO writing dependency_links to tinycudann.egg-info/dependency_links.txt writing top-level names to tinycudann.egg-info/top_level.txt reading manifest file 'tinycudann.egg-info/SOURCES.txt' writing manifest file 'tinycudann.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py running build_ext /home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/utils/cpp_extension.py:424: UserWarning: There are no g++ version bounds defined for CUDA version 12.1 warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}') building 'tinycudann_bindings._89_C' extension Emitting ninja build file /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-38/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/8] /usr/local/cuda/bin/nvcc -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/tools/util/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/fmt/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/TH -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/robot/anaconda3/envs/h2mapping/include/python3.8 -c -c /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/cutlass_mlp.cu -o /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/cutlass_mlp.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -UCUDA_NO_HALF_OPERATORS -UCUDA_NO_HALF_CONVERSIONS -UCUDA_NO_HALF2_OPERATORS -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0 FAILED: /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/cutlass_mlp.o /usr/local/cuda/bin/nvcc -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/tools/util/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/fmt/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/TH -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/robot/anaconda3/envs/h2mapping/include/python3.8 -c -c /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/cutlass_mlp.cu -o /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/cutlass_mlp.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -UCUDA_NO_HALF_OPERATORS -UCUDA_NO_HALF_CONVERSIONS -UCUDA_NO_HALF2_OPERATORS -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0 In file included from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/cpp_api.h:32:0, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/common_host.h:33, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/cuda_graph.h:32, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/networks/cutlass_mlp.h:34, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/cutlass_mlp.cu:31: /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/json/json.hpp:3954:14: fatal error: filesystem: 没有那个文件或目录

include

          ^~~~~~~~~~~~

compilation terminated. [2/8] /usr/local/cuda/bin/nvcc -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/tools/util/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/fmt/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/TH -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/robot/anaconda3/envs/h2mapping/include/python3.8 -c -c /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/object.cu -o /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/object.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -UCUDA_NO_HALF_OPERATORS -UCUDA_NO_HALF_CONVERSIONS -UCUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0 FAILED: /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/object.o /usr/local/cuda/bin/nvcc -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/tools/util/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/fmt/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/TH -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/robot/anaconda3/envs/h2mapping/include/python3.8 -c -c /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/object.cu -o /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/object.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -UCUDA_NO_HALF_OPERATORS -UCUDA_NO_HALF_CONVERSIONS -UCUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0 In file included from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/cpp_api.h:32:0, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/common_host.h:33, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/object.h:32, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/object.cu:31: /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/json/json.hpp:3954:14: fatal error: filesystem: 没有那个文件或目录

include

          ^~~~~~~~~~~~

compilation terminated. [3/8] /usr/local/cuda/bin/nvcc -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/tools/util/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/fmt/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/TH -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/robot/anaconda3/envs/h2mapping/include/python3.8 -c -c /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/encoding.cu -o /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/encoding.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -UCUDA_NO_HALF_OPERATORS -UCUDA_NO_HALF_CONVERSIONS -UCUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0 FAILED: /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/encoding.o /usr/local/cuda/bin/nvcc -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/tools/util/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/fmt/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/TH -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/robot/anaconda3/envs/h2mapping/include/python3.8 -c -c /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/encoding.cu -o /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/encoding.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -UCUDA_NO_HALF_OPERATORS -UCUDA_NO_HALF_CONVERSIONS -UCUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0 In file included from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/cpp_api.h:32:0, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/common_host.h:33, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/object.h:32, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/encoding.h:33, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/encoding.cu:30: /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/json/json.hpp:3954:14: fatal error: filesystem: 没有那个文件或目录

include

          ^~~~~~~~~~~~

compilation terminated. [4/8] /usr/local/cuda/bin/nvcc -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/tools/util/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/fmt/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/TH -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/robot/anaconda3/envs/h2mapping/include/python3.8 -c -c /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/network.cu -o /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/network.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -UCUDA_NO_HALF_OPERATORS -UCUDA_NO_HALF_CONVERSIONS -UCUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0 FAILED: /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/network.o /usr/local/cuda/bin/nvcc -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/tools/util/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/fmt/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/TH -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/robot/anaconda3/envs/h2mapping/include/python3.8 -c -c /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/network.cu -o /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/network.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -UCUDA_NO_HALF_OPERATORS -UCUDA_NO_HALF_CONVERSIONS -UCUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0 In file included from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/cpp_api.h:32:0, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/common_host.h:33, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/object.h:32, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/network.h:33, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/network.cu:31: /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/json/json.hpp:3954:14: fatal error: filesystem: 没有那个文件或目录

include

          ^~~~~~~~~~~~

compilation terminated. [5/8] /usr/local/cuda/bin/nvcc -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/tools/util/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/fmt/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/TH -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/robot/anaconda3/envs/h2mapping/include/python3.8 -c -c /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/fully_fused_mlp.cu -o /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/fully_fused_mlp.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -UCUDA_NO_HALF_OPERATORS -UCUDA_NO_HALF_CONVERSIONS -UCUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0 FAILED: /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/fully_fused_mlp.o /usr/local/cuda/bin/nvcc -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/tools/util/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/fmt/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/TH -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/robot/anaconda3/envs/h2mapping/include/python3.8 -c -c /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/fully_fused_mlp.cu -o /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/fully_fused_mlp.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -UCUDA_NO_HALF_OPERATORS -UCUDA_NO_HALF_CONVERSIONS -UCUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0 In file included from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/cpp_api.h:32:0, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/common_host.h:33, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/object.h:32, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/network.h:33, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/networks/fully_fused_mlp.h:34, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/fully_fused_mlp.cu:31: /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/json/json.hpp:3954:14: fatal error: filesystem: 没有那个文件或目录

include

          ^~~~~~~~~~~~

compilation terminated. [6/8] /usr/local/cuda/bin/nvcc -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/tools/util/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/fmt/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/TH -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/robot/anaconda3/envs/h2mapping/include/python3.8 -c -c /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/common_host.cu -o /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/common_host.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -UCUDA_NO_HALF_OPERATORS -UCUDA_NO_HALF_CONVERSIONS -UCUDA_NO_HALF2_OPERATORS -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0 FAILED: /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/common_host.o /usr/local/cuda/bin/nvcc -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/tools/util/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/fmt/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/TH -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/robot/anaconda3/envs/h2mapping/include/python3.8 -c -c /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/common_host.cu -o /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/common_host.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -UCUDA_NO_HALF_OPERATORS -UCUDA_NO_HALF_CONVERSIONS -UCUDA_NO_HALF2_OPERATORS -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0 In file included from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/cpp_api.h:32:0, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/common_host.h:33, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/common_host.cu:31: /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/json/json.hpp:3954:14: fatal error: filesystem: 没有那个文件或目录

include

          ^~~~~~~~~~~~

compilation terminated. [7/8] /usr/local/cuda/bin/nvcc -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/tools/util/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/fmt/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/TH -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/robot/anaconda3/envs/h2mapping/include/python3.8 -c -c /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/cpp_api.cu -o /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/cpp_api.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -UCUDA_NO_HALF_OPERATORS -UCUDA_NO_HALF_CONVERSIONS -UCUDA_NO_HALF2_OPERATORS -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0 FAILED: /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/cpp_api.o /usr/local/cuda/bin/nvcc -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/tools/util/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/fmt/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/TH -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/robot/anaconda3/envs/h2mapping/include/python3.8 -c -c /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/cpp_api.cu -o /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/src/cpp_api.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -UCUDA_NO_HALF_OPERATORS -UCUDA_NO_HALF_CONVERSIONS -UCUDA_NO_HALF2_OPERATORS -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0 In file included from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/cpp_api.h:32:0, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include/tiny-cuda-nn/common_host.h:33, from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/src/cpp_api.cu:30: /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/json/json.hpp:3954:14: fatal error: filesystem: 没有那个文件或目录

include

          ^~~~~~~~~~~~

compilation terminated. [8/8] c++ -MMD -MF /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-38/tinycudann/bindings.o.d -pthread -B /home/robot/anaconda3/envs/h2mapping/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/tools/util/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/fmt/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/TH -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/robot/anaconda3/envs/h2mapping/include/python3.8 -c -c /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/tinycudann/bindings.cpp -o /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-38/tinycudann/bindings.o -std=c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0 FAILED: /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-38/tinycudann/bindings.o c++ -MMD -MF /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-38/tinycudann/bindings.o.d -pthread -B /home/robot/anaconda3/envs/h2mapping/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/cutlass/tools/util/include -I/home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/fmt/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/TH -I/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/robot/anaconda3/envs/h2mapping/include/python3.8 -c -c /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/tinycudann/bindings.cpp -o /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-38/tinycudann/bindings.o -std=c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/bindings/torch/tinycudann/bindings.cpp:44:0: /home/robot/slam/H2-Mapping/mapping/third_party/tiny-cuda-nn/dependencies/json/json.hpp:3954:14: fatal error: filesystem: 没有那个文件或目录

include

          ^~~~~~~~~~~~

compilation terminated. ninja: build stopped: subcommand failed. Traceback (most recent call last): File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2100, in _run_ninja_build subprocess.run( File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/subprocess.py", line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "setup.py", line 189, in setup( File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/init.py", line 103, in setup return distutils.core.setup(**attrs) File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/dist.py", line 989, in run_command super().run_command(command) File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/command/install.py", line 84, in run self.do_egg_install() File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/command/install.py", line 132, in do_egg_install self.run_command('bdist_egg') File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/dist.py", line 989, in run_command super().run_command(command) File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 167, in run cmd = self.call_command('install_lib', warn_dir=0) File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 153, in call_command self.run_command(cmdname) File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/dist.py", line 989, in run_command super().run_command(command) File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/command/install_lib.py", line 11, in run self.build() File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/_distutils/command/install_lib.py", line 111, in build self.run_command('build_ext') File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/dist.py", line 989, in run_command super().run_command(command) File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 88, in run _build_ext.run(self) File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run self.build_extensions() File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 873, in build_extensions build_ext.build_extensions(self) File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions self._build_extensions_serial() File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial self.build_extension(ext) File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 249, in build_extension _build_ext.build_extension(self, ext) File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension objects = self.compiler.compile( File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 686, in unix_wrap_ninja_compile _write_ninja_file_and_compile_objects( File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1774, in _write_ninja_file_and_compile_objects _run_ninja_build( File "/home/robot/anaconda3/envs/h2mapping/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2116, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension`

Kkkassini commented 3 months ago

Exactly the same issue. This is really piece of trash, as if nobody tests anything before pushing to this repo