Open 7yzx opened 1 month ago
It looks like all of these are warnings, can you show the very end of the message where the error is?
The same problem is encountered,have you solved it?
Same problem. Have you resolved it yet?
No, I used windows10 and 1080ti encounter this error, but I used ubuntu22 and 1080ti ,it told me the gpu cannot compile this, maybe the gpu version is old and can’t do this. 4090ti is ok
------------------ Original ------------------ From: luh-j @.> Date: Sun,Sep 15,2024 9:14 AM To: nerfstudio-project/gsplat @.> Cc: YeZixiao @.>, Author @.> Subject: Re: [nerfstudio-project/gsplat] Long errors install gsplat (Issue#307)
I'm on ubuntu 22.04 and a5000 and it throws the same error. But I do notice that
In file included from /mnt/data1/home/xsun90/gsplat/gsplat/cuda_legacy/csrc/bindings.cu:4:
/mnt/data1/home/xsun90/gsplat/gsplat/cuda_legacy/csrc/helpers.cuh:2:10: fatal error: glm/glm.hpp: No such file or directory
2 | #include <glm/glm.hpp>
| ^~~~~~~~~~~~~
compilation terminated.
[4/4] c++ -MMD -MF /mnt/data1/home/xsun90/gsplat/build/temp.linux-x86_64-cpython-38/gsplat/cuda_legacy/csrc/ext.o.d -pthread -B /home/xsun90/miniconda3/envs/nerfstudio/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Igsplat/cuda/csrc -I/mnt/data1/home/xsun90/gsplat/gsplat/cuda/csrc/third_party/glm -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include/TH -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include/THC -I/home/xsun90/miniconda3/envs/nerfstudio/include -I/home/xsun90/miniconda3/envs/nerfstudio/include/python3.8 -c -c /mnt/data1/home/xsun90/gsplat/gsplat/cuda_legacy/csrc/ext.cpp -o /mnt/data1/home/xsun90/gsplat/build/temp.linux-x86_64-cpython-38/gsplat/cuda_legacy/csrc/ext.o -O3 -Wno-sign-compare -DAT_PARALLEL_OPENMP -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc_legacy -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17
cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2100, in _run_ninja_build
subprocess.run(
File "/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '10']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
There's a line saying that glm.hpp: no such file or directory. Did you also get a similar error message before?
I'm on ubuntu 22.04 and a5000 and it throws the same error. But I do notice that
In file included from /mnt/data1/home/xsun90/gsplat/gsplat/cuda_legacy/csrc/bindings.cu:4: /mnt/data1/home/xsun90/gsplat/gsplat/cuda_legacy/csrc/helpers.cuh:2:10: fatal error: glm/glm.hpp: No such file or directory 2 | #include <glm/glm.hpp> | ^~~~~~~~~~~~~ compilation terminated. [4/4] c++ -MMD -MF /mnt/data1/home/xsun90/gsplat/build/temp.linux-x86_64-cpython-38/gsplat/cuda_legacy/csrc/ext.o.d -pthread -B /home/xsun90/miniconda3/envs/nerfstudio/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Igsplat/cuda/csrc -I/mnt/data1/home/xsun90/gsplat/gsplat/cuda/csrc/third_party/glm -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include/TH -I/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/include/THC -I/home/xsun90/miniconda3/envs/nerfstudio/include -I/home/xsun90/miniconda3/envs/nerfstudio/include/python3.8 -c -c /mnt/data1/home/xsun90/gsplat/gsplat/cuda_legacy/csrc/ext.cpp -o /mnt/data1/home/xsun90/gsplat/build/temp.linux-x86_64-cpython-38/gsplat/cuda_legacy/csrc/ext.o -O3 -Wno-sign-compare -DAT_PARALLEL_OPENMP -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc_legacy -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ ninja: build stopped: subcommand failed. Traceback (most recent call last): File "/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2100, in _run_ninja_build subprocess.run( File "/home/xsun90/miniconda3/envs/nerfstudio/lib/python3.8/subprocess.py", line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '10']' returned non-zero exit status 1. The above exception was the direct cause of the following exception:
There's a line saying that glm.hpp: no such file or directory. Did you also get a similar error message before?
No, I didn't encounter such an error. It looks like missing some installation of glm
, try sudo apt-get install libglm-dev
I clone this repo and use
pip install -e .
, then I get very very long logs(or errors, I don't know) are shown below, I find the key maybebut I have installed ninja , and
ninja --version
is1.11.1.git.kitware.jobserver-1
. I'm confused about these , and cannot find a solution, need helpnot all ,just a part of them.