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

installing issue #9

Open
Huanle opened this issue Jun 21, 2022 · 1 comment · May be fixed by #18
Open

installing issue #9

Huanle opened this issue Jun 21, 2022 · 1 comment · May be fixed by #18

Comments

@Huanle
Copy link

Huanle commented Jun 21, 2022

Hi Crackling developers,
Thanks for making crackling available.
I ran into issue while trying to install it.
The error messages are listed below:

g++ -O3 -std=c++11 -fopenmp -mpopcnt -Isrc/ISSL/include -o bin/isslScoreOfftargets src/ISSL/isslScoreOfftargets.cpp
src/ISSL/isslScoreOfftargets.cpp: In function ‘int main(int, char**)’:
src/ISSL/isslScoreOfftargets.cpp:193:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  193 |         fread(&mask, sizeof(uint64_t), 1, fp);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ISSL/isslScoreOfftargets.cpp:194:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  194 |         fread(&score, sizeof(double), 1, fp);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: cannot open output file bin/isslScoreOfftargets: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:13: isslScoreOfftargets] Error 1

Can you please help me figure it out?

Thanks a lot in advance.

Best,
Huanle

@CeSchmitz
Copy link
Collaborator

Hi Huanle,

Thank you for reaching out.
I believe that there is no "bin" folder for make to write to. Could you try making a folder called "bin" and try running make again.

Kind regards,
Carl

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

Successfully merging a pull request may close this issue.

2 participants