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

LIBNCBI_NGS-NOFOUND #482

Open
mdsimguy opened this issue Jul 17, 2024 · 1 comment
Open

LIBNCBI_NGS-NOFOUND #482

mdsimguy opened this issue Jul 17, 2024 · 1 comment

Comments

@mdsimguy
Copy link

make bowtie2-build-s USE_SAIS_OPENMP=1
[ 18%] Built target libsais_project
[ 36%] Built target ncbi_vdb_project
[ 59%] Built target ngs_project
[ 59%] Building CXX object CMakeFiles/bowtie2-build-s.dir/bt2_build.cpp.o
[ 63%] Building CXX object CMakeFiles/bowtie2-build-s.dir/diff_sample.cpp.o
[ 63%] Building CXX object CMakeFiles/bowtie2-build-s.dir/bowtie_build_main.cpp.o
[ 68%] Building CXX object CMakeFiles/bowtie2-build-s.dir/ccnt_lut.cpp.o
[ 68%] Building CXX object CMakeFiles/bowtie2-build-s.dir/ref_read.cpp.o
[ 72%] Building CXX object CMakeFiles/bowtie2-build-s.dir/alphabet.cpp.o
[ 72%] Building CXX object CMakeFiles/bowtie2-build-s.dir/shmem.cpp.o
[ 77%] Building CXX object CMakeFiles/bowtie2-build-s.dir/edit.cpp.o
[ 81%] Building CXX object CMakeFiles/bowtie2-build-s.dir/bt2_idx.cpp.o
[ 81%] Building CXX object CMakeFiles/bowtie2-build-s.dir/bt2_io.cpp.o
[ 86%] Building CXX object CMakeFiles/bowtie2-build-s.dir/bt2_locks.cpp.o
[ 86%] Building CXX object CMakeFiles/bowtie2-build-s.dir/bt2_util.cpp.o
[ 90%] Building CXX object CMakeFiles/bowtie2-build-s.dir/reference.cpp.o
[ 90%] Building CXX object CMakeFiles/bowtie2-build-s.dir/ds.cpp.o
[ 95%] Building CXX object CMakeFiles/bowtie2-build-s.dir/multikey_qsort.cpp.o
[ 95%] Building CXX object CMakeFiles/bowtie2-build-s.dir/limit.cpp.o
[100%] Building CXX object CMakeFiles/bowtie2-build-s.dir/random_source.cpp.o
make[3]: *** No rule to make target 'LIBNCBI_NGS-NOTFOUND', needed by 'bowtie2-build-s'. Stop.
make[2]: *** [CMakeFiles/Makefile2:991: CMakeFiles/bowtie2-build-s.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:998: CMakeFiles/bowtie2-build-s.dir/rule] Error 2
make: *** [Makefile:608: bowtie2-build-s] Error 2

@ch4rr0
Copy link
Collaborator

ch4rr0 commented Jul 24, 2024

Hello,

It seems like you are trying to build bowtie2-build-s with libsais support using the CMake build system. If that is the case then you will need to issue the following command in order to do so.
cmake . -DUSE_SAIS=1 && make bowtie2-build-s

If on the other hand you are trying to build with the standard Makefile then use:
make libsais USE_SAIS_OPENMP=1 && make bowtie2-build-s USE_SAIS_OPENMP=1

I am not sure why the CMake build file is complaining out libngs unless you trying to link to this library also.

Please let me know your use-case. I will be happy to help resolve any issues.

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

2 participants