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

Error when compiling project - size must be POT static_assert #13

Open
goofoo opened this issue Dec 20, 2020 · 0 comments
Open

Error when compiling project - size must be POT static_assert #13

goofoo opened this issue Dec 20, 2020 · 0 comments

Comments

@goofoo
Copy link

goofoo commented Dec 20, 2020

When compiling on ubuntu 18.04 - error:
ziran2020/Lib/Ziran/../MPM/MpmGrid.h:44:1: error: static assertion failed: GridState<double, 2> size must be POT static_assert(is_power_of_two(sizeof(GridState<double, 2>)), "GridState<double, 2> size must be POT");

Projects/coupling/CMakeFiles/coupling.dir/build.make:81: recipe for target 'Projects/coupling/CMakeFiles/coupling.dir/main.cpp.o' failed
make[2]: *** [Projects/coupling/CMakeFiles/coupling.dir/main.cpp.o] Error 1
Projects/coupling/CMakeFiles/coupling.dir/build.make:107: recipe for target 'Projects/coupling/CMakeFiles/coupling.dir//splitting/SplittingSimulationSolidSystemFast.cpp.o' failed
make[2]: *** [Projects/coupling/CMakeFiles/coupling.dir/
/splitting/SplittingSimulationSolidSystemFast.cpp.o] Error 1
CMakeFiles/Makefile2:504: recipe for target 'Projects/coupling/CMakeFiles/coupling.dir/all' failed
make[1]: *** [Projects/coupling/CMakeFiles/coupling.dir/all] Error 2
[ 94%] Linking CXX executable ../../../Projects/anisofracture/anisofracture
[ 94%] Built target anisofracture
Makefile:159: recipe for target 'all' failed
make: *** [all] Error 2

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