New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ninja: build stopped: subcommand failed. #24
Comments
@Subin-Kim46 Hi, this is caused by an NVIDIA driver installation without opengl. You can either reinstall the driver or try adding |
Hi. when I run the command
How can I run it successfully? |
For |
It works! Thank you so much for such a timely reply! |
Hi,
Thank you for your excellent investigation.
I got some error. I think it's not match cuda version and gcc version.
Like this error
mapillary/inplace_abn#106 (comment)
My version is cuda 11.6 and gcc version 9.4.0
Can you tell me the version you used?
[INFO] load image from data/AU/w1_rgba.png...
Number of points at initialisation : 5000
[INFO] loading zero123...
Loading pipeline components...: 100%|█████████████████████████████████████████████████████| 6/6 [00:00<00:00, 7.16it/s]
[INFO] loaded zero123!
100%|█████████████████████████████████████████████████████████████████████████████████| 500/500 [00:54<00:00, 9.25it/s]
[INFO] save model to logs/w1_model.ply.
/home/sbkim/dreamgaussian/dream_venv/lib/python3.8/site-packages/torch/functional.py:478: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:2894.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
/home/sbkim/dreamgaussian/dream_venv/lib/python3.8/site-packages/varname/utils.py:447: UsingExecWarning: 'pure_eval' is not installed. Using 'eval' to get the function that calls 'argname'. Try calling it using a variable reference to the function, or passing the function to 'argname' explicitly.
warnings.warn(
Tensor occ torch.Size([128, 128, 128]) torch.float32 cuda:0∈ [0.0, 65.49642181396484] μ = 0.1503143310546875 σ =
1.5049272775650024
[INFO] mesh cleaning: (15938, 3) --> (9009, 3), (31868, 3) --> (18014, 3)
[INFO] marching cubes result: torch.Size([9009, 3]) (-0.689032793045044-0.6991069912910461), torch.Size([18014, 3])
[INFO] unwrap uv...
Traceback (most recent call last):
File "/home/sbkim/dreamgaussian/dream_venv/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1808, in _run_ninja_build
subprocess.run(
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
...
fatal error: EGL/egl.h: No such file or directory
36 | #include <EGL/egl.h>
| ^~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered: