Unconfigured Ad

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

    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
                Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                by SEQadmin2



                Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                Today, 05:17 AM
              • GATTACAT
                Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                by GATTACAT
                Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                07-01-2026, 11:43 AM
              • SEQadmin2
                Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                by SEQadmin2


                I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                Here are nine questions we think about, in roughly the order they matter, before...
                06-18-2026, 07:11 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, Today, 10:08 AM
              0 responses
              6 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, Yesterday, 11:05 AM
              0 responses
              8 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-02-2026, 11:08 AM
              0 responses
              31 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-30-2026, 05:37 AM
              0 responses
              28 views
              0 reactions
              Last Post SEQadmin2  
              Working...