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 fails due to missing header in kmers.h #42

Open
arudhir opened this issue Oct 16, 2024 · 0 comments
Open

Compilation fails due to missing header in kmers.h #42

arudhir opened this issue Oct 16, 2024 · 0 comments

Comments

@arudhir
Copy link

arudhir commented Oct 16, 2024

To replicate the error:

$ docker run --rm -it ubuntu bash -c "apt-get update -y && apt-get install -y git zlib1g-dev build-essential && git clone https://github.com/rrwick/Filtlong.git && cd Filtlong && make -j && bin/filtlong"

Will give many errors of the form src/kmers.h:37:26: error: 'uint32_t' has not been declared

Throwing in #include <cstdint> in src/kmers.h fixes it:

docker run --rm -it ubuntu bash -c "apt-get update -y && apt-get install -y git zlib1g-dev build-essential && git clone https://github.com/rrwick/Filtlong.git && cd Filtlong && sed -i '1i #include <cstdint>' src/kmers.h && make -j && bin/filtlong" successfully compiles and runs filtlong

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