hpfem/hermes

Error when building Master-2.0 Branch of Hermes2d

Opened this issue · 0 comments

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?