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

ERROR: tiny-cuda-nn/dependencies/json/json.hpp:3954:14: fatal error: filesystem: No such file or directory #352

Closed
garrisonz opened this issue Aug 8, 2023 · 2 comments

Comments

@garrisonz
Copy link

garrisonz commented Aug 8, 2023

System setting:
ubuntu 20.04
g++ 9.4
cuda driver 470.57.02
cuda toolkit 11.4
torch 1.12.1
non root user

run

tiny-cuda-nn$ cd bindings/torch
tiny-cuda-nn/bindings/torch$ pip install .

Output many c++ ``No such file or directory` error, e.g.

tiny-cuda-nn/dependencies/json/json.hpp:3954:14: fatal error: filesystem: No such file or directory
           #include <filesystem>
                    ^~~~~~~~~~~~
      compilation terminated.
@garrisonz
Copy link
Author

The default gcc / g++ version is 7.5. I only switch g++ to g++-9.
the installation and compilation of tiny-cuda-nn invokes g++ / gcc / c++ all. So, all of three should point to the same version (version 9). Then installation works fine.

@coollzd
Copy link

coollzd commented Dec 12, 2023

hi,I switched g++ and gcc to 9 but still failed, what can I do?

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