Make sure to include <seqan/stream.h>.
From: Haluk Dogan [email@example.com]
Sent: Friday, February 20, 2015 8:25 AM
Subject: [Seqan-dev] printing String<Dna>
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;