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 Build hermes-python with hermes master-3.1 branch under Linux #26

Open
JohnBussoletti opened this issue May 26, 2021 · 1 comment

Comments

@JohnBussoletti
Copy link

Under Linux (Ubuntu 20.04) the hermes-python repository's Makefile claims that it cannont find a number of include files (e.g. compat.h and many others) even though they are in the hermes repository build tree. I noticed that they are in various directories under the hermes repository. For example, compat.h is in my /ots/sw/hermes/hermes_common/include/uti directory, but it appears that the Makefile for hermes-python expects it to be in the /ots/sw/hermes/hermes_common/include directory.

What branch/release of hermes is expected to allow a successful build of hermes-python?

@JohnBussoletti
Copy link
Author

Okay, I found some Doxygen files that show use of the Master-2.0 branch of Hermes2D seems to have the missing include files. So I switched to the Master-2.0 branch and lo and behold the missing include files show up. Unfortunately, it appears the current g++ compiler has become a bit to strict to compile the Master-2.0 branch without an error. I'm seeing messages:error: cannot bind rvalue reference of type ‘double&&’ to lvalue of type ‘XMLMesh::var::value_type’ {aka ‘double’}

and looking out on StackFlow, it looks like I may need to insert a "std:move(var)' structure in the code to get the compiler to correctly compile hermes.

I will keep fiddling, but it looks like hermes-python is not really supported anymore and hermes2d's older branches may not be compatible with current compilers.

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