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 building Master-2.0 Branch of Hermes2d #122

Open
JohnBussoletti opened this issue May 27, 2021 · 0 comments
Open

Error when building Master-2.0 Branch of Hermes2d #122

JohnBussoletti opened this issue May 27, 2021 · 0 comments

Comments

@JohnBussoletti
Copy link

After discovering that hermes-python seems to require the Master-2.0 branch of Hermes2d, I attempted to build it. But it appears that more recent compilers may be incompatible with the code in the 2.0 branch. I see
error: cannot bind rvalue reference of type ‘double&&’ to lvalue of type ‘XMLMesh::var::value_type’ {aka ‘double’}
and some searching on StackFlow seems to suggest that I need to surround some arguments being passed into some of the calls in mesh_reader_h2d_xml.cpp with a std:move(var) decoration in order to get the code to compile. Does that sound like a correct conclusion?

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