JonathonLuiten / diff-gaussian-rasterization-w-depth

Other
161 stars 25 forks source link

Missing GLM when installing the folder #2

Open kafkaphoenix opened 9 months ago

kafkaphoenix commented 9 months ago
running install
...
running build_py
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
***/DynamicGaussian/.venv/lib/python3.9/site-packages/torch/utils/cpp_extension.py:820: UserWarning: There are no x86_64-linux-gnu-g++ version bounds defined for CUDA version 11.6
  warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
building 'diff_gaussian_rasterization._C' extension
/usr/local/cuda/bin/nvcc -I/***/DynamicGaussian/.venv/lib/python3.9/site-packages/torch/include -I/***/DynamicGaussian/.venv/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/***/DynamicGaussian/.venv/lib/python3.9/site-packages/torch/include/TH -I/***/DynamicGaussian/.venv/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/***/DynamicGaussian/.venv/include -I/usr/include/python3.9 -c cuda_rasterizer/backward.cu -o build/temp.linux-x86_64-cpython-39/cuda_rasterizer/backward.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -I/***/DynamicGaussian/diff-gaussian-rasterization/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
In file included from cuda_rasterizer/backward.cu:12:0:
cuda_rasterizer/backward.h:19:10: fatal error: glm/glm.hpp: No such file or directory
 #include <glm/glm.hpp>
          ^~~~~~~~~~~~~
compilation terminated.
error: command '/usr/local/cuda/bin/nvcc' failed with exit code 1
myc634 commented 6 months ago

run sudo apt-get install libglm-dev might help