This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Errors When Compile Reas V2.02

When I tried to compile ReAS using "make", errors occured as following:

g++ -O3 -c Clustering.cpp -o Clustering.o

Clustering.cpp:29:22: warning: deprecated conversion from string constant to ‘char*’

Clustering.cpp:30:23: warning: deprecated conversion from string constant to ‘char*’

Clustering.cpp:31:22: warning: deprecated conversion from string constant to ‘char*’

Clustering.cpp:32:24: warning: deprecated conversion from string constant to ‘char*’ Clustering.cpp: In function ‘void usage()’:

Clustering.cpp:47:8: error: ‘exit’ was not declared in this scope

Clustering.cpp: In function ‘int main(int, char**)’:

Clustering.cpp:52:19: warning: deprecated conversion from string constant to ‘char*’

Clustering.cpp:53:18: warning: deprecated conversion from string constant to ‘char*’

Clustering.cpp:54:17: warning: deprecated conversion from string constant to ‘char*’

Clustering.cpp:63:41: error: ‘atoi’ was not declared in this scope

Clustering.cpp:73:9: error: ‘exit’ was not declared in this scope

Clustering.cpp:79:9: error: ‘exit’ was not declared in this scope

Clustering.cpp:85:9: error: ‘exit’ was not declared in this scope

Clustering.cpp:122:10: error: ‘exit’ was not declared in this scope

make: * [Clustering.o] Error 1

Would you please help me to figure it out or send me the binary program?

Thanks!

1 answer

Take a look at Instaling Reas Repeat Finding. In particular, the link at the top of that question (this openware link) has directions for how to compile ReAS. Take heed the comments in that thread because nothing has changed with this software. This is a cobbled together mixture of shell and Perl commands that likely won't run properly or produce anything meaningful. In other words, you will probably be best to stay away from this if possible.

Thanks for your comments. I have found this post and the openware link. And I followed the directions there, but have no luck. These errors still occured. I have to use this program because it's the reviewer's suggestion.Do you have the binary file of ReAS? Would you please send me a copy?

Log in to answer this question.