Menu

Compiling errors

Help
Nikhil
2012-08-23
2013-04-23
  • Nikhil

    Nikhil - 2012-08-23

    Hi,
    I am trying to compile SUMmOn. I have installed all the prerequisites and edited the makefile. But when I try to compile, I get the following readout:

    g++ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE     -I. -I -I. -I -Wno-deprecated -c ./ InOut.cpp
    In file included from InOut.cpp:26:0:
    InOut.hpp: In member function ‘void InOut::reverseMass()’:
    InOut.hpp:134:48: error: ‘reverse’ was not declared in this scope
    InOut.cpp: In member function ‘void InOut::plotHistogramCandidate(std::vector<scanAnalysis>)’:
    InOut.cpp:981:59: error: ‘sort’ was not declared in this scope
    InOut.cpp:982:62: error: ‘reverse’ was not declared in this scope
    make: *** [InOut.o] Error 1
    

    Please help.
    Thanks.
    Nikhil

     
  • Nikhil

    Nikhil - 2012-08-24

    Update: I sorted out that problem. But now it's saying:

    make: *** No rule to make target `/base64.o', needed by `main'.  Stop.
    

    Any ideas? I looked for base64.o in ramp directory, but it's not there. What am I doing wrong?

     
  • Nikhil

    Nikhil - 2012-08-27

    I hope someone responds. But I am stuck ,so here goes:
    I couldn't get it installed, so after reading through some previous posts, I downloaded an older version of ramp and pointed RAMPROOT to that folder. Now I am getting:

    In file included from PeaksUtils.cpp:25:
    PeaksUtils.hpp:29:18: error: ramp.h: No such file or directory
    PeaksUtils.hpp:32:18: error: ramp.c: No such file or directory
    In file included from PeaksUtils.cpp:25:
    PeaksUtils.hpp:51: error: RAMPFILE has not been declared
    PeaksUtils.hpp:51: error: ramp_fileoffset_t has not been declared
    In file included from PeaksUtils.cpp:25:
    PeaksUtils.hpp:52: error: RAMPFILE has not been declared
    PeaksUtils.hpp:52: error: ramp_fileoffset_t has not been declared
    PeaksUtils.hpp:53: error: RAMPFILE has not been declared
    PeaksUtils.hpp:53: error: ramp_fileoffset_t has not been declared
    PeaksUtils.hpp:65: error: RAMPFILE has not been declared
    PeaksUtils.hpp:65: error: ramp_fileoffset_t has not been declared
    PeaksUtils.cpp:38: error: RAMPFILE has not been declared
    PeaksUtils.cpp:38: error: ramp_fileoffset_t has not been declared
    PeaksUtils.cpp:55: error: double PeaksUtils::calculateTIC is not a static member of class PeaksUtils
    PeaksUtils.cpp:55: error: RAMPFILE was not declared in this scope
    PeaksUtils.cpp:55: error: rampFile was not declared in this scope
    PeaksUtils.cpp:55: error: ramp_fileoffset_t was not declared in this scope
    PeaksUtils.cpp:55: error: pScanIndex was not declared in this scope
    PeaksUtils.cpp:55: error: expected primary-expression before int
    PeaksUtils.cpp:55: error: expected primary-expression before int
    PeaksUtils.cpp:55: error: expected primary-expression before int
    PeaksUtils.cpp:55: error: initializer expression list treated as compound expression
    PeaksUtils.cpp:56: error: expected , or ; before { token
    make: *** [PeaksUtils.o] Error 1
    

    Does anyone know a solution?

     

Log in to post a comment.

MongoDB Logo MongoDB