josefin-werme / LAVA

51 stars 9 forks source link

redefine loci based on the 1000G data #34

Closed sherryfan030 closed 2 years ago

sherryfan030 commented 2 years ago

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

sherryfan030 commented 2 years ago

I finally solved the problems and ran the package successfully! I replaced ‘-w’ with ‘-w2’ and complied makefile in the Windows platform!