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!
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?