Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cmake (ensure_out_of_source_build) error

    Currently I would like to install bamtools.
    However, I keep on facing the following bug message:
    CMake Error at CMakeLists.txt:20 (message):


    BamTools requires an out of source build.
    $ mkdir build
    $ cd build
    $ cmake ..
    $ make

    (or the Windows equivalent)

    Call Stack (most recent call first):
    CMakeLists.txt:24 (ensure_out_of_source_build)


    -- Configuring incomplete, errors occurred!

    Anyone got advice to solve this bug?
    I have follow the step by step as shown in bamtools installation manual and the following link,
    C++ API & command-line toolkit for working with BAM data - pezmaster31/bamtools

    The patch allows to create a working out-of-source build tree: git clone https://github.com/domibel/bamtools.git mkdir bamtools-build cd bamtools-build cmake ../bamtools make The source tree bamtoo...


    Thanks.

  • #2
    Where are you creating the build folder? The out-of-source build constraint means you aren't allowed to build the executable in your source directory (so that you don't clutter up the source tree).

    I just tried the following steps, and it seemed to work fine on my Mac.

    Code:
    git clone https://github.com/domibel/bamtools.git
    mkdir bamtools-build
    cd bamtools-build
    cmake ../bamtools
    make
    The bamtools-build directory is at the same level as the bamtools directory. The bamtools executable will be in bamtools-build/bin

    Justin

    Comment


    • #3
      Thanks BAMseek.

      You are right.
      You solved my problem instead

      Many thanks.

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Strategies for Sequencing Challenging Samples
        by seqadmin


        Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
        03-22-2024, 06:39 AM
      • seqadmin
        Techniques and Challenges in Conservation Genomics
        by seqadmin



        The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

        Avian Conservation
        Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
        03-08-2024, 10:41 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 06:37 PM
      0 responses
      12 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, Yesterday, 06:07 PM
      0 responses
      10 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-22-2024, 10:03 AM
      0 responses
      51 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-21-2024, 07:32 AM
      0 responses
      68 views
      0 likes
      Last Post seqadmin  
      Working...
      X