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 while building #5

Open
lokit-iscitech opened this issue Nov 16, 2021 · 1 comment
Open

Error while building #5

lokit-iscitech opened this issue Nov 16, 2021 · 1 comment

Comments

@lokit-iscitech
Copy link

I am getting the following error:

Lib/MPM/instantiations/../MpmSimulationBase.cpp:1098:20: error: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class ZIRAN::GridState<float, 3>’ with no trivial copy-assignment; use assignment or value-initialization instead [-Werror=class-memaccess]
when I am trying to build using the command make -j 4

How can I resolve this? I am compiling on Ubuntu 20.04 LTS.

@miaodi
Copy link

miaodi commented Jun 9, 2022

you can remove '-Werror=all ' in CMAKE_CXX_FLAGS.

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

2 participants