-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi there,
I would like to use try this interesting software.
I tried to install it using anaconda. I followed the instructions on the github page but, after typing
h5c++ -03 -std=c++11 [...]
I got the following error:
BamReader.c: In member function ‘int BamReadOption::set_w_qry_seq(bool)’:
BamReader.c:136:72: warning: no return statement in function returning non-void [-Wreturn-type]
int BamReadOption::set_w_qry_seq(bool mqryseq){ m_w_qry_seq = mqryseq; }
^
BamReader.c: In member function ‘int BamReadOption::set_w_map_detail(bool, bool, char*, int)’:
BamReader.c:143:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
BamReader.c: In member function ‘int BamReadOption::set_w_qry_qual(bool)’:
BamReader.c:145:74: warning: no return statement in function returning non-void [-Wreturn-type]
int BamReadOption::set_w_qry_qual(bool mqryqual){ m_w_qry_qual=mqryqual; }
^
In file included from Fast5Reader.c:1:
Fast5Reader.h: In member function ‘virtual int F5Reader::readF5Channel()’:
Fast5Reader.h:133:33: warning: no return statement in function returning non-void [-Wreturn-type]
virtual int readF5Channel(){;}
^
Fast5Reader.h: In member function ‘virtual int F5Reader::readF5Fastq()’:
Fast5Reader.h:134:31: warning: no return statement in function returning non-void [-Wreturn-type]
virtual int readF5Fastq(){;}
^
Fast5Reader.h: In member function ‘virtual int F5Reader::readF5Events()’:
Fast5Reader.h:135:32: warning: no return statement in function returning non-void [-Wreturn-type]
virtual int readF5Events(){;}
^
Fast5Reader.h: In member function ‘virtual int F5Reader::readF5Signals()’:
Fast5Reader.h:136:33: warning: no return statement in function returning non-void [-Wreturn-type]
virtual int readF5Signals(){;}
^
Fast5Reader.c: In member function ‘int F5Reader::init(const char*, RunOption*)’:
Fast5Reader.c:219:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Fast5Reader.c: In member function ‘int F5Reader::del()’:
Fast5Reader.c:224:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Fast5Reader.c: In member function ‘int F5Reader::resetFast5File(const char*, RunOption*)’:
Fast5Reader.c:247:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Fast5Reader.c: In member function ‘int F5Reader::normalize_signal()’:
Fast5Reader.c:893:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from RepeatFeatExtract.h:7,
from RepeatFeatExtract.c:5:
Fast5Reader.h: In member function ‘virtual int F5Reader::readF5Channel()’:
Fast5Reader.h:133:33: warning: no return statement in function returning non-void [-Wreturn-type]
virtual int readF5Channel(){;}
^
Fast5Reader.h: In member function ‘virtual int F5Reader::readF5Fastq()’:
Fast5Reader.h:134:31: warning: no return statement in function returning non-void [-Wreturn-type]
virtual int readF5Fastq(){;}
^
Fast5Reader.h: In member function ‘virtual int F5Reader::readF5Events()’:
Fast5Reader.h:135:32: warning: no return statement in function returning non-void [-Wreturn-type]
virtual int readF5Events(){;}
^
Fast5Reader.h: In member function ‘virtual int F5Reader::readF5Signals()’:
Fast5Reader.h:136:33: warning: no return statement in function returning non-void [-Wreturn-type]
virtual int readF5Signals(){;}
^
In file included from RepeatFeatExtract.h:7,
from genomic1FE.c:14:
Fast5Reader.h: In member function ‘virtual int F5Reader::readF5Channel()’:
Fast5Reader.h:133:33: warning: no return statement in function returning non-void [-Wreturn-type]
virtual int readF5Channel(){;}
^
Fast5Reader.h: In member function ‘virtual int F5Reader::readF5Fastq()’:
Fast5Reader.h:134:31: warning: no return statement in function returning non-void [-Wreturn-type]
virtual int readF5Fastq(){;}
^
Fast5Reader.h: In member function ‘virtual int F5Reader::readF5Events()’:
Fast5Reader.h:135:32: warning: no return statement in function returning non-void [-Wreturn-type]
virtual int readF5Events(){;}
^
Fast5Reader.h: In member function ‘virtual int F5Reader::readF5Signals()’:
Fast5Reader.h:136:33: warning: no return statement in function returning non-void [-Wreturn-type]
virtual int readF5Signals(){;}
^
/usr/bin/ld: Fast5Reader.o: in function F5Reader::_init_(char const*, RunOption*)': Fast5Reader.c:(.text+0x16e7): undefined reference to H5::H5File::H5File(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, H5::FileCreatPropList const&, H5::FileAccPropList const&)'
/usr/bin/ld: Fast5Reader.o: in function F5Reader::_readF5Channel_(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)': Fast5Reader.c:(.text+0x3f34): undefined reference to H5::H5Location::openGroup(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) const'
/usr/bin/ld: Fast5Reader.c:(.text+0x3fb0): undefined reference to H5::H5Object::openAttribute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' /usr/bin/ld: Fast5Reader.c:(.text+0x405d): undefined reference to H5::H5Object::openAttribute(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) const'
/usr/bin/ld: Fast5Reader.c:(.text+0x413b): undefined reference to H5::H5Object::openAttribute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' /usr/bin/ld: Fast5Reader.c:(.text+0x421c): undefined reference to H5::H5Object::openAttribute(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) const'
/usr/bin/ld: Fast5Reader.o: in function F5Reader::_readF5Fastq_(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)': Fast5Reader.c:(.text+0x49d5): undefined reference to H5::H5Location::openDataSet(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) const'
/usr/bin/ld: Fast5Reader.c:(.text+0x4b06): undefined reference to H5::DataSet::read(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, H5::DataType const&, H5::DataSpace const&, H5::DataSpace const&, H5::DSetMemXferPropList const&) const' /usr/bin/ld: Fast5Reader.o: in function F5Reader::readF5Events(std::__cxx11::basic_string<char, std::char_traits, std::allocator >)':
Fast5Reader.c:(.text+0x5f0f): undefined reference to H5::H5Location::openDataSet(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' /usr/bin/ld: Fast5Reader.c:(.text+0x60b1): undefined reference to H5::CompType::insertMember(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned long, H5::DataType const&) const'
/usr/bin/ld: Fast5Reader.c:(.text+0x6145): undefined reference to H5::CompType::insertMember(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, H5::DataType const&) const' /usr/bin/ld: Fast5Reader.c:(.text+0x61d9): undefined reference to H5::CompType::insertMember(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned long, H5::DataType const&) const'
/usr/bin/ld: Fast5Reader.c:(.text+0x626d): undefined reference to H5::CompType::insertMember(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, H5::DataType const&) const' /usr/bin/ld: Fast5Reader.c:(.text+0x6326): undefined reference to H5::CompType::insertMember(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned long, H5::DataType const&) const'
/usr/bin/ld: Fast5Reader.o:Fast5Reader.c:(.text+0x63c5): more undefined references to H5::CompType::insertMember(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, H5::DataType const&) const' follow /usr/bin/ld: Fast5Reader.o: in function F5Reader::readF5Signals(std::__cxx11::basic_string<char, std::char_traits, std::allocator >)':
Fast5Reader.c:(.text+0x6b7c): undefined reference to H5::H5Location::openDataSet(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' /usr/bin/ld: Fast5Reader.c:(.text+0x6bb1): undefined reference to H5::DataSet::read(std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, H5::DataType const&, H5::DataSpace const&, H5::DataSpace const&, H5::DSetMemXferPropList const&) const'
/usr/bin/ld: Fast5Reader.o: in function F5Reader1::readF5Signals()': Fast5Reader.c:(.text+0x70f8): undefined reference to H5::H5Location::openGroup(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) const'
/usr/bin/ld: Fast5Reader.c:(.text+0x71e6): undefined reference to `H5::H5Location::getObjnameByIdx[abi:cxx11](unsigned long long) const'
collect2: error: ld returned 1 exit status
Any tips on how to fix it?
Thank you very much!