Open andreas-wilm opened 8 years ago
Using the above suggestion, i.e. cloning the repository and checking out v0.3.0
, produced in my case an error when running make
(after make modules
) for target obj_linux/src/alignment/alignment_wrappers.o
.
Running make modules
and make
on latest version (eb8c75d
) worked.
Error message:
src/alignment/alignment_wrappers.cc: In function ‘int LocalizeAlignmentPosWithMyers(const int8_t*, int64_t, const int8_t*, int64_t, int64_t, int64_t, int64_t*, int64_t*, int64_t*, int64_t*, int64_t*, int64_t*, bool)’:
src/alignment/alignment_wrappers.cc:44:70: error: ‘edlibCalcEditDistance’ was not declared in this scope
¤t_alignment, ¤t_alignment_length);
^
src/alignment/alignment_wrappers.cc: In function ‘int MyersSemiglobalWrapper(const int8_t*, int64_t, const int8_t*, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t*, int64_t*, int64_t*, std::vector<unsigned char>&)’:
src/alignment/alignment_wrappers.cc:548:64: error: ‘edlibCalcEditDistance’ was not declared in this scope
&alignment, &alignment_length, &found_k);
^
src/alignment/alignment_wrappers.cc: In function ‘int MyersNWWrapper(const int8_t*, int64_t, const int8_t*, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t*, int64_t*, int64_t*, std::vector<unsigned char>&)’:
src/alignment/alignment_wrappers.cc:601:64: error: ‘edlibCalcEditDistance’ was not declared in this scope
&alignment, &alignment_length, &found_k);
^
src/alignment/alignment_wrappers.cc: In function ‘int MyersSHWWrapper(const int8_t*, int64_t, const int8_t*, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t*, int64_t*, int64_t*, std::vector<unsigned char>&)’:
src/alignment/alignment_wrappers.cc:868:90: error: ‘edlibCalcEditDistance’ was not declared in this scope
&alignment, &alignment_length, &found_k);
^
src/alignment/alignment_wrappers.cc:890:90: error: ‘edlibCalcEditDistance’ was not declared in this scope
&alignment, &alignment_length, &found_k);
^
src/alignment/alignment_wrappers.cc: In function ‘int MyersEditDistanceWrapper(const int8_t*, int64_t, const int8_t*, int64_t, int64_t*, int64_t*, int)’:
src/alignment/alignment_wrappers.cc:963:66: error: ‘edlibCalcEditDistance’ was not declared in this scope
&alignment, &alignment_length, &found_k);
Thanks VGalata, that worked for me as well
Downloaded the release (from github; i.e. not repo cloned) and tried to compile, but certain headers are missing (see below). Make modules doesn't work either because the release is not a git repository. Cloning the repo, then
git checkout v0.3.0
andmake modules; make
works fine.Might be worthwhile mentioning that the github created release tarball is broken and shouldn't be used
Andreas