Skip to content
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

pip install:g++ error #432

Open
Tracy-coder opened this issue May 14, 2024 · 1 comment
Open

pip install:g++ error #432

Tracy-coder opened this issue May 14, 2024 · 1 comment

Comments

@Tracy-coder
Copy link

When I use the command pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch to install tinycudann in conda environment,an error occurs:

  g++: error: /tmp/pip-req-build-d19bf2m6/bindings/torch/build/temp.linux-x86_64-cpython-38/../../dependencies/fmt/src/format.o: No such file or directory
  g++: error: /tmp/pip-req-build-d19bf2m6/bindings/torch/build/temp.linux-x86_64-cpython-38/../../dependencies/fmt/src/os.o: No such file or directory
  g++: error: /tmp/pip-req-build-d19bf2m6/bindings/torch/build/temp.linux-x86_64-cpython-38/../../src/common_host.o: No such file or directory
  g++: error: /tmp/pip-req-build-d19bf2m6/bindings/torch/build/temp.linux-x86_64-cpython-38/../../src/cpp_api.o: No such file or directory
  g++: error: /tmp/pip-req-build-d19bf2m6/bindings/torch/build/temp.linux-x86_64-cpython-38/../../src/cutlass_mlp.o: No such file or directory
  g++: error: /tmp/pip-req-build-d19bf2m6/bindings/torch/build/temp.linux-x86_64-cpython-38/../../src/encoding.o: No such file or directory
  g++: error: /tmp/pip-req-build-d19bf2m6/bindings/torch/build/temp.linux-x86_64-cpython-38/../../src/fully_fused_mlp.o: No such file or directory
  g++: error: /tmp/pip-req-build-d19bf2m6/bindings/torch/build/temp.linux-x86_64-cpython-38/../../src/network.o: No such file or directory
  g++: error: /tmp/pip-req-build-d19bf2m6/bindings/torch/build/temp.linux-x86_64-cpython-38/../../src/object.o: No such file or directory
  g++: error: /tmp/pip-req-build-d19bf2m6/bindings/torch/build/temp.linux-x86_64-cpython-38/tinycudann/bindings.o: No such file or directory
  error: command '/usr/bin/g++' failed with exit code 1

info of my device:
g++-9
cmake version 3.29.3
torch==1.12.0+cu113
CUDA Version: 11.2

@aradhyamathur
Copy link

what does g++ --version return ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants