grenaud / glactools

command-line tools for the management of genotype likelihoods and allele counts
http://grenaud.github.io/glactools/
GNU General Public License v3.0
28 stars 2 forks source link

install error #13

Open shiyi-pan opened 4 years ago

shiyi-pan commented 4 years ago

hi,when I installed glactools,I met a problem like that,can you give me some advise. Thank you very much.

ReadTabix.cpp:(.text+0x1a8): undefined reference to Tabix::setRegion(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)' lib/libglactools.a(ReadTabix.o): In functionReadTabix::readLine(std::cxx11::basic_string<char, std::char_traits, std::allocator >&)': ReadTabix.cpp:(.text+0x20d): undefined reference to `Tabix::getNextLine(std::cxx11::basic_string<char, std::char_traits, std::allocator >&)' lib/libglactools.a(ReadTabix.o): In function ReadTabix::ReadTabix(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int)': ReadTabix.cpp:(.text+0x344): undefined reference toTabix::Tabix(std::cxx11::basic_string<char, std::char_traits, std::allocator >&)' ReadTabix.cpp:(.text+0x60a): undefined reference to `Tabix::setRegion(std::cxx11::basic_string<char, std::char_traits, std::allocator >&)' lib/libglactools.a(ReadTabix.o): In function ReadTabix::repositionIterator(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int)': ReadTabix.cpp:(.text+0xafb): undefined reference toTabix::setRegion(std::__cxx11::basic_string<char, std::char_traits, std::allocator >&)' collect2: error: ld returned 1 exit status make: *** [glactools] Error 1

grenaud commented 4 years ago

Same as the other issues you opened, could you also post your OS and g++ --version