View Single Post
Old 07-15-2008, 12:17 PM   #13
ECO
--Site Admin--
 
Location: SF Bay Area, CA, USA

Join Date: Oct 2007
Posts: 1,358
Default

Quote:
Originally Posted by jjcook View Post
In align.h, you may need to change the 'reverse' call to 'std::reverse'

In main.cpp, you should add
Code:
#include <stdlib.h>
to the top of the file.

Given I can't duplicate your error with my version of gcc, I can't test if those fixes will work -- but hopefully they do
We're gettin' there...thanks again for your help. The #include removed most of the errors:

Code:
g++ -static -DMAXGAP=3 -DMAXHITS=10000 -DTHREAD -O3   -DDB_CHR -DREAD_60  -c main.cpp -o main.chr.o
In file included from main.cpp:12:
align.h: In member function ‘void SingleAlign::Reverse_Seq()’:
align.h:286: error: ‘reverse’ was not declared in this scope
align.h: In member function ‘void SingleAlign::Reverse_Qual()’:
align.h:294: error: ‘reverse’ was not declared in this scope
make: *** [main.chr.o] Error 1
...then changing the align.h didn't appear to work...

Code:
g++ -static -DMAXGAP=3 -DMAXHITS=10000 -DTHREAD -O3   -DDB_CHR -DREAD_60  -c main.cpp -o main.chr.o
In file included from main.cpp:12:
align.h: In member function ‘void SingleAlign::Reverse_Seq()’:
align.h:286: error: ‘reverse’ is not a member of ‘std’
align.h: In member function ‘void SingleAlign::Reverse_Qual()’:
align.h:294: error: ‘reverse’ is not a member of ‘std’
make: *** [main.chr.o] Error 1
ECO is offline   Reply With Quote