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

Cannot compile libgeodecomp (libflatarray) incomplete type #80

Open
dvalters opened this issue Mar 8, 2022 · 0 comments
Open

Cannot compile libgeodecomp (libflatarray) incomplete type #80

dvalters opened this issue Mar 8, 2022 · 0 comments

Comments

@dvalters
Copy link

dvalters commented Mar 8, 2022

Cmake ran succesfully with -DWITH_MPI=true as an extra flag, gcc version 8.5.0, Centos 8

Running make on the next step however now results in:

libgeodecomp-0.4.0/lib/libflatarray/src/libflatarray/detail/macros.hpp:35:69: error: incomplete type ‘LibFlatArray::detail::flat_array::offset<LibGeoDecomp::TestCell<3, LibGeoDecomp::Stencils::Moore<3, 1>, LibGeoDecomp::TopologiesHelpers::Topology<3, false, false, false>, LibGeoDecomp::TestCellHelpers::SoAAPI>, -1>’ used in nested name specifier
         static const std::size_t OFFSET = offset<CELL_TYPE, r - 2>::OFFSET +  \
                                                                     ^~~~~~

Several pages worth of compiler error follow, but all very similar to this incomplete type error - am I doing something wrong here or missing something?

Thanks again in advance

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

1 participant