You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [107 lines of output]
running develop
running egg_info
writing fairnr.egg-info/PKG-INFO
writing dependency_links to fairnr.egg-info/dependency_links.txt
writing entry points to fairnr.egg-info/entry_points.txt
writing top-level names to fairnr.egg-info/top_level.txt
reading manifest file 'fairnr.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'fairnr.egg-info/SOURCES.txt'
running build_ext
building 'fairnr.clib._ext' extension
Emitting ninja build file /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
[1/4] c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/intersect.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect.o
c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/intersect.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/home/yue/code/RGBDNeRF/fairnr/clib/src/intersect.cpp:6:10: fatal error: intersect.h: No such file or directory
6 | #include "intersect.h"
| ^~~~~~~~~~~~~
compilation terminated.
[2/4] c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/octree.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/octree.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/octree.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/octree.o
c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/octree.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/octree.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/octree.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/home/yue/code/RGBDNeRF/fairnr/clib/src/octree.cpp:6:10: fatal error: octree.h: No such file or directory
6 | #include "octree.h"
| ^~~~~~~~~~
compilation terminated.
[3/4] c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/binding.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/binding.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/binding.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/binding.o
c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/binding.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/binding.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/binding.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/home/yue/code/RGBDNeRF/fairnr/clib/src/binding.cpp:6:10: fatal error: intersect.h: No such file or directory
6 | #include "intersect.h"
| ^~~~~~~~~~~~~
compilation terminated.
[4/4] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect_gpu.o.d -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/intersect_gpu.cu -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect_gpu.o
/usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect_gpu.o.d -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/intersect_gpu.cu -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -std=c++14
/home/yue/code/RGBDNeRF/fairnr/clib/src/intersect_gpu.cu:11:10: fatal error: cuda_utils.h: No such file or directory
11 | #include "cuda_utils.h"
| ^~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1673, in _run_ninja_build
env=env)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
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 "<string>", line 36, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/home/yue/code/RGBDNeRF/setup.py", line 31, in <module>
'fairnr-train = fairseq_cli.train:cli_main'
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/dist.py", line 1208, in run_command
super().run_command(command)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/dist.py", line 1208, in run_command
super().run_command(command)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
self.build_extensions()
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 708, in build_extensions
build_ext.build_extensions(self)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 468, in build_extensions
self._build_extensions_serial()
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 494, in _build_extensions_serial
self.build_extension(ext)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 246, in build_extension
_build_ext.build_extension(self, ext)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 556, in build_extension
depends=ext.depends,
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 538, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1359, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1683, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [107 lines of output]
running develop
running egg_info
writing fairnr.egg-info/PKG-INFO
writing dependency_links to fairnr.egg-info/dependency_links.txt
writing entry points to fairnr.egg-info/entry_points.txt
writing top-level names to fairnr.egg-info/top_level.txt
reading manifest file 'fairnr.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'fairnr.egg-info/SOURCES.txt'
running build_ext
building 'fairnr.clib._ext' extension
Emitting ninja build file /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
[1/4] c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/intersect.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect.o
c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/intersect.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/home/yue/code/RGBDNeRF/fairnr/clib/src/intersect.cpp:6:10: fatal error: intersect.h: No such file or directory
6 | #include "intersect.h"
| ^~~~~~~~~~~~~
compilation terminated.
[2/4] c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/octree.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/octree.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/octree.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/octree.o
c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/octree.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/octree.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/octree.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/home/yue/code/RGBDNeRF/fairnr/clib/src/octree.cpp:6:10: fatal error: octree.h: No such file or directory
6 | #include "octree.h"
| ^~~~~~~~~~
compilation terminated.
[3/4] c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/binding.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/binding.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/binding.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/binding.o
c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/binding.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/binding.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/binding.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/home/yue/code/RGBDNeRF/fairnr/clib/src/binding.cpp:6:10: fatal error: intersect.h: No such file or directory
6 | #include "intersect.h"
| ^~~~~~~~~~~~~
compilation terminated.
[4/4] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect_gpu.o.d -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/intersect_gpu.cu -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_BFLOAT16_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect_gpu.o
/usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect_gpu.o.d -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/intersect_gpu.cu -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_BFLOAT16_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -std=c++14
/home/yue/code/RGBDNeRF/fairnr/clib/src/intersect_gpu.cu:11:10: fatal error: cuda_utils.h: No such file or directory
11 | #include "cuda_utils.h"
| ^~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1673, in _run_ninja_build
env=env)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
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 "<string>", line 36, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/home/yue/code/RGBDNeRF/setup.py", line 31, in <module>
'fairnr-train = fairseq_cli.train:cli_main'
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/dist.py", line 1208, in run_command
super().run_command(command)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/dist.py", line 1208, in run_command
super().run_command(command)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
self.build_extensions()
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 708, in build_extensions
build_ext.build_extensions(self)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 468, in build_extensions
self._build_extensions_serial()
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 494, in _build_extensions_serial
self.build_extension(ext)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 246, in build_extension
_build_ext.build_extension(self, ext)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 556, in build_extension
depends=ext.depends,
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 538, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1359, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1683, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
The text was updated successfully, but these errors were encountered:
$ pip install --editable ./
Obtaining file:///home/yue/code/RGBDNeRF
Preparing metadata (setup.py) ... done
Installing collected packages: fairnr
Running setup.py develop for fairnr
error: subprocess-exited-with-error
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [107 lines of output]
running develop
running egg_info
writing fairnr.egg-info/PKG-INFO
writing dependency_links to fairnr.egg-info/dependency_links.txt
writing entry points to fairnr.egg-info/entry_points.txt
writing top-level names to fairnr.egg-info/top_level.txt
reading manifest file 'fairnr.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'fairnr.egg-info/SOURCES.txt'
running build_ext
building 'fairnr.clib._ext' extension
Emitting ninja build file /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
[1/4] c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/intersect.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect.o
c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/intersect.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/home/yue/code/RGBDNeRF/fairnr/clib/src/intersect.cpp:6:10: fatal error: intersect.h: No such file or directory
6 | #include "intersect.h"
| ^~~~~~~~~~~~~
compilation terminated.
[2/4] c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/octree.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/octree.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/octree.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/octree.o
c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/octree.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/octree.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/octree.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/home/yue/code/RGBDNeRF/fairnr/clib/src/octree.cpp:6:10: fatal error: octree.h: No such file or directory
6 | #include "octree.h"
| ^~~~~~~~~~
compilation terminated.
[3/4] c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/binding.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/binding.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/binding.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/binding.o
c++ -MMD -MF /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/binding.o.d -pthread -B /home/yue/anaconda3/envs/nerf/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/binding.cpp -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/binding.o -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/home/yue/code/RGBDNeRF/fairnr/clib/src/binding.cpp:6:10: fatal error: intersect.h: No such file or directory
6 | #include "intersect.h"
| ^~~~~~~~~~~~~
compilation terminated.
[4/4] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect_gpu.o.d -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/intersect_gpu.cu -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_BFLOAT16_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect_gpu.o
/usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect_gpu.o.d -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/TH -I/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yue/anaconda3/envs/nerf/include/python3.7m -c -c /home/yue/code/RGBDNeRF/fairnr/clib/src/intersect_gpu.cu -o /home/yue/code/RGBDNeRF/build/temp.linux-x86_64-cpython-37/fairnr/clib/src/intersect_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_BFLOAT16_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O2 -Ifairnr/clib/include -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -std=c++14
/home/yue/code/RGBDNeRF/fairnr/clib/src/intersect_gpu.cu:11:10: fatal error: cuda_utils.h: No such file or directory
11 | #include "cuda_utils.h"
| ^~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1673, in _run_ninja_build
env=env)
File "/home/yue/anaconda3/envs/nerf/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
note: This error originates from a subprocess, and is likely not a problem with pip.
The text was updated successfully, but these errors were encountered: