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

cryo_fit compilation error #3

Open
shahpnmlab opened this issue Mar 30, 2023 · 1 comment
Open

cryo_fit compilation error #3

shahpnmlab opened this issue Mar 30, 2023 · 1 comment

Comments

@shahpnmlab
Copy link

Hi, the program fails to compile with the following error on an M1 Mac (MacOS VEntura)

md.c:414:9: error: implicit declaration of function 'please_cite' is
invalid in C99 [-Werror,-Wimplicit-function-declaration]
please_cite(stderr,"Kim2019");

Any suggestions?

@JingyuZhan
Copy link

I got the same issue (Apple M1 Max macOS Ventura 13.5)

md.c:414:9: error: call to undeclared function 'please_cite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
please_cite(stderr,"Kim2019");
^
md.c:421:23: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
init_em_map(fplog,ftp2fn(efEMM, nfile, fnm), emmap, ir, state_global,cr);
^~~~~~~~~~~~~~~~~~~~~~~~~
../../include/cryoem.h:43:44: note: passing argument to parameter 'emfile' here
extern void init_em_map(FILE *fplog, char *emfile,t_emmap *emmap, t_inputrec *ir, t_state *state, t_commrec *cr);
^
1 warning and 1 error generated.
make[2]: *** [md.o] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
#########################################################################################################

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