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

Re: [Seqan-dev] Error with samtools library

<-- thread -->
<-- date -->
  • From: Hannes Hauswedell <hannes.hauswedell@fu-berlin.de>
  • To: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Date: Wed, 17 Feb 2016 14:22:10 +0100
  • Organization: MPI MolGen / FU-Berlin
  • Reply-to: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Subject: Re: [Seqan-dev] Error with samtools library

Dear Jakob,


Am Montag, 15. Februar 2016, 15:34:21 schrieb Schulze, Jakob:
> Hi everyone,
> I came across some code which uses the samtools library. Together with seqan
> there is an error which seems to come from samtools but I do not know why.
> Since I am not the author of the samtools include I cannot say much about
> the corresponding lines in the CMakeLists.txt But since commenting out
> seqan from the main.cpp solves the error, I imagined this has something to
> do with seqan.

> [...]

> /home/schulzeja/masterthesis/workDir/seqanTestForReport2/build/samtools-1.2
> /htslib-1.2.1/htslib/bgzf.h:38:29: error: expected unqualified-id before
> numeric constant #define BGZF_MAX_BLOCK_SIZE 0x10000
>                              ^
> /home/schulzeja/masterthesis/tools/seqan-src/include/seqan/stream/iostream_b
> gzf.h:25:16: note: in expansion of macro ‘BGZF_MAX_BLOCK_SIZE’ const
> unsigned BGZF_MAX_BLOCK_SIZE = 64 * 1024;


that is unfortunate. It seems like both libraries use BGZF_MAX_BLOCK_SIZE. We 
will discuss whether we can change this internally, but that won't help you 
right now.
If you use the new SeqAn release you could *not look* for the compression 
libraries, i.e. do not call find_package(zlib). This should deactivate our 
bgzf code and then it should compile.

Best regards,
-- 
Hannes Hauswedell

PhD student
Max Planck Institute for Molecular Genetics / Freie Universität Berlin

address     Institut für Informatik
            Takustraße 9
            Room 019
            14195 Berlin
telephone   +49 (0)30 838-75241
fax         +49 (0)30 838-75218
e-mail      hannes.hauswedell@[molgen.mpg.de|fu-berlin.de]



<-- thread -->
<-- date -->
  • Follow-Ups:
    • Re: [Seqan-dev] Error with samtools library
      • From: "Schulze, Jakob" <SchulzeJa@rki.de>
  • References:
    • [Seqan-dev] Error with samtools library
      • From: "Schulze, Jakob" <SchulzeJa@rki.de>
  • seqan-dev - February 2016 - 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