strange build error on Ubuntu 22.04
dr-ni opened this issue · 1 comments
dr-ni commented
any advice for this?
u@pc:~/xmrig-cuda$ make
-- Configuring done
-- Generating done
-- Build files have been written to: /home/uwe/xmrig-cuda
[ 5%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/xmrig-cu_generated_AstroBWT.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’
CMake Error at xmrig-cu_generated_AstroBWT.cu.o.Release.cmake:280 (message):
Error generating file
/home/uwe/xmrig-cuda/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/./xmrig-cu_generated_AstroBWT.cu.o
make[2]: *** [CMakeFiles/xmrig-cu.dir/build.make:859: CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/xmrig-cu_generated_AstroBWT.cu.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/xmrig-cu.dir/all] Fehler 2
make: *** [Makefile:91: all] Fehler 2