NVlabs/tiny-cuda-nn

Tiny cuda nn compilation issue

duan43560096 opened this issue · 4 comments

Compilation Errors in tiny-cuda-nn Project

The compilation of the tiny-cuda-nn project has resulted in a series of errors, which are detailed below:

Compilation Error Log

  • namespace "std" has no member "conjunction"
  • namespace "std" has no member "conjunction_v"
  • namespace "std" has no member "disjunction"
  • namespace "std" has no member "disjunction_v"
  • namespace "std" has no member "negation"
  • namespace "std" has no member "negation_v"
  • namespace "std" has no member "void_t"
  • namespace "std" has no member "is_void_v"
  • namespace "std" has no member "is_base_of_v"
  • namespace "std" has no member "is_const_v"
  • namespace "std" has no member "is_volatile_v"
  • namespace "std" has no member "is_lvalue_reference_v"
  • namespace "std" has no member "is_convertible_v"
  • namespace "std" has no member "is_same_v"
  • namespace "std" has no member "is_unsigned_v"
  • namespace "std" has no member "is_signed_v"
  • namespace "std" has no member "is_empty_v"
  • namespace "std" has no member "invoke_result_t"
  • void_t is not a template
  • "auto" is not allowed here
  • no instance of function template "cute::abs" matches the argument list
  • the template argument list of the partial specialization includes a nontype argument whose type depends on a template parameter

Environment Information

  • gcc version: 11.4.0
  • cmake version: 3.28.2
  • cuda version: 11.8

Error Summary

During the build process, the compiler encountered 100 errors while compiling the files:

  • /nas/cv/dyh/threestudio-main/tiny-cuda-nn-master/src/fully_fused_mlp.cu
  • /nas/cv/dyh/threestudio-main/tiny-cuda-nn-master/src/cutlass_mlp.cu

These errors led to the termination of the compilation process.
I would be grateful if anyone could tell me how to solve it

I meet the same problem. I check the fmt version and the cutlass version and find that it should be change to the correct commit

I meet the same problem. I check the fmt version and the cutlass version and find that it should be change to the correct commit
what does this mean?How can I choose the right version

Maybe they mean to do a git submodule update?

I solve this problem by reinstalling my Cmake.My Cmake version is 3.25.0 and g++ version is 10.5.0.