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

compilation error 2 #3

Open
shahpnmlab opened this issue Feb 17, 2023 · 1 comment
Open

compilation error 2 #3

shahpnmlab opened this issue Feb 17, 2023 · 1 comment

Comments

@shahpnmlab
Copy link

Hi, I am trying to compile proshade in order to install emda and am seeing the following error
from /home/pshah/software/proshade/proshade/src/proshade/ProSHADE_mapManip.cpp:23:
/home/pshah/software/proshade/proshade/extern/gemmi/include/gemmi/grid.hpp:348:70: note: initializing argument 2 of ‘void gemmi::Grid::set_size_from_spacing(double, gemmi::GridSizeRounding) [with T = float]’
348 | void set_size_from_spacing(double approx_spacing, GridSizeRounding rounding) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~
make[2]: *** [cmake/sources/CMakeFiles/compileObjs.dir/build.make:146: cmake/sources/CMakeFiles/compileObjs.dir///src/proshade/ProSHADE_mapManip.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:243: cmake/sources/CMakeFiles/compileObjs.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

What are the suggested changes to overcome this error?

@joelselvaraj
Copy link

joelselvaraj commented Apr 4, 2023

I changed this line

COMMAND git clone https://github.com/project-gemmi/gemmi.git --quiet

and
COMMAND git clone https://github.com/project-gemmi/gemmi.git --quiet

to
COMMAND git clone -b v0.5.7 https://github.com/project-gemmi/gemmi.git --quiet

Then it compiles fine for me. Basically since the gemmi api changed recently, I have used a older version branch (0.5.7) for gemmi which is compatible when compiling proshade.

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