text:
RuntimeError: Error compiling objects for extension

RuntimeError occurs when I install kaolin. I've tried to upgrade gcc and g++ version to 7.5.0 and 9.4.0, but it didn't work. How could I do to solve this problem? Thanks in advance!
My system info:
Ubuntu16.04
cuda 10.0
gcc 7.5.0/9.4.0/5.5.0 (all tried)
pytorch 1.5.0
Warning: passing language='c++' to cythonize() is deprecated. Instead, put "# distutils: language=c++" in your .pyx or .pxd file(s)
running develop
/root/miniconda3/envs/kaolin/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,
/root/miniconda3/envs/kaolin/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,
running egg_info
writing kaolin.egg-info/PKG-INFO
writing dependency_links to kaolin.egg-info/dependency_links.txt
writing requirements to kaolin.egg-info/requires.txt
writing top-level names to kaolin.egg-info/top_level.txt
reading manifest file 'kaolin.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'kaolin.egg-info/SOURCES.txt'
running build_ext
building 'kaolin.C' extension
Emitting ninja build file /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/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 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
In file included from /usr/local/cuda/include/cuda_runtime.h:83,
from :
/usr/local/cuda/include/crt/host_config.h:129:2: error: #error -- unsupported GNU version! gcc versions later than 7 are not supported!
129 | #error -- unsupported GNU version! gcc versions later than 7 are not supported!
|  ^~~~~
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.cu:21:10: fatal error: cub/device/device_scan.cuh: No such file or directory
21 | #include <cub/device/device_scan.cuh>
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[2/8] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/scan_octrees.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/scan_octrees.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/scan_octrees.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/scan_octrees.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/scan_octrees.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
In file included from /usr/local/cuda/include/cuda_runtime.h:83,
from :
/usr/local/cuda/include/crt/host_config.h:129:2: error: #error -- unsupported GNU version! gcc versions later than 7 are not supported!
129 | #error -- unsupported GNU version! gcc versions later than 7 are not supported!
|  ^~~~~
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/scan_octrees.cu:21:10: fatal error: cub/device/device_scan.cuh: No such file or directory
21 | #include <cub/device/device_scan.cuh>
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[3/8] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/point_utils_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/point_utils_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/point_utils_cuda.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/point_utils_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/point_utils_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
In file included from /usr/local/cuda/include/cuda_runtime.h:83,
from :
/usr/local/cuda/include/crt/host_config.h:129:2: error: #error -- unsupported GNU version! gcc versions later than 7 are not supported!
129 | #error -- unsupported GNU version! gcc versions later than 7 are not supported!
|  ^~~~~
In file included from /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/point_utils_cuda.cu:20:
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/../../spc_utils.cuh:23:10: fatal error: cub/device/device_scan.cuh: No such file or directory
23 | #include <cub/device/device_scan.cuh>
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[4/8] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/query_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/query_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/query_cuda.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/query_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/query_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
In file included from /usr/local/cuda/include/cuda_runtime.h:83,
from :
/usr/local/cuda/include/crt/host_config.h:129:2: error: #error -- unsupported GNU version! gcc versions later than 7 are not supported!
129 | #error -- unsupported GNU version! gcc versions later than 7 are not supported!
|  ^~~~~
In file included from /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/query_cuda.cu:20:
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/../../spc_utils.cuh:23:10: fatal error: cub/device/device_scan.cuh: No such file or directory
23 | #include <cub/device/device_scan.cuh>
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[5/8] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/convolution_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/convolution_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/convolution_cuda.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/convolution_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/convolution_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
In file included from /usr/local/cuda/include/cuda_runtime.h:83,
from :
/usr/local/cuda/include/crt/host_config.h:129:2: error: #error -- unsupported GNU version! gcc versions later than 7 are not supported!
129 | #error -- unsupported GNU version! gcc versions later than 7 are not supported!
|  ^~~~~
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/convolution_cuda.cu:24:10: fatal error: cub/device/device_scan.cuh: No such file or directory
24 | #include <cub/device/device_scan.cuh>
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[6/8] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
In file included from /usr/local/cuda/include/cuda_runtime.h:83,
from :
/usr/local/cuda/include/crt/host_config.h:129:2: error: #error -- unsupported GNU version! gcc versions later than 7 are not supported!
129 | #error -- unsupported GNU version! gcc versions later than 7 are not supported!
|  ^~~~~
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu:26:10: fatal error: cub/cub.cuh: No such file or directory
26 | #include <cub/cub.cuh>
|          ^~~~~~~~~~~~~
compilation terminated.
[7/8] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/generate_points.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/generate_points.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/generate_points.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/generate_points.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/generate_points.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
In file included from /usr/local/cuda/include/cuda_runtime.h:83,
from :
/usr/local/cuda/include/crt/host_config.h:129:2: error: #error -- unsupported GNU version! gcc versions later than 7 are not supported!
129 | #error -- unsupported GNU version! gcc versions later than 7 are not supported!
|  ^~~~~
In file included from /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/generate_points.cu:21:
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/../../spc_utils.cuh:23:10: fatal error: cub/device/device_scan.cuh: No such file or directory
23 | #include <cub/device/device_scan.cuh>
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[8/8] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/render/spc/raytrace_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/render/spc/raytrace_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/render/spc/raytrace_cuda.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/render/spc/raytrace_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/render/spc/raytrace_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
In file included from /usr/local/cuda/include/cuda_runtime.h:83,
from :
/usr/local/cuda/include/crt/host_config.h:129:2: error: #error -- unsupported GNU version! gcc versions later than 7 are not supported!
129 | #error -- unsupported GNU version! gcc versions later than 7 are not supported!
|  ^~~~~
/Project/sanren/3Drecon/kaolin/kaolin/csrc/render/spc/raytrace_cuda.cu:32:10: fatal error: cub/device/device_scan.cuh: No such file or directory
32 | #include <cub/device/device_scan.cuh>
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1400, in _run_ninja_build
check=True)
File "/root/miniconda3/envs/kaolin/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 301, in
'build_ext': BuildExtension.with_options(no_python_abi_suffix=True)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 580, in build_extensions
build_ext.build_extensions(self)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
_build_ext.build_ext.build_extensions(self)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 534, in build_extension
depends=ext.depends)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 423, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1140, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1413, in _run_ninja_build
raise RuntimeError(message)
RuntimeError: Error compiling objects for extension

When compling with gcc 5.5.0 the error log is:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.5.0-12ubuntu1~16.04' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.5.0 20171010 (Ubuntu 5.5.0-12ubuntu1~16.04)
(kaolin) root@a45fd25da460:/Project/sanren/3Drecon/kaolin# python setup.py develop
WARNING - Including default CUB_HOME (/Project/sanren/3Drecon/kaolin/third_party/cub).
Warning: passing language='c++' to cythonize() is deprecated. Instead, put "# distutils: language=c++" in your .pyx or .pxd file(s)
running develop
/root/miniconda3/envs/kaolin/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,
/root/miniconda3/envs/kaolin/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,
running egg_info
writing kaolin.egg-info/PKG-INFO
writing dependency_links to kaolin.egg-info/dependency_links.txt
writing requirements to kaolin.egg-info/requires.txt
writing top-level names to kaolin.egg-info/top_level.txt
reading manifest file 'kaolin.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'kaolin.egg-info/SOURCES.txt'
running build_ext
building 'kaolin.C' extension
Emitting ninja build file /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/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 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.cu:21:38: fatal error: cub/device/device_scan.cuh: No such file or directory
compilation terminated.
[2/8] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/scan_octrees.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/scan_octrees.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/scan_octrees.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/scan_octrees.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/scan_octrees.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/scan_octrees.cu:21:38: fatal error: cub/device/device_scan.cuh: No such file or directory
compilation terminated.
[3/8] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/query_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/query_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/query_cuda.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/query_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/query_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
In file included from /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/query_cuda.cu:20:0:
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/../../spc_utils.cuh:23:38: fatal error: cub/device/device_scan.cuh: No such file or directory
compilation terminated.
[4/8] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/convolution_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/convolution_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/convolution_cuda.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/convolution_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/convolution_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/convolution_cuda.cu:24:38: fatal error: cub/device/device_scan.cuh: No such file or directory
compilation terminated.
[5/8] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/generate_points.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/generate_points.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/generate_points.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/generate_points.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/generate_points.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
In file included from /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/generate_points.cu:21:0:
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/../../spc_utils.cuh:23:38: fatal error: cub/device/device_scan.cuh: No such file or directory
compilation terminated.
[6/8] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/point_utils_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/point_utils_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/point_utils_cuda.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/point_utils_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/spc/point_utils_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
In file included from /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/point_utils_cuda.cu:20:0:
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/spc/../../spc_utils.cuh:23:38: fatal error: cub/device/device_scan.cuh: No such file or directory
compilation terminated.
[7/8] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu:26:23: fatal error: cub/cub.cuh: No such file or directory
compilation terminated.
[8/8] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/render/spc/raytrace_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/render/spc/raytrace_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/render/spc/raytrace_cuda.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/render/spc/raytrace_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/render/spc/raytrace_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/Project/sanren/3Drecon/kaolin/kaolin/csrc/render/spc/raytrace_cuda.cu:32:38: fatal error: cub/device/device_scan.cuh: No such file or directory
compilation terminated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1400, in _run_ninja_build
check=True)
File "/root/miniconda3/envs/kaolin/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 301, in
'build_ext': BuildExtension.with_options(no_python_abi_suffix=True)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 580, in build_extensions
build_ext.build_extensions(self)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
_build_ext.build_ext.build_extensions(self)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 534, in build_extension
depends=ext.depends)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 423, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1140, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1413, in _run_ninja_build
raise RuntimeError(message)
RuntimeError: Error compiling objects for extension

I fixed this error by downloading [cub](https://nvlabs.github.io/cub/index.html) .
However, another error occured :
WARNING - Including default CUB_HOME (/Project/sanren/3Drecon/kaolin/third_party/cub).
Warning: passing language='c++' to cythonize() is deprecated. Instead, put "# distutils: language=c++" in your .pyx or .pxd file(s)
/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/distutils/dist.py:275: UserWarning: Unknown distribution option: 'CUB_HOME'
warnings.warn(msg)
running develop
/root/miniconda3/envs/kaolin/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,
/root/miniconda3/envs/kaolin/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,
running egg_info
writing kaolin.egg-info/PKG-INFO
writing dependency_links to kaolin.egg-info/dependency_links.txt
writing requirements to kaolin.egg-info/requires.txt
writing top-level names to kaolin.egg-info/top_level.txt
reading manifest file 'kaolin.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'kaolin.egg-info/SOURCES.txt'
running build_ext
building 'kaolin.C' extension
Emitting ninja build file /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/2] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/render/spc/raytrace_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/render/spc/raytrace_cuda.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/render/spc/raytrace_cuda.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/render/spc/raytrace_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/render/spc/raytrace_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/Project/sanren/3Drecon/kaolin/kaolin/csrc/render/spc/spc_render_utils.cuh(25): error: more than one instance of overloaded function "signbit" matches the argument list:
function "signbit(float)"
function "std::signbit(float)"
argument types are: (const float)
/Project/sanren/3Drecon/kaolin/kaolin/csrc/render/spc/spc_render_utils.cuh(26): error: more than one instance of overloaded function "signbit" matches the argument list:
function "signbit(float)"
function "std::signbit(float)"
argument types are: (const float)
/Project/sanren/3Drecon/kaolin/kaolin/csrc/render/spc/spc_render_utils.cuh(27): error: more than one instance of overloaded function "signbit" matches the argument list:
function "signbit(float)"
function "std::signbit(float)"
argument types are: (const float)
/Project/sanren/3Drecon/kaolin/kaolin/csrc/render/spc/raytrace_cuda.cu(487): warning: variable "osize" was declared but never referenced
3 errors detected in the compilation of "/tmp/tmpxft_00001ed7_00000000-6_raytrace_cuda.cpp1.ii".
[2/2] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/Project/sanren/3Drecon/kaolin/third_party/cub -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/TH -I/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/kaolin/include/python3.7m -c -c /Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu -o /Project/sanren/3Drecon/kaolin/build/temp.linux-x86_64-3.7/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.o -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu(660): error: more than one instance of overloaded function "log2" matches the argument list:
function "log2(double)"
function "log2(float)"
argument types are: (int)
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu(661): error: more than one instance of overloaded function "log2" matches the argument list:
function "log2(double)"
function "log2(float)"
argument types are: (int)
/Project/sanren/3Drecon/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu(662): error: more than one instance of overloaded function "log2" matches the argument list:
function "log2(double)"
function "log2(float)"
argument types are: (int)
3 errors detected in the compilation of "/tmp/tmpxft_00001ed4_00000000-6_unbatched_mcube_cuda.cpp1.ii".
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1400, in _run_ninja_build
check=True)
File "/root/miniconda3/envs/kaolin/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 303, in
'build_ext': BuildExtension.with_options(no_python_abi_suffix=True)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 580, in build_extensions
build_ext.build_extensions(self)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
_build_ext.build_ext.build_extensions(self)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 534, in build_extension
depends=ext.depends)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 423, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1140, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/root/miniconda3/envs/kaolin/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1413, in _run_ninja_build
raise RuntimeError(message)
RuntimeError: Error compiling objects for extension

I have fixed this error by changing gcc version from 5.5.0 to 7.5.0

repo: NVIDIAGameWorks/kaolin


text:
Remove fake image from converted gsplat camera

This line is unnecessary, remove fake image to avoid memory overhead:
https://github.com/NVIDIAGameWorks/kaolin/blob/master/kaolin/render/camera/gsplats.py#L58

E.g. constructor can work as follows:
    return GSCamera(colmap_id=0,
                    R=R, T=T, FoVx=fovx, FoVy=fovy,
                    image=torch.zeros((3, height, width)) if needs_fake_image else None,  # fake
                    data_device=device,
                    gt_alpha_mask=None, image_name='fake', uid=0,
                    width=width, height=height)

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
[Runtime Bug]: Game geometry begins to "deteriorate" over time when anti culling is enabled (Sonic Adventure DX 2004 CD)

Describe the bug
When anti culling enabled hub worlds, and levels have strange glitches and it gets worse over time, the images will explain better

How do you reproduce the bug?
Enable anti-culling
Spin the camera around for 10 seconds
What is the expected behavior?
Anti-culling should not do that
Version
0.5.1

Also, I dont know if this is something different, but anti-culling looks like this when the camera is turned away

Thank you for reaching out! We've filed REMIX-3134 for tracking.
Will you please attach a video of this process as it happens?

I'll work on that now

At the beginning, I'm showing the buggyness that happens when anti-culling is enabled and the game camera has turned away, then I enter a level and then exit, which "accelerates the deterioration" of the geometry, though it still does happen when just moving the camera around
https://youtu.be/voNuQ1PvHQk

repo: NVIDIAGameWorks/rtx-remix

license: MIT


text:
DSD-1155: Add requiredLabelText to Label and TextInput components

Fixes JIRA ticket xxx
This PR does the following:

Adds requiredLabelText prop to TextInput and Label Component
Adds tests for TextInput and Label
Updates the jest-test-results file

How has this been tested?

Accessibility concerns or updates

Checklist:

[x] I have updated the Storybook documentation accordingly.
[ ] I have added relevant accessibility documentation for this pull request.
[x] All new and existing tests passed.

Front End Review:

[ ] Review the Vercel preview deployment once it is ready.

@EdwinGuzman Will you handle the merge into the PR for the rc?  Sorry, I did not realize this was inrended for the 1.2.0 release.  I would have jumped right on this.

Yeah, I'll handle the merge.

source: gharchive/pull-request

authors: EdwinGuzman bigfishdesign13 isastettler

repo: NYPL/nypl-design-system


text:
Status Badge

Issue number: #322
This PR does the following:

Adds a Status Badge component as stories

The API for this (particularly if you check out the attached designs) is still a little crunchy—looks like the designs for this have grown organically over time. I've filed RENO-1644 to work with Kathy on cleaning that up. This will solve Location Finder's immediate needs.
Front End Review:

[ ] View the example in Storybook

It looks good, though it does make me wonder whether we want to separate out the "stories only" components with the actual "has React" components.   Not for this ticket, just yet another thing to start floating in the back of our heads ...

@hokei What do you think consumers would get out of organizing components to make that distinction more clear?

@scooooooooby This looks great to me. There is one UX change on location finder kathy requested we remove some of the padding and make the font smaller, so it looks like this now:

you can see this in action here, if you search for "Countee Cullen Library":
https://qa-scout.nypl.org/location-finder
I prefer what's in the DS now on this PR, but you might need to sync up w/ Kathy on the UX tweak?

@nypl-wluisi I actually think the better choice here is to match LF. I've opened up a ticket for not having the relevant Figma/Metronome documentation for this component yet here: https://jira.nypl.org/browse/RENO-1644

@hokei What do you think consumers would get out of organizing components to make that distinction more clear?

Hmmm I kind of assumed it would be useful for consumers to know what can be implemented with just DS CSS and what needs DS React code.  But ... maybe that wouldn't be that useful?

@hokei I think the most helpful thing is for the "Show Info" panel to be copypasta-able, imo—so long as they are, I don't think we need to expose the difference.

authors: hokei nypl-wluisi scooooooooby


text:
DSD-638: Fixing DatePicker tests

Fixes JIRA ticket DSD-638
This PR does the following:

It's December! And a DatePicker unit test broke! So this fixes the test that relied on dynamic "today's" date and places static values.
This also uncomments and fixes an older DatePicker unit test.

How has this been tested?

Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] All new and existing tests passed.

Front End Review:

[ ] View the example in Storybook

Tugboat has finished building the preview for this pull request!
Link:

https://pr785-jctsxcajxbfegdxoecwfvxvzvesklaqs.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/61a79ef90048b8200b78dba0


text:
DSD-759: Fixing Breadcrumbs issues

Fixes JIRA ticket DSD-759
This PR does the following:

Updates the Breadcrumbs aria-label to "Breadcrumbs". This should not be modified and having more than one <nav> element with the same aria-label is not correct. We can't prevent this from the DS but can only give the pattern for using it. https://www.w3.org/TR/wai-aria-practices/examples/breadcrumb/index.html
Updated a CSS pseudo-class that fails because of the Emotion package and how styled components are rendered on the server and client side.
Note, there server/client id not matching issue is not related to the component but just the app passing in ids to the correct components.

How has this been tested?
Locally and Storybook.
Accessibility concerns or updates

There should only be one <nav> HTML element with aria-label set to "Breadcrumbs". Since the DS Breadcrumbs component renders this landmark, only one should be rendered on the page.

Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] I have added relevant accessibility documentation for this pull request.
[ ] All new and existing tests passed.

Front End Review:

[ ] View the example in Storybook

Tugboat has finished building the preview for this pull request!
Link:

https://pr857-mpwklchmwpfjjm9xlykvvceprwn6tvb0.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/62017c92046a4b8d29aa95dd


text:
Fix everyone and here mention exploits

Shitty human beings exploiting the bot to mention here and everyone. Needs fixes.
Known occurences:

tag names

Make an overload for ctx.RespondAsync that escapes mentions when the user isn't trusted

No, not yet.

I will make a method ElevatedRespondAsync that does not sanitize input, and a method SafeRespondAsync that does (Same thing with SendMessage). Much like in Rust, er, the game Rust, usage should be explicitly declared. The regular methods should not be used in future.

Fixed by 6ba1c37914c92f4e5545c646a64ce1d1be802068

authors: NaamloosDT uwx

repo: NaamloosDT/ModCore

license: mit

license_source: bigquery


text:
ATTN: Status of this seed

Everyone who comes upon this seed please read this first:
This seed was originally developed for the following reasons:

To enhance Minko Gechev's angular-seed with more feature support out of the box
Provide a proof of concept to how flexible Minko Gechev's seed actually is
Push the boundaries for what is possible in a monorepo to handle a full shared codebase between Web and Native mobile iOS/Android and Desktop
Provide ideas and open up a conversation around the type of multi-platform development made possible by all 3 very exciting technologies: Angular and NativeScript and Electron

The parent angular-seed is built off SystemJS. At the time of it's first conception a lot was evolving in modern JavaScript development. Most importantly angular-cli has come to fruition over this time period as well as the amazing progressions of webpack as a build tool.
This seed will always attempt to mirror all the latest changes from Minko's seed which is rooted in SystemJS which will always make this seed rooted in SystemJS for at least the web build side of things at the moment.
Free free to use the seed if it suits your needs and/or improve upon it in ways you believe should be. I continue to monitor pull requests however have not been able to respond to issues lately. At the moment I plan to take some time in late Fall 2017 to bring a number of things up to date with this seed with latest versions of Angular/NativeScript/Electron and apologize to anyone who relies on this seed for more support as I have been busy on other things.
In meantime, I would encourage those who come upon this seed to evaluate several things:

Give it a try, if it works for your case, you are welcome!
If you find ways to improve it, please consider contributing back 👍
Explore this option: https://github.com/TeamMaestro/angular-native-seed
Continue exploring to find what works well for your project goals.

❤

Wonderful! Thank you for the great work.
Soon I'll be reaching you out to discuss some improvements I've made on modularization and theming, which I'm using (and reusing) with success on my projects.
-- luiz

Can we use the seed in production environment? Is there a list of known issues? Is it being updated Regularly?

authors: NathanWalker psmontte zertyz

repo: NathanWalker/angular-seed-advanced


text:
Chore - Update ng2-translate dependency to v2.2.2

Update ng2-translate dependency to v2.2.2 for Angular2 RC3

@lfarran I believe there's an issue with latest 2.2.2: https://github.com/ocombe/ng2-translate/issues/61#issuecomment-228141939

Language switch issues are delaying #133 from being finished. I documented a really hacky way of resolving the language change issue in https://github.com/NathanWalker/angular2-seed-advanced/commit/dd71513e38fff7f4f184332213777524298c0eff#commitcomment-18017890
Call translate.use(lang) twice per language switch.

I'll have a look at 2.2.2 this week and try to figure out what's going on.

This is on master now... dep update came along with several others.

The 2.2.2 ng2-translate does still experience the initial switch issue where no change detection is fired. After navigating route it fires CD and view is updated with language change. Will investigate with ng2-translate itself. Since that issue was also experienced with 2.1, I went ahead and updated to 2.2.2.

this worked for me in in multilingual.service.ts constructor:
    store.select('i18n').subscribe((state: MultilingualStateI) => {
      // update ng2-translate which will cause translations to occur wherever the TranslatePipe is used in the view
      if (this.translate.getLangs() && (this.translate.getLangs().indexOf(state.lang) > -1)) {
        this.translate.use(state.lang);
      } else {
        this.translate.reloadLang(state.lang).take(1).subscribe(() => {
          setTimeout(() => this.translate.use(state.lang), 0);
        });
      }
    });

Credit to:
http://stackoverflow.com/questions/38272388/ng2-translate-translation-strings-not-updating-in-components-with-onpush-chang

Thank you @friksa just pushed your workaround to master. Solid way to handle for now. 👍

just an FYI... this code:
store.select('i18n').subscribe((state: MultilingualStateI) => {
  // update ng2-translate which will cause translations to occur wherever the TranslatePipe is used in the view
  if (this.translate.getLangs() && (this.translate.getLangs().indexOf(state.lang) > -1)) {
    this.translate.use(state.lang);
  } else {
    this.translate.reloadLang(state.lang).take(1).subscribe(() => {
      setTimeout(() => this.translate.use(state.lang), 0);
    });
  }
});

... fails when compiling via npm 5.12.0 x64 and emulating via your gulp task for "start android / start.livesync.android"
I'm researching how this might be fixed.  It doesn't appear to like the rxjs take method... not sure yet if that's being caused by the language files not being copied to the device properly, or whether it's some problem with the usage of the method itself.

authors: NathanWalker forktheweb friksa hellofornow lfarran


text:
Setting a default function name within a namespace deletes the function name

Describe the bug
Editing the label through the listing to set a namespace to a function removes the function name.
To Reproduce
Steps to reproduce the behavior:

Go to a function label
stick a namespace and :: before the function name
See error

Expected behavior
The function to keep its name and be added to the specified namespace.
Screenshots
Before:

Changing Name:

After Change:

Environment (please complete the following information):

OS: Microsoft Windows [Version 10.0.18362.418]
Java Version: 13.0.1
Ghidra Version: 9.2

I have not seen that before.   My guess is that we don't allow you to name a function using the default  function name pattern.   Further, once the name is removed from the string, it no longer looks like a namespace/name combination, so it just takes what is given as the name.
We should update the dialog to prevent this behavior, prompting the user as needed.

I have not seen that before. My guess is that we don't allow you to name a function using the default function name pattern. Further, once the name is removed from the string, it no longer looks like a namespace/name combination, so it just takes what is given as the name.
We should update the dialog to prevent this behavior, prompting the user as needed.

This always worked prior to 9.2. I have always set the namespace this way.

Ok to make things less confusing I'm creating another comment.
@dragonmacher I found that if you take an existing function that is not a default name and is within a namespace and then rename the function to its default function name, the function name gets deleted.
Before:

Changing name to default:

After change:

I see.  Sounds like a regression then.
Thanks for the info.

I just tried this and it works as expected.   Is this still broken for you?

I just tried this and it works as expected. Is this still broken for you?

It appears to have been resolved by a recent commit. Thank you!

authors: astrelsky dragonmacher

repo: NationalSecurityAgency/ghidra


text:
Issues with running Ghidra tests in CI

I setup mirror for the Ghidra, and currently able build Ghidra on Linux and Mac, on public CI.
But when I add unit tests and even worse integration tests, I have an problem with running tests in CI environment. I completely understand that this may be not your concern, but maybe you have some advice based on your existing experience with running CI for Ghidra.
Let's start with running gradlew unitTestReport
Here the error messages which generated on Linux
java.lang.IllegalArgumentException: java.net.MalformedURLException: unknown protocol: ghidra
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XToolkit
java.lang.NoClassDefFoundError: Could not initialize class docking.widgets.table.constrainteditor.EnumConstraintEditor
java.lang.NoClassDefFoundError: Could not initialize class docking.widgets.table.constrainteditor.UnsignedLongRangeConstraintEditor
java.lang.NoClassDefFoundError: Could not initialize class docking.widgets.table.constrainteditor.DoubleValueConstraintEditor
java.lang.NoClassDefFoundError: Could not initialize class docking.widgets.table.constrainteditor.DateRangeConstraintEditor
java.lang.NoClassDefFoundError: Could not initialize class docking.widgets.table.constrainteditor.IntegerRangeConstraintEditor
java.lang.NoClassDefFoundError: Could not initialize class docking.widgets.EmptyBorderButton
java.lang.NoClassDefFoundError: Could not initialize class javax.swing.RepaintManager
java.lang.NoClassDefFoundError: Could not initialize class docking.DockingUtils
java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE
java.awt.AWTError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

java.lang.AssertionError: Failed to parse expected composite (see log)

All except latest one clearly from inability to see X11 server in CI environment. Last one not clear for me since I have to debug that, or at least take a look (not have time yet).
What I want to have right now is ability to run tests which does not involved in the UI part. So here my quuestions:

How can I run unit tests without running test which involved in UI. I attempt to run gradew unitTestReport -Djava.awt.headless=true and try to play with many other different combinations without luck. But funny things I found that you have that: https://github.com/NationalSecurityAgency/ghidra/blob/master/gradle/javaTestProject.gradle#L150 ,
Is it possible to make java.awt.headless=false switch configurable somehow? Preferable in a way which easy to change in CI environment?
If I annotate tests which are require to use X11 with some category will this change be accepted by Ghidra? There ~450 tests failing due X11 dependency now. I promise to update documentation to reflect that this is possible, or do any similar activity if this is required to make that happens.
How can I run unit tests just for single project in Ghidra? I assume gradlew unitTestReport -PDB  but I it runs tests for Base and other projects, which PDB depends on. This is defeats purpose running tests for single project. This allow me to run less tests in one build. Public build has a limit of 1 hour, but I want to run integration tests as well and they do not fit in that time limit when I simply run gradlew integrationTestReport

These build errors prevent me from at least partial validation of the status of my fork.
Link to build with errors, in case sombody interested: https://codevision.visualstudio.com/Ghidra/_build/results?buildId=10106&view=ms.vss-test-web.build-test-results-tab
In case if somebody super-interested here link to build definition: https://github.com/kant2002/ghidra-official/blob/dev/.azure/build.yaml

Have you tried using a virtual framebuffer such as Xvfb?
You would do something like this:
Xvfb :99 &
export DISPLAY=:99

Yes, Xvfb is what we use.

This is an example of how you can run a single test using gradle (running from the repo root directory):
gradle  :Docking:test --tests TaskDialogTest  -x sleighCompile -x buildHelp
'TaskDialogTest' is the test name to be run in this example
'Docking' is the module name.
'test' signals a unit test; 'integrationTest' would signal an integration test.  Unit tests live under '/src/test'; integration tests live under '/src/test.slow'
The '-x' options are to tell our current build system to ignore those items that are known to be slow and are not necessarily needed for any given particular test.

We do have other scripts we use to run our full test suite.   For reasons that are unclear to me at the moment, these are not included in this repository.

Regarding the X11 annotation comment, this should not be needed.   Ultimately, our test harness is designed such that the developer only needs to extend the correct type of abstract test.   After that, the test harness understands how to configure the environment and run the tests.   For this to work correctly, we rely on the aforementioned test setup scripts.

Thanks to all of you guys. It really helps me move forward. I still have issues with Xvfb, but for now I suspect that this is more related to Azure Dev Ops.
@devnoname120  when I run Xvfb :99 &
I strangely have following error during build.
> Failed to create MD5 hash for file '/home/vsts/work/1/ghidra.bin/Ghidra/Features/GhidraServer/yajsw-stable-12.12.zip' as it does not exist.

Not sure why ghidra.bin appears in the path. If something is ticking for any of you, I would appreciate help.
@dragonmacher Command line for running tasks for separate projects would be enough for me to play with for now.

Now I have 7 failed tests:
2 tests
testFullyZoomedOutOption
testFullyZoomedOutOption

failed at the
at ghidra.app.plugin.core.functiongraph.AbstractFunctionGraphTest.assertZoomedIn(AbstractFunctionGraphTest.java:2170)

Which corresponding to the following code
	Rectangle cursorBounds = v.getCursorBounds();
	Window graphWindow = windowForComponent(getPrimaryGraphViewer());
	Rectangle windowBounds = graphWindow.getBounds();
->>	assertTrue(windowBounds.contains(cursorBounds));

This is somehow UI related I suppose.
Another 5 tests
testSimpleUnion
testComplexStructureWithBitFields
testSimpleStructureWithBitFields
testComplexStructureWithBitFields2
testMoreComplicatedStructure

failed with message Failed to parse expected composite (see log) and in the logs there indication that somehow structures different.
For example
14:08:52 ERROR Expected and result differ: expected line 5, column 20   (CompositeTestUtils.java:69)
14:08:52 ERROR Expected composite:
   /union
    Aligned
    Union union {
        0   uchar   1   a   ""
        0   union_s_1   1   _s_1   ""
        0   union_s_2   1   _s_2   ""
        0   ushort   2   f   ""
     }
     Size = 2   Actual Alignment = 2
     /union/union_s_1
     Aligned
     Structure union_s_1 {
        0   uchar:4(0)   1   b   ""
        0   uchar:4(4)   1   c   ""
     }
     Size = 1   Actual Alignment = 1
     /union/union_s_2
     Aligned
     Structure union_s_2 {
        0   uchar:4(0)   1   d   ""
        0   uchar:4(4)   1   e   ""
     }
     Size = 1   Actual Alignment = 1   (CompositeTestUtils.java:79)
     14:08:52 ERROR Result composite:
     /union
     Aligned
     Union union {
        0   uchar   1   a   ""
        0   union_s_1   2   _s_1   ""
        0   union_s_2   2   _s_2   ""
        0   ushort   2   f   ""
     }
     Size = 2   Actual Alignment = 2
     /union/union_s_1
     Unaligned
     Structure union_s_1 {
        0   uchar:4(0)   1   c   ""
        1   uchar:4(0)   1   b   ""
     }
     Size = 2   Actual Alignment = 1
     /union/union_s_2
     Unaligned
     Structure union_s_2 {
        0   uchar:4(0)   1   e   ""
        1   uchar:4(0)   1   d   ""
     }
     Size = 2   Actual Alignment = 1   (CompositeTestUtils.java:80)
14:08:52 DEBUG 	âœ– FAILED Test: CompositeMemberTest - testSimpleUnion âœ–	   (AbstractGenericTest.java:113)

CompositeMemberTest tests are currently passing in master.  Are you using the latest?

I update yesterday, and now 10 commits behind master, but I see these tests failing and earlier. I assume that this maybe something missing in my CI setup.

Now, I would say that only testFullyZoomedOutOption does not working. Other tests are working fine.

Some of our tests aren't written quite correctly, and are susceptible to time-related failures.  We fix these as we find them.   testFullyZoomedOutOption is probably one of these.

thanks for information. I will keep an eye on it. but for now, I think this issue can be closed. At least I have better understanding. @ryanmkurtz if you can take a look at #832 where I made attempt to capture small tips which you give to me in the docs.

K I'll take a look, thanks.


text:
SBG fails when 'nativescript' property in package.json is not an object

Currently, the SBG fails with a ClassCastException if there is a nativescript property in some package.json and it's a String. We expect this property to be an object and crash when parsing it. An instanceof check should be performed before casting.
Crashing scenario package.json:
{   "nativescript": "randomtext" }
Expected behavior is not to crash and ignore the property.

https://github.com/NativeScript/android-runtime/pull/1407

repo: NativeScript/android-runtime


text:
Missing crash dialog on TNS 1.7.0

From @NathanaelA on March 19, 2016 5:15
Please, provide the details below:
When an application crashes on Android; it appears to freeze rather than "navigate" to the error screen and show the callback.
Did you verify this is a real problem by searching?
Yes, and verified with a couple other people on the Slack
Tell us about the problem
Missing Error screen and freezing app; I suspect they are related -- i.e. it is freezing when attempting to navigate.
Which platform(s) does your issue occur on?
Android
Please provide the following version numbers that your issue occurs with:
1.7 CLI
1.7 & Master (3/18) Runtime
1.7 Common modules
Please tell us how to recreate the issue in as much detail as possible.

tns create testApp
Edit main-screen and add anywhere to the pageLoaded  "crashme();"  or edit the tap handler in the main-view-model() and add the crashme();  (i.e. a missing function call);
Start or click the app button.
See error in console, but app freezes and (might give a ANR dialog if you wait)

Copied from original issue: NativeScript/NativeScript#1804

From @ngydat on March 21, 2016 10:21
I kinda have the same issue. Before updating to {N} 1.7 my app was running fine but now whenever I type "tns livesync android" or "tns run android" I get a white screen and a few seconds later, I get this message "MyApp is not responding" and I have 2 buttons : "Wait" and "Close"

From @dtopuzov on March 21, 2016 7:57
If you build/run release configuration it is expected. This dialog is available only when you build/run in debug configuration.
Please let us know if dialog is missing in debug.

I also noticed this, i do not see the crash dialog anymore since 1.7.0. Only the console shows the error (in json format)

We changed things so if you have a debugger attached it will not show the error dialog. We will investigate if this is working correctly?
Is this happening with debugger attached or is happening all the time even when app is run without a debugger?

@blagoev - No debugger used.. The app is just ran "tns run android --emulator --geny ...."

10x. that's most probably a bug, will come back with more info.

Not sure if this is linked
But I've got a weird bug where page navigation isn't working from one page unless I run in debug. No error screen displayed and no console out put, It just freezes up and eventually I get app Isn't responding error

I've just tested my issue on the iOS emulator and I don't experience the same problem - but running in Genymotion on two machine I get the same problem

OK - looks like my navigation issue was caused by a debugger statement - removed it and the code works fine. Looks like same issue @NathanaelA Was experiencing

this is fixed with this commit https://github.com/NativeScript/android-runtime/commit/f1112c46222d72c3431d4a0b87e628449fea31d6
expect it to be part of the 1.7.1 release

authors: BenElliottBV GerjanOnline NathanaelA blagoev enchev


text:
Can't Change CSS Classes From _app-common.scss

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
"dependencies": {
"@angular/animations": "~8.2.0",
"@angular/common": "~8.2.0",
"@angular/compiler": "~8.2.0",
"@angular/core": "~8.2.0",
"@angular/forms": "~8.2.0",
"@angular/platform-browser": "~8.2.0",
"@angular/platform-browser-dynamic": "~8.2.0",
"@angular/router": "~8.2.0",
"@nativescript/theme": "~2.3.0",
"nativescript-angular": "~8.21.0",
"nativescript-ui-sidedrawer": "~8.0.0",
"reflect-metadata": "~0.1.12",
"rxjs": "^6.4.0",
"tns-core-modules": "~6.5.0",
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular/compiler-cli": "~8.2.0",
"@nativescript/schematics": "^9.0.0",
"@ngtools/webpack": "~8.2.0",
"codelyzer": "~4.5.0",
"nativescript-angular-cli": "^0.1.9",
"nativescript-dev-webpack": "~1.5.0",
"node-sass": "^4.7.1",
"tslint": "~5.19.0",
"typescript": "~3.5.3"
},
When I create a scss file for a component and specify in the @Component styleUrls property I can use my own custom classes.
I was expecting _app-common.scss to be a place for me to define custom css classes that are used anywhere, but the classes are not applied when I try to use them in components...
Is there some other step that needs to be done before using the classes? Is _app-common.scss really the correct palce for me to be defining global styles?
Thanks!

can you share the code with us

repo: NativeScript/nativescript-angular


text:
Custom Modal Dialogs broken in 1.0.0

I upgraded to 1.0.0 and the custom modal dialogs no longer work. I get the error: JS: EXCEPTION: No component factory found for ModalContent.
Code to reproduce:
// this import should be first in order to load some required settings (like globals and reflect-metadata)
import { platformNativeScriptDynamic, NativeScriptModule } from "nativescript-angular/platform";
import { NgModule, Component, Input } from "@angular/core";
import {ModalDialogService, ModalDialogOptions, ModalDialogHost} from "nativescript-angular/directives/dialogs";

@Component({
    selector: "my-app",
    template: `
        <StackLayout modal-dialog-host>

            <Button text="MODAL" (tap)="showModal()"></Button>

        </StackLayout>
    `,
    providers: [ModalDialogService]
})
export class AppComponent {

    message: string;

    constructor(private modal: ModalDialogService) {
    }

    public showModal(fullscreen: boolean) {
        var options: ModalDialogOptions = {
            context: { promptMsg: "This is the prompt message!" },
            fullscreen: fullscreen
        };

        this.modal.showModal(ModalContent, options).then((res: string) => {
            this.message = res || "empty result";
        })
    }
}

import {ModalDialogParams} from "nativescript-angular/directives/dialogs";

@Component({
    selector: 'modal-content',
    template: `
    <StackLayout margin="24" horizontalAlignment="center" verticalAlignment="center">

        <StackLayout orientation="horizontal" marginTop="12">
            <Button text="ok" (tap)="close('OK')"></Button>
            <Button text="cancel" (tap)="close('Cancel')"></Button>
        </StackLayout>
    </StackLayout>
    `
})
export class ModalContent {
    @Input() public prompt: string;
    constructor(private params: ModalDialogParams) {
        console.log("ModalContent.constructor: " + JSON.stringify(params))
        this.prompt = params.context.promptMsg;
    }

    public close(res: string) {
        this.params.closeCallback(res);
    }

    ngOnInit() {
        console.log("ModalContent.ngOnInit");

    }

    ngOnDestroy() {
        console.log("ModalContent.ngOnDestroy");
    }
}

@NgModule({
    declarations: [AppComponent],
    bootstrap: [AppComponent],
    imports: [NativeScriptModule],
    providers: [ModalDialogService]
})
class AppComponentModule {}

platformNativeScriptDynamic().bootstrapModule(AppComponentModule);

Simply type tns create modal-test --ng then replace app/main.ts with the code above then run. (I've tested only on Android.)
Here's the full stack trace:
JS: EXCEPTION: No component factory found for ModalContent
JS: ORIGINAL STACKTRACE:
JS: Error: No component factory found for ModalContent
JS:     at NoComponentFactoryError.Error (native)
JS:     at NoComponentFactoryError.BaseError [as constructor] (/data/data/org.nativescript.helloworldng/files/app/
tns_modules/@angular/core/bundles/core.umd.js:1255:38)
JS:     at new NoComponentFactoryError (/data/data/org.nativescript.helloworldng/files/app/tns_modules/@angular/co
re/bundles/core.umd.js:6053:20)
JS:     at _NullComponentFactoryResolver.resolveComponentFactory (/data/data/org.nativescript.helloworldng/files/a
pp/tns_modules/@angular/core/bundles/core.umd.js:6062:19)
JS:     at NgModuleInjector.CodegenComponentFactoryResolver.resolveComponentFactory (/data/data/org.nativescript.h
elloworldng/files/app/tns_modules/@angular/core/bundles/core.umd.js:6087:39)
JS:     at DetachedLoader.loadInLocation (/data/data/org.nativescript.helloworldng/files/app/tns_modules/nativescr
ipt-angular/common/detached-loader.js:18:37)
JS:     at DetachedLoader.loadComponent (/data/data/org.nativescript.helloworldng/files/app/tns_modules/nativescri
pt-angular/common/detached-loader.js:30:21)
JS:     at ModalDialogService.showDialog (/data/data/org.nativescript.helloworldng/files/app/tns_modules/nativescr
ipt-angular/directives/dialogs.js:51:36)
JS:     at /data/data/org.nativescript.helloworldng/files/app/tns_modules/nativescript-angular/directives/dialogs.
js:27:51
JS:     at ZoneDelegate.invokeTask (/data/data/org.nativescript.helloworldng/files/app/tns_modules/nativescript-an
gular/zone.js/dist/zone-nativescript.js:223:37)

Hi @colinskow,
Thank you for sharing your example code.
I reviewed the example and found that you have missed to add  ModalContent in the declarations and in the entryComponents.  You could review the code bellow:
@NgModule({
    declarations: [AppComponent, ModalContent],
    bootstrap: [AppComponent],
    imports: [NativeScriptModule],
    providers: [ModalDialogService],
    entryComponents: [ModalContent]
})

For further help you could also review the sample project in this GitHub repo.

@tsonevn thank you for your quick response. I will test out these declarations to ensure they resolve the issue.
Meanwhile, you should update the documentation since it does not specify how to configure the NgModule.

@tsonevn that fix does indeed work. Thank you very much. I changed the title of the issue because this simply needs to be documented as most developers who are not Angular 2 experts will likely have trouble.

authors: colinskow tsonevn