Skip to content

Compile error on ubuntu 22.04 #638

@albenstein

Description

@albenstein

Hi there all,
I try to compile spirit on ubuntu 22.04 with CUDA support with gcc 11.4, but I get make error like below:

/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’
/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’
make[2]: *** [core/CMakeFiles/Spirit.dir/build.make:314: core/CMakeFiles/Spirit.dir/src/engine/Vectormath.cpp.o] Error 1
make[2]: *** [core/CMakeFiles/Spirit.dir/build.make:188: core/CMakeFiles/Spirit.dir/src/engine/Eigenmodes.cpp.o] Error 1
make[2]: *** [core/CMakeFiles/Spirit.dir/build.make:216: core/CMakeFiles/Spirit.dir/src/engine/Sparse_HTST.cpp.o] Error 1
make[2]: *** [core/CMakeFiles/Spirit.dir/build.make:202: core/CMakeFiles/Spirit.dir/src/engine/HTST.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:653: core/CMakeFiles/Spirit.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions