I'd like to user shapeit4, but I have problem with compiling.
The below is error message.
**g++ -std=c++11 -O3 -mavx2 -mfma -c src/objects/genotype/genotype_sweep.cpp -o obj/genotype_sweep.o -Isrc -I/home/users/sijaewoo/bin/htslib -I/usr/include
In file included from src/utils/otools.h:64:0,
from src/objects/genotype/genotype_header.h:25,
from src/objects/genotype/genotype_sweep.cpp:22:
src/utils/timer.h: In member function 'std::string timer::date()':
src/utils/timer.h:59:12: error: 'put_time' is not a member of 'std'
ss << std::put_time(std::localtime(&in_time_t), "%d/%m/%Y - %X");
^
make: * [obj/genotype_sweep.o] Error 1
Hi,
I'd like to user shapeit4, but I have problem with compiling.
The below is error message.
**g++ -std=c++11 -O3 -mavx2 -mfma -c src/objects/genotype/genotype_sweep.cpp -o obj/genotype_sweep.o -Isrc -I/home/users/sijaewoo/bin/htslib -I/usr/include In file included from src/utils/otools.h:64:0, from src/objects/genotype/genotype_header.h:25, from src/objects/genotype/genotype_sweep.cpp:22: src/utils/timer.h: In member function 'std::string timer::date()': src/utils/timer.h:59:12: error: 'put_time' is not a member of 'std' ss << std::put_time(std::localtime(&in_time_t), "%d/%m/%Y - %X"); ^ make: * [obj/genotype_sweep.o] Error 1
If you know how to solve it, please let me know.
Thnaks.