FU Logo
  • Startseite
  • Kontakt
  • Impressum
  • Home
  • Listenauswahl
  • Anleitungen

Re: [Seqan-dev] Starting with SeqAn

<-- thread -->
<-- date -->
  • From: Rahn, René <Rene.Rahn@fu-berlin.de>
  • To: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Date: Wed, 06 Dec 2017 11:52:37 +0100
  • Reply-to: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Subject: Re: [Seqan-dev] Starting with SeqAn

Hi, welcome to SeqAn.

You need to tell the compiler where to find the SeqAn library. Since SeqAn is header only you only need to add -I /path_to_seqan/include to the compiler call.
It then should find the SeqAn header.

HTH,

René 

On 5. Dec 2017, at 23:21, SR B <sbdk82@gmail.com> wrote:

Hello, 
I am new to c++ and seqAn. To begin with, I am trying to compile the following simple program (simple.cpp) like this 

g++ -o simple simple.cpp -std=c++11

But I know that I am not able to link to header files that is included. Can anyone help me how to start?
simple.cpp
#include <seqan/sequence.h>

int main(int argc, char const ** argv)
{
    seqan::String<char> programName = argv[0];
    if (argc > 1)
    {
        seqan::String<char> firstArg = argv[1];
        if (argc > 2)
            return 1;
    }
    return 0;
}
_______________________________________________
seqan-dev mailing list
seqan-dev@lists.fu-berlin.de
https://lists.fu-berlin.de/listinfo/seqan-dev

---

René Rahn
Ph.D. Student (de.NBI - CIBI)
--------------------------------
Tel:  (+49) 30 838 72974
Mail: rene.rahn@fu-berlin.de
--------------------------------
Institute of Computer Science
Algorithmic Bioinformatics (ABI)
--------------------------------
Freie Universität Berlin
Takustraße 9
14195 Berlin
--------------------------------

<-- thread -->
<-- date -->
  • References:
    • [Seqan-dev] Starting with SeqAn
      • From: SR B <sbdk82@gmail.com>
  • seqan-dev - December 2017 - Archives indexes sorted by:
    [ thread ] [ subject ] [ author ] [ date ]
  • Complete archive of the seqan-dev mailing list
  • More info on this list...

Hilfe

  • FAQ
  • Dienstbeschreibung
  • ZEDAT Beratung
  • postmaster@lists.fu-berlin.de

Service-Navigation

  • Startseite
  • Listenauswahl

Einrichtung Mailingliste

  • ZEDAT-Portal
  • Mailinglisten Portal