gungwei - 2014-10-02

Hi,

I am trying to compile the code. After typing "make" under 'tools/', I got the error message:
"/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/bits/stl_pair.h:73: error: 'std::pair<_T1, _T2>::second' has incomplete type"
"SplitAlignment.h:24: error: forward declaration of 'class SplitAlignment'"

I have installed 'boost' under my home directory. Is this a problem?
Below is a more complete compiling messages.

Thanks,

Gungwei

=========================================================
[guest9 tools]$ make
g++ -O3 -g -DDEBUG_CHECKS -I. -I../include -I../external/samtools-0.1.8 -I../external/zlib-1.2.5 -I../external/BamTools-2.0/ -I../external/BamTools-2.0/api -c -o initsplitalign.o initsplitalign.cpp
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/bits/stl_algobase.h:66,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/vector:61,
from Common.h:13,
from initsplitalign.cpp:8:
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/bits/stl_pair.h: In instantiation of 'std::pair<const int,="" splitalignment="">':
/usr/include/boost/unordered/detail/fwd.hpp:182: instantiated from 'boost::unordered_detail::value_base<std::pair\<const int,="" splitalignment=""> >'
/usr/include/boost/unordered/detail/fwd.hpp:198: instantiated from 'boost::unordered_detail::hash_node<std::allocator\<std::pair\<const int,="" splitalignment=""> >, boost::unordered_detail::ungrouped>'
/usr/include/boost/unordered/detail/fwd.hpp:217: instantiated from 'boost::unordered_detail::hash_iterator_base<std::allocator\<std::pair\<const int,="" splitalignment=""> >, boost::unordered_detail::ungrouped>'
/usr/include/boost/unordered/detail/fwd.hpp:275: instantiated from 'boost::unordered_detail::hash_buckets<std::allocator\<std::pair\<const int,="" splitalignment=""> >, boost::unordered_detail::ungrouped>'
/usr/include/boost/unordered/detail/fwd.hpp:437: instantiated from 'boost::unordered_detail::hash_table<boost::hash\<int>, std::equal_to\<int>, std::allocator\<std::pair\<const int,="" splitalignment=""> >, boost::unordered_detail::ungrouped, boost::unordered_detail::map_extractor>'
/usr/include/boost/unordered/detail/fwd.hpp:576: instantiated from 'boost::unordered_detail::hash_unique_table<boost::hash\<int>, std::equal_to\<int>, std::allocator\<std::pair\<const int,="" splitalignment=""> >, boost::unordered_detail::map_extractor>'
/usr/include/boost/unordered/unordered_map.hpp:64: instantiated from 'boost::unordered_map<int, splitalignment,="" boost::hash\<int="">, std::equal_to\<int>, std::allocator\<std::pair\<const int,="" splitalignment=""> > >'
SplitAlignment.h:27: instantiated from here
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/bits/stl_pair.h:73: error: 'std::pair<_T1, _T2>::second' has incomplete type
SplitAlignment.h:24: error: forward declaration of 'class SplitAlignment'</std::pair\<const></int></int,></std::pair\<const></int></boost::hash\<int></std::pair\<const></int></boost::hash\<int></std::allocator\<std::pair\<const></std::allocator\<std::pair\<const></std::allocator\<std::pair\<const></std::pair\<const></const>