-
Notifications
You must be signed in to change notification settings - Fork 9
Failed to compile #2
Copy link
Copy link
Open
Description
Hi Massimiliano, I failed to compile moni with the given installation step.
git clone https://github.com/maxrossi91/moni
mkdir build
cd build
cmake ..
make
[ 44%] Built target rlbwt2lcp
[ 44%] Building CXX object _deps/bwt2lcp-build/CMakeFiles/bwt2lcp.dir/bwt2lcp.cpp.o
In file included from /home/shenwei/Downloads/moni/build/_deps/bwt2lcp-src/internal/dna_bwt.hpp:15,
from /home/shenwei/Downloads/moni/build/_deps/bwt2lcp-src/internal/lcp.hpp:26,
from /home/shenwei/Downloads/moni/build/_deps/bwt2lcp-src/bwt2lcp.cpp:14:
/home/shenwei/Downloads/moni/build/_deps/bwt2lcp-src/internal/include.hpp:15:14: error: ‘uint64_t’ was not declared in this scope
15 | typedef pair<uint64_t,uint64_t> range_t;
| ^~~~~~~~
/home/shenwei/Downloads/moni/build/_deps/bwt2lcp-src/internal/include.hpp:12:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstd
int>’?
11 | #include <algorithm>
+++ |+#include <cstdint>
12 |
/home/shenwei/Downloads/moni/build/_deps/bwt2lcp-src/internal/include.hpp:15:23: error: ‘uint64_t’ was not declared in this scope
15 | typedef pair<uint64_t,uint64_t> range_t;
| ^~~~~~~~
/home/shenwei/Downloads/moni/build/_deps/bwt2lcp-src/internal/include.hpp:15:23: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cst
dint>’?
/home/shenwei/Downloads/moni/build/_deps/bwt2lcp-src/internal/include.hpp:15:31: error: template argument 1 is invalid
15 | typedef pair<uint64_t,uint64_t> range_t;
| ^
/home/shenwei/Downloads/moni/build/_deps/bwt2lcp-src/internal/include.hpp:15:31: error: template argument 2 is invalid
/home/shenwei/Downloads/moni/build/_deps/bwt2lcp-src/internal/include.hpp:32:9: error: ‘uint64_t’ does not name a type
32 | uint64_t first_TERM;
Here's some information you might find useful.
$ uname -a
Linux mBio 6.1.55-1-MANJARO #1 SMP PREEMPT_DYNAMIC Sat Sep 23 12:13:56 UTC 2023 x86_64 GNU/Linux
$ cmake --version
cmake version 3.27.7
$ gcc --version
gcc (GCC) 13.2.1 20230801
$ g++ --version
g++ (GCC) 13.2.1 20230801
Or, can you support installation with conda: https://github.com/bioconda/bioconda-recipes .
Thanks a lot.
Wei
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels