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

compiler error linux (ubuntu 22.04 / gcc11 / cuda 11.8) #61

Open
truedat101 opened this issue Mar 25, 2024 · 2 comments
Open

compiler error linux (ubuntu 22.04 / gcc11 / cuda 11.8) #61

truedat101 opened this issue Mar 25, 2024 · 2 comments

Comments

@truedat101
Copy link

truedat101 commented Mar 25, 2024

"parameter packs not expanded with" error using gcc 11.4.0 on ubuntu 22.04 x86_64

[  4%] Building CUDA object CMakeFiles/gsplat.dir/vendor/gsplat/forward.cu.o
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
  435 |         function(_Functor&& __f)
      |                                                                                                                                                 ^ 
/usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
  530 |         operator=(_Functor&& __f)
      |                                                                                                                                                  ^ 
/usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’

This loos like a C++20 feature. Please update docs if there is a recommended compiler configuration known to work (clang or more bleeding edge compiler on linux). If this is misconfiguration it doesn't seem obvious regarding a possible misstep.

@pierotofy
Copy link
Owner

pierotofy commented Mar 25, 2024

It might be an issue with nvcc and gcc 11. NVIDIA/nccl#650

@truedat101
Copy link
Author

Thanks, I'll review that, and see what I can do. Since this is a fairly up to date system I use for development, I guess I will need to deal with maintaining multiple compilers.

@truedat101 truedat101 changed the title compiler error linux compiler error linux (ubuntu 22.04 / gcc11 / cuda 11.8) Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants