3dem / relion

Image-processing software for cryo-electron microscopy
https://relion.readthedocs.io/en/latest/
GNU General Public License v2.0
453 stars 202 forks source link

RELION 4.0b compiling on Arch #804

Closed rbs-sci closed 3 years ago

rbs-sci commented 3 years ago

Not sure if a pull request is really needed for such a simple fix, but will make one if required (although am new to github).

Issue: Compiling RELION v4.0b on Arch linux fails with errors for tilt_geometry.cpp and Euler_angles_dynamo.h

Environment:

Solution: Add lines:

#include <stdexcept>
#include <limits>

To tilt_geometry.cpp and Euler_angles_dynamo.h

And compilation will succeed. Not tested exhaustively yet.

biochem-fan commented 3 years ago

Thank you very much for your feedback. I applied your suggestion in commit c8ab56d.

rbs-sci commented 3 years ago

The commit modifies Euler_angles_relion.h, not Euler_angles_dynamo.h? The build still fails because of the missing includes in Euler_angles_dynamo.h

biochem-fan commented 3 years ago

Oops. This is my mistake. How about bee2efb?

rbs-sci commented 3 years ago

RELION-4.0-beta-1-commit-bee2ef compiles and runs, thank you.