Hi,
I try to build Cactus locally, but there is something wrong in poaBarAligner.c.
I received the following error message:
cc -Iinc -Iimpl -fsigned-char -I../hal/inc -I../api/inc -I../setup/inc -I../bar/inc -I../caf/inc -I../paf/inc -I../hal/inc -I../reference/inc -I../pipeline/inc -I../submodules/sonLib/C/inc -I../blastLib -I../submodules/sonLib/externalTools/cutest -I../submodules/pinchesAndCacti/inc -I../submodules/matchingAndOrdering/inc -I../submodules/cPecan/inc -I../lib -I../include -fPIC -std=c99 -fsigned-char -O3 -g -Wall --pedantic -funroll-loops -DNDEBUG -UNDEBUG -I/usr/include/libxml2 -fopenmp -mavx2 -DAVX2 -DUSE_SIMDE -DSIMDE_ENABLE_NATIVE_ALIASES -c impl/*.c -Wno-unused-function
impl/poaBarAligner.c: In function ‘msa_make_partial_order_alignment’:
impl/poaBarAligner.c:604:9: error: too few arguments to function ‘abpoa_msa’
abpoa_msa(ab, abpt, msa->seq_no, NULL, msa->seq_lens, bseqs, NULL, NULL);
^~~~~
In file included from impl/poaBarAligner.c:7:0:
../include/abpoa.h:133:5: note: declared here
int abpoa_msa(abpoa_t ab, abpoa_para_t abpt, int n_seqs, char seq_names, int *seq_lens, uint8_t seqs, FILE out_fp, uint8_t cons_seq, int *cons_cov, int cons_l, int cons_n, uint8_t msa_seq, int *msa_l);
^~~~~
impl/poaBarAligner.c:607:28: error: ‘abpoa_t {aka struct }’ has no member named ‘abc’; did you mean ‘abg’?
msa->msa_seq = ab->abc->msa_base;
^~~
abg
impl/poaBarAligner.c:608:13: error: ‘abpoa_t {aka struct }’ has no member named ‘abc’; did you mean ‘abg’?
ab->abc->msa_base = NULL;
^~~
abg
impl/poaBarAligner.c:609:30: error: ‘abpoa_t {aka struct }’ has no member named ‘abc’; did you mean ‘abg’?
msa->column_no = ab->abc->msa_len;
^~~
abg
Makefile:26: recipe for target '../lib/cactusBarLib.a' failed
make[3]: [../lib/cactusBarLib.a] Error 1
make[3]: 离开目录“/mnt/Bio_analysis/Software/package/cactus/bar”
Makefile:62: recipe for target 'all_libs.bar' failed
make[2]: [all_libs.bar] Error 2
make[2]: 离开目录“/mnt/Bio_analysis/Software/package/cactus”
Makefile:57: recipe for target 'all_libs' failed
make[1]: [all_libs] Error 2
make[1]: 离开目录“/mnt/Bio_analysis/Software/package/cactus”
Makefile:32: recipe for target 'all' failed
make: [all] Error 2
Hi, I try to build Cactus locally, but there is something wrong in poaBarAligner.c. I received the following error message: cc -Iinc -Iimpl -fsigned-char -I../hal/inc -I../api/inc -I../setup/inc -I../bar/inc -I../caf/inc -I../paf/inc -I../hal/inc -I../reference/inc -I../pipeline/inc -I../submodules/sonLib/C/inc -I../blastLib -I../submodules/sonLib/externalTools/cutest -I../submodules/pinchesAndCacti/inc -I../submodules/matchingAndOrdering/inc -I../submodules/cPecan/inc -I../lib -I../include -fPIC -std=c99 -fsigned-char -O3 -g -Wall --pedantic -funroll-loops -DNDEBUG -UNDEBUG -I/usr/include/libxml2 -fopenmp -mavx2 -DAVX2 -DUSE_SIMDE -DSIMDE_ENABLE_NATIVE_ALIASES -c impl/*.c -Wno-unused-function
impl/poaBarAligner.c: In function ‘msa_make_partial_order_alignment’: impl/poaBarAligner.c:604:9: error: too few arguments to function ‘abpoa_msa’ abpoa_msa(ab, abpt, msa->seq_no, NULL, msa->seq_lens, bseqs, NULL, NULL); ^}’ has no member named ‘abc’; did you mean ‘abg’?
msa->msa_seq = ab->abc->msa_base;
^~~
abg
impl/poaBarAligner.c:608:13: error: ‘abpoa_t {aka struct }’ has no member named ‘abc’; did you mean ‘abg’?
ab->abc->msa_base = NULL;
^~~
abg
impl/poaBarAligner.c:609:30: error: ‘abpoa_t {aka struct }’ has no member named ‘abc’; did you mean ‘abg’?
msa->column_no = ab->abc->msa_len;
^~~
abg
Makefile:26: recipe for target '../lib/cactusBarLib.a' failed
make[3]: [../lib/cactusBarLib.a] Error 1
make[3]: 离开目录“/mnt/Bio_analysis/Software/package/cactus/bar”
Makefile:62: recipe for target 'all_libs.bar' failed
make[2]: [all_libs.bar] Error 2
make[2]: 离开目录“/mnt/Bio_analysis/Software/package/cactus”
Makefile:57: recipe for target 'all_libs' failed
make[1]: [all_libs] Error 2
make[1]: 离开目录“/mnt/Bio_analysis/Software/package/cactus”
Makefile:32: recipe for target 'all' failed
make: [all] Error 2
~~~~ In file included from impl/poaBarAligner.c:7:0: ../include/abpoa.h:133:5: note: declared here int abpoa_msa(abpoa_t ab, abpoa_para_t abpt, int n_seqs, char seq_names, int *seq_lens, uint8_t seqs, FILE out_fp, uint8_t cons_seq, int *cons_cov, int cons_l, int cons_n, uint8_t msa_seq, int *msa_l); ^~~~~ impl/poaBarAligner.c:607:28: error: ‘abpoa_t {aka structCould you please help me? Thanks in advance!