Hi there,
I want to compile main program of lava-partitioning(https://github.com/cadeleeuw/lava-partitioning) using provided makefile to re-define loci based on the 1000G EAS data. However, I got an error and It seems to require a specific version of g++.
error
g++ -diag-disable=remark -w2 -O2 -c src/correlations.cpp -o src/correlations.o
g++: error: unrecognized command line option '-w2'; did you mean '-w'?
makefile:20: recipe for target 'src/correlations.o' failed
make: *** [makefile:20:src/correlations.o] Error 1
Hi there, I want to compile main program of lava-partitioning(https://github.com/cadeleeuw/lava-partitioning) using provided makefile to re-define loci based on the 1000G EAS data. However, I got an error and It seems to require a specific version of g++.
error
g++ -diag-disable=remark -w2 -O2 -c src/correlations.cpp -o src/correlations.o g++: error: unrecognized command line option '-w2'; did you mean '-w'? makefile:20: recipe for target 'src/correlations.o' failed make: *** [makefile:20:src/correlations.o] Error 1
Any suggestion? thank you!
System:Ubuntu 20.04 gcc version 9.4.0