Hi all,
I'm installing CASAVA 1.8.2 on a Mac OS X Server, 10.6.7.
I have the following error, your help is welcome.
I have install it successfully on my personnal mac, a Mac Os X 10.7.3 with Xcode 4.
Regards,
Mercutio
I'm installing CASAVA 1.8.2 on a Mac OS X Server, 10.6.7.
I have the following error, your help is welcome.
Code:
[ 51%] Building CXX object c++/lib/assembly/CMakeFiles/casava_assembly.dir/SmallAssemblerImpl.cpp.o In file included from /opt/local/include/gcc47/c++/bits/char_traits.h:41:0, from /opt/local/include/gcc47/c++/string:42, from /Users/semhoun/CASAVA_v1.8.2/src/c++/include/assembly/AssembledContig.hh:26, from /Users/semhoun/CASAVA_v1.8.2/src/c++/include/assembly/SmallAssemblerImpl.hh:27, from /Users/semhoun/CASAVA_v1.8.2/src/c++/lib/assembly/SmallAssemblerImpl.cpp:22: /opt/local/include/gcc47/c++/bits/stl_algobase.h: In instantiation of 'typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >*; _Tp = std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >; typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type = void]': /opt/local/include/gcc47/c++/bits/stl_algobase.h:722:7: required from 'void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >*; _Tp = std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >]' /opt/local/include/gcc47/c++/bits/vector.tcc:459:5: required from 'void std::vector<_Tp, _Alloc>::_M_fill_insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >; _Alloc = std::allocator<std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> > >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >*, std::vector<std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> > > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >*; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >]' /opt/local/include/gcc47/c++/bits/stl_vector.h:1022:9: required from 'void std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >; _Alloc = std::allocator<std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> > >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >*, std::vector<std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> > > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >*; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >]' /opt/local/include/gcc47/c++/bits/stl_vector.h:705:4: required from 'void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type, std::vector<_Tp, _Alloc>::value_type) [with _Tp = std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >; _Alloc = std::allocator<std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> > >; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >]' /Users/semhoun/CASAVA_v1.8.2/src/c++/lib/assembly/SmallAssemblerImpl.cpp:242:46: required from here /opt/local/include/gcc47/c++/bits/stl_algobase.h:676:2: error: no match for 'operator=' in '* __first = __value' /opt/local/include/gcc47/c++/bits/stl_algobase.h:676:2: note: candidate is: In file included from /opt/local/include/gcc47/c++/bits/stl_algobase.h:65:0, from /opt/local/include/gcc47/c++/bits/char_traits.h:41, from /opt/local/include/gcc47/c++/string:42, from /Users/semhoun/CASAVA_v1.8.2/src/c++/include/assembly/AssembledContig.hh:26, from /Users/semhoun/CASAVA_v1.8.2/src/c++/include/assembly/SmallAssemblerImpl.hh:27, from /Users/semhoun/CASAVA_v1.8.2/src/c++/lib/assembly/SmallAssemblerImpl.cpp:22: /opt/local/include/gcc47/c++/bits/stl_pair.h:88:12: note: std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >& std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >::operator=(std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >&) /opt/local/include/gcc47/c++/bits/stl_pair.h:88:12: note: no known conversion for argument 1 from 'const std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >' to 'std::pair<unsigned int, boost::unordered::unordered_map<std::basic_string<char>, unsigned int> >&' make[2]: *** [c++/lib/assembly/CMakeFiles/casava_assembly.dir/SmallAssemblerImpl.cpp.o] Error 1 make[1]: *** [c++/lib/assembly/CMakeFiles/casava_assembly.dir/all] Error 2 make: *** [all] Error 2
Regards,
Mercutio
Comment