Skip to content

Instantly share code, notes, and snippets.

@lenards
Created June 27, 2012 18:19
Show Gist options
  • Select an option

  • Save lenards/3005821 to your computer and use it in GitHub Desktop.

Select an option

Save lenards/3005821 to your computer and use it in GitHub Desktop.
Compile error when doing default ``make`` of pair_reads
[username pair_reads]$ make
g++ -O3 -static -std=c++0x -o pairfa pairfa.cpp
g++ -O3 -static -std=c++0x -o pairfq pairfq.cpp
g++ -O3 -static -std=c++0x -o repair repair.cpp
repair.cpp:41: error: ‘read’ is not a type
repair.cpp:41: error: ‘read’ is not a type
repair.cpp: In member function ‘void printer::print(int&, int&)’:
repair.cpp:43: error: ‘p1out’ was not declared in this scope
repair.cpp:43: error: base operand of ‘->’ is not a pointer
repair.cpp:43: error: base operand of ‘->’ is not a pointer
repair.cpp:43: error: base operand of ‘->’ is not a pointer
repair.cpp:43: error: base operand of ‘->’ is not a pointer
repair.cpp:44: error: ‘p2out’ was not declared in this scope
repair.cpp:44: error: base operand of ‘->’ is not a pointer
repair.cpp:44: error: base operand of ‘->’ is not a pointer
repair.cpp:44: error: base operand of ‘->’ is not a pointer
repair.cpp:44: error: base operand of ‘->’ is not a pointer
repair.cpp:46: error: ‘p1out’ was not declared in this scope
repair.cpp:46: error: base operand of ‘->’ is not a pointer
repair.cpp:46: error: base operand of ‘->’ is not a pointer
repair.cpp:47: error: ‘p2out’ was not declared in this scope
repair.cpp:47: error: base operand of ‘->’ is not a pointer
repair.cpp:47: error: base operand of ‘->’ is not a pointer
repair.cpp: At global scope:
repair.cpp:25: error: new types may not be defined in a return type
repair.cpp:25: note: (perhaps a semicolon is missing after the definition of ‘printer’)
repair.cpp:56: error: two or more data types in declaration of ‘comp’
repair.cpp: In function ‘void rev_comp(read&)’:
repair.cpp:105: error: ‘comp’ was not declared in this scope
make: *** [repair] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment