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

Problems with installation of Photo-z #37

Open
matin724 opened this issue Aug 20, 2023 · 0 comments
Open

Problems with installation of Photo-z #37

matin724 opened this issue Aug 20, 2023 · 0 comments

Comments

@matin724
Copy link

matin724 commented Aug 20, 2023

in the terminal , some errors occur after running the make command . as you can see:

gcc -msse2 -c -O3 -Wall main.c In file included from main.c:1: defs.h:35:1: error: unknown type name 'int32_t'
35 | int32_t nusefilt32, NTEMP32, nobj32, NZ32, NK32,*izsave32, NTEMPL32; defs.h:185:8: error: unknown type name 'int32_t'
185 | extern int32_t *klim_idx; main.c:126:1: error: unknown type name 'int32_t'
126 | int32_t *klim_idx; main.c: In function 'main':
main.c:245:34: error: 'int32_t' undeclared (first use in this function)
245 | klim_idx = malloc(sizeof(int32_t)*nobj); main.c:245:34: note: each undeclared identifier is reported only once for each function it appears in
main.c:446:31: error: expected ';' before 'nusefilt'
446 | nusefilt32 = (int32_t) nusefilt; main.c:447:28: error: expected ';' before 'NTEMP'
447 | NTEMP32 = (int32_t) NTEMP; main.c:448:25: error: expected ';' before 'NZ'
448 | NZ32 = (int32_t) NZ; main.c:449:27: error: expected ';' before 'nobj'
449 | nobj32 = (int32_t) nobj; main.c:611:43: error: expected ';' before 'Kcolumn'
611 | klim_idx[iobj] = (int32_t) Kcolumn; main.c:775:29: error: expected ';' before 'NK_prior'
775 | NK32 = (int32_t) NK_prior; main.c:178:16: warning: unused variable 'zm2' [-Wunused-variable]
178 | double zm1,zm2,zpeak_best,zpeak_prob,pztot; main.c:178:12: warning: unused variable 'zm1' [-Wunused-variable]
178 | double zm1,zm2,zpeak_best,zpeak_prob,pztot; main.c:177:33: warning: unused variable 'iz_zm2' [-Wunused-variable]
177 | long i,j,iobj,izbest,iz_zm1,iz_zm2, *izsave,ipeakmax; main.c:177:26: warning: unused variable 'iz_zm1' [-Wunused-variable]
177 | long i,j,iobj,izbest,iz_zm1,iz_zm2, *izsave,ipeakmax;`

make: *** [makefile:3: main.o] 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

1 participant