Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mattia
    Member
    • Aug 2011
    • 30

    #1

    Cufflinks 2 - install error

    Hi,
    I'm trying to install Cufflink2.0.2 in order to compare new version and "old" version (1.3.0) and to upgrade my pipeline. I type:

    Code:
    ./configure --prefix=$HOME/path/to/my/Cufflinks2/dir --with-boost=/path/to/boost/library --with-bam=path/to/Samtools/dir [COLOR="Red"]--with-eigen=/path/to/Eigen/eigen-eigen-5097c01bcdc4/Eigen[/COLOR]
    up to here, so good (I used the same command without --with-eigen option to install old version); however when i type "make" command, I see this error message:

    Code:
    [user@server]$ make
    make  all-recursive
    make[1]: Entering directory `/home/software_analisi/Cufflinks2/cufflinks-2.0.2'
    Making all in src
    make[2]: Entering directory `/home/software_analisi/Cufflinks2/cufflinks-2.0.2/src'
    if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../src  -I/usr/include  -Wall -Wno-strict-aliasing -g -gdwarf-2 -Wunused -Wuninitialized -m64 -O3  -DNDEBUG  -pthread -I/home/software_analisi/boost/librerie/include -I/home/software_analisi/SAMTools/include -I/home/software_analisi/altri_software/Eigen/eigen-eigen-5097c01bcdc4/Eigen/include -MT clustering.o -MD -MP -MF ".deps/clustering.Tpo" -c -o clustering.o clustering.cpp; \
            then mv -f ".deps/clustering.Tpo" ".deps/clustering.Po"; else rm -f ".deps/clustering.Tpo"; exit 1; fi
    In file included from clustering.h:38,
                     from clustering.cpp:10:
    abundances.h:21:23: [COLOR="Red"]error: Eigen/Dense: No such file or directory[/COLOR]
    progressbar.h: In constructor âProgressBar::ProgressBar(std::string, double)â:
    progressbar.h:28: warning: converting to âintâ from âdoubleâ
    progressbar.h: In member function âvoid ProgressBar::update(const char*, double)â:
    progressbar.h:61: warning: converting to âintâ from âlong doubleâ
    progressbar.h: In member function âvoid ProgressBar::remaining(int)â:
    progressbar.h:81: warning: converting to âintâ from âlong doubleâ
    abundances.h: At global scope:
    abundances.h:379: error: âEigenâ was not declared in this scope
    abundances.h:379: error: template argument 1 is invalid
    abundances.h:379: error: template argument 2 is invalid
    abundances.h:465: error: âEigenâ was not declared in this scope
    abundances.h:465: error: template argument 1 is invalid
    abundances.h:465: error: template argument 2 is invalid
    abundances.h:558: error: âEigenâ was not declared in this scope
    abundances.h:558: error: template argument 1 is invalid
    abundances.h:558: error: template argument 2 is invalid
    abundances.h:641: error: âEigenâ was not declared in this scope
    abundances.h:641: error: template argument 1 is invalid
    abundances.h:641: error: template argument 2 is invalid
    abundances.h:645: error: expected â,â or â...â before â::â token
    abundances.h:648: error: ISO C++ forbids declaration of âEigenâ with no type
    abundances.h:650: error: expected â,â or â...â before â::â token
    abundances.h:653: error: ISO C++ forbids declaration of âEigenâ with no type
    clustering.h:85: error: âEigenâ was not declared in this scope
    clustering.h:85: error: template argument 1 is invalid
    clustering.h:85: error: template argument 2 is invalid
    clustering.h: In function âvoid cluster_transcripts(const AbundanceGroup&, std::vector<AbundanceGroup, std::allocator<AbundanceGroup> >&, boost::numeric::ublas::matrix<double, boost::numeric::ublas::basic_row_major<long unsigned int, long int>, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > >*, boost::numeric::ublas::matrix<double, boost::numeric::ublas::basic_row_major<long unsigned int, long int>, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > >*, boost::numeric::ublas::matrix<double, boost::numeric::ublas::basic_row_major<long unsigned int, long int>, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > >*, boost::numeric::ublas::matrix<double, boost::numeric::ublas::basic_row_major<long unsigned int, long int>, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > >*, int*)â:
    clustering.h:129: error: âEigenâ was not declared in this scope
    clustering.h:129: error: template argument 1 is invalid
    clustering.h:129: error: template argument 2 is invalid
    clustering.h:129: error: invalid type in declaration before â=â token
    clustering.h:135: error: âEigenâ cannot appear in a constant-expression
    clustering.h:135: error: template argument 1 is invalid
    clustering.h:135: error: template argument 2 is invalid
    clustering.h:135: error: invalid type in declaration before â=â token
    clustering.h:144: error: âEigenâ cannot appear in a constant-expression
    clustering.h:144: error: template argument 1 is invalid
    clustering.h:144: error: template argument 2 is invalid
    clustering.h:144: error: request for member âsizeâ in âtrans_assigned_countsâ, which is of non-class type âconst intâ
    clustering.h:144: error: request for member âsizeâ in âtrans_assigned_countsâ, which is of non-class type âconst intâ
    clustering.h:144: error: âEigenâ is not a class or namespace
    clustering.h:170: error: request for member âsizeâ in âassigned_countsâ, which is of non-class type âintâ
    clustering.h:175: error: invalid types âconst int[size_t]â for array subscript
    clustering.h:177: error: invalid types âint[size_t]â for array subscript
    make[2]: *** [clustering.o] Error 1
    make[2]: Leaving directory `/home/software_analisi/Cufflinks2/cufflinks-2.0.2/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/software_analisi/Cufflinks2/cufflinks-2.0.2'
    make: *** [all] Error 2
    Do you have any suggestions to solve my issue?

    Thanks.
  • aafc
    Member
    • Dec 2012
    • 10

    #2
    Did you actually compile Eigen with cmake? From your directory structure, it looks likes you just extracted the tarball.

    Comment

    • mattia
      Member
      • Aug 2011
      • 30

      #3
      Yes, I compiled eigen in this way:
      Code:
      mkdir /home/software_analisi/altri_software/Eigen/bin
      cd [COLOR="Red"]/home/software_analisi/altri_software/Eigen/bin[/COLOR]
      /home/software_analisi/altri_software/cmake/cmake-2.8.10.2/bin/cmake /home/software_analisi/altri_software/Eigen/eigen-eigen-5097c01bcdc4
      make install
      However (is not REQUIRED ) to compile eigen.


      Code:
      ./configure --prefix=/home/software_analisi/Cufflinks2/bin --with-boost=/home/software_analisi/boost/librerie --with-bam=/home/software_analisi/SAMTools --with-eigen=[COLOR="Blue"]/home/software_analisi/altri_software/Eigen/eigen-eigen-5097c01bcdc4/Eigen[/COLOR]


      the directory /home/software_analisi/altri_software/Eigen/eigen-eigen-5097c01bcdc4/Eigen in --with-eigen option is not the same of /home/software_analisi/altri_software/Eigen/bin/Eigen

      Comment

      • aafc
        Member
        • Dec 2012
        • 10

        #4
        Does the Eigen directory that you installed have include as a subdirectory? Does include contain the following files and directories? :

        Eigen/ <---- this is /home/software_analisi/altri_software/Eigen/eigen-eigen-5097c01bcdc4/Eigen
        --- include/
        ------ Eigen/{Array,...,Dense,...UmfPackSupport}
        ------ unsupported/
        ------ signature_of_eigen3_matrix_library

        Comment

        • mattia
          Member
          • Aug 2011
          • 30

          #5
          I have not "include" directory in ../../eigen-eigen-5097c01bcdc4/Eigen

          So, do i have to create ../../eigen-eigen-5097c01bcdc4/Eigen/include and put all files in it?????

          my directory tree is in attachments.

          Thanks a lot.
          Attached Files

          Comment

          • aafc
            Member
            • Dec 2012
            • 10

            #6
            Yeah, COPY (in case we do something wrong) the library files into Eigen/include. Try that. Otherwise, re-read the Eigen documentation and make sure you've installed it properly.

            Comment

            • mattia
              Member
              • Aug 2011
              • 30

              #7
              ok I solve my problem; in particular (for other users):
              You have to:
              Code:
              tar -zxvf eigen-eigen-5097c01bcdc4.tar.gz; (for actual eigen package: version 3.1.2)
              cd eigen-eigen-5097c01bcdc4;
              mkdir /your/path/include
              cp -R eigen-eigen-5097c01bcdc4/Eigen [COLOR="Red"]/your/path[/COLOR]/include
              ./configure --prefix=/bin/path --with-boost=/boost/path --with-bam=/sam/path --with-eigen=[COLOR="Red"]/your/path[/COLOR]
              make
              make install
              .

              Thanks a lot aafc.

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                by SEQadmin2



                CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                Despite this, “CRISPR helped turn genome editing from a specialized technique into
                ...
                Yesterday, 11:01 AM
              • SEQadmin2
                Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                by SEQadmin2


                Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                The systematic characterization of the human proteome has
                ...
                07-20-2026, 11:48 AM
              • SEQadmin2
                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                by SEQadmin2



                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                ...
                07-09-2026, 11:10 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, Yesterday, 02:55 AM
              0 responses
              9 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-24-2026, 12:17 PM
              0 responses
              12 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-23-2026, 11:41 AM
              0 responses
              12 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-20-2026, 11:10 AM
              0 responses
              24 views
              0 reactions
              Last Post SEQadmin2  
              Working...