Re: [Seqan-dev] printing String<Dna>


Dear Haluk,

Make sure to include <seqan/stream.h>.

Cheers,
Manuel


From: Haluk Dogan [hlk.dogan@gmail.com]
Sent: Friday, February 20, 2015 8:25 AM
To: seqan-dev@lists.fu-berlin.de
Subject: [Seqan-dev] printing String<Dna>

Hi,

I have "use of undeclared identifier 'directionIterator'" error while printing a String<Dna> object. My gcc version is 4.9. Is the problem on my side?

The full error output is in the following:

seqan-src/include/seqan/sequence/string_base.h:2009:60: error: use of undeclared identifier 'directionIterator'

    typename DirectionIterator<TStream, Output>::Type it = directionIterator(target, Output());

                                                           ^

~/git/seqan-src/demos/seqan_dev/test.cpp:37:15: note: in instantiation of function template specialization 'seqan::operator<<<std::__1::basic_ostream<char>, seqan::SimpleType<unsigned char, seqan::Dna_>,

      seqan::Alloc<void> >' requested here

    std::cout << dnaSeq << std::endl;

Thank you.
--
HD