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


I see. It worked now. I copied the whole code from Sequences tutorial. stream.h is missing in the tutorial.

Thank you.

On Fri, Feb 20, 2015 at 2:36 AM, Holtgrewe, Manuel <manuel.holtgrewe@fu-berlin.de> wrote:
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

_______________________________________________
seqan-dev mailing list
seqan-dev@lists.fu-berlin.de
https://lists.fu-berlin.de/listinfo/seqan-dev




--
HD