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

Re: [Seqan-dev] CMake issue

<-- thread -->
<-- date -->
  • From: Rahn, René <Rene.Rahn@fu-berlin.de>
  • To: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Date: Mon, 11 Dec 2017 09:45:56 +0100
  • Reply-to: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Subject: Re: [Seqan-dev] CMake issue

Hi Nick,

we are not the maintainer of the Ubuntu package and it seems that SeqAn is shipped in an outdated version.
Apparently it seems, that the respective file FindSeqAn.cmake or seqan-config.cmake is not in the set of included files.
We can check if we can get the guys to update the version, which might solve the problem, but I guess this will take some time.

So I would recommend to install SeqAn from source, which is easy to do as well: http://seqan.readthedocs.io/en/master/Infrastructure/Use/Install.html#full-sources
Then when writing your CMake file you need to set
CMAKE_PREFIX_PATH="path_to/seqan/util/cmake", and
SEQAN_INCLUDE_PATH="path_to/seqan/include"
before calling 
find_package(SeqAn).

Please let us know, if this helps.

Best regards,

René Rahn


On 9. Dec 2017, at 17:01, Peter Robinson <Peter.Robinson@jax.org> wrote:

Hi everybody,
I am trying to use SeqAn in a new project, and am running into issues with CMake.
I am running an up-to-date Ubuntu system and installed seqan like this
$sudo apt install seqan-dev
According to this (
http://seqan.readthedocs.io/en/master/Infrastructure/Use/Install.html#infra-use-install
) and this (
http://seqan.readthedocs.io/en/master/Infrastructure/Use/FindSeqAnCMake.html
)
the installation procedure should put a file called seqan-config.cmake  into a system path that CMake would find.
However, apparently no such file gets installed, and CMake produces an error message that I pasted into the bottom of this mail.
Is there an example anywhere of what the seqan-config.cmake needs to look like? I have tried various options but cannot get it to work. Where do these files go?
thanks Peter Nick R. 



CMake Error at CMakeLists.txt:33 (find_package):
  By not providing "FindSeqAn.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "SeqAn", but
  CMake did not find one.

  Could not find a package configuration file provided by "SeqAn" with any of
  the following names:

    SeqAnConfig.cmake
    seqan-config.cmake

  Add the installation prefix of "SeqAn" to CMAKE_PREFIX_PATH or set
  "SeqAn_DIR" to a directory containing one of the above files.  If "SeqAn"
  provides a separate development package or SDK, be sure it has been
  installed.




Peter Robinson
Professor and Donald A. Roux Chair, Genomics and Computational Biology
The Jackson Laboratory for Genomic Medicine
10 Discovery Drive
Farmington, CT 06032
860.837.2095 t | 860.990.3130 m
peter.robinson@jax.org
www.jax.org
Robinson lab: https://robinsongroup.github.io/
New Book: Computational Exome and Genome Analysis
The Jackson Laboratory: Leading the search for tomorrow's cures
---

The information in this email, including attachments, may be confidential and is intended solely for the addressee(s). If you believe you received this email by mistake, please notify the sender by return email as soon as possible. _______________________________________________
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] CMake issue
      • From: Peter Robinson <Peter.Robinson@jax.org>
  • 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