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
                Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                by SEQadmin2



                Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                ...
                10-14-2026, 09:55 AM
              • SEQadmin2
                New Genomics Technologies Take Aim at Long-Standing Limits
                by SEQadmin2


                Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                ...
                09-28-2026, 10:25 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, Yesterday, 10:52 AM
              0 responses
              8 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-14-2026, 05:39 AM
              0 responses
              19 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-13-2026, 09:56 AM
              0 responses
              16 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-09-2026, 11:14 AM
              0 responses
              27 views
              0 reactions
              Last Post SEQadmin2  
              Working...