sfu-compbio / sinvict

SiNVICT: Ultra-Sensitive Detection of Single Nucleotide Variants and Indels in Circulating Tumour DNA
http://sfu-compbio.github.io/sinvict
27 stars 8 forks source link

installation error #1

Closed fengdong110 closed 8 years ago

fengdong110 commented 8 years ago

error: Caller.cpp: 467: error: Call overloaded 'to_string (int)' is ambiguous

to_string (int) overloaded 。

how to solve this problem?3q.

fengdong110 commented 8 years ago

Detailed error:

make

g ++ -c -g -std = c ++ 0x main.cpp -o main.o g ++ -c -g -std = c ++ 0x Caller.cpp -o Caller.o Caller.cpp: In member function 'std :: vector <Location, std :: allocator > Caller :: callHomopolymerFilter (std :: vector <Location, std :: allocator >)': Caller.cpp: 467: error: Call overloaded 'to_string (int)' is ambiguous /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/bits/basic_string.h:2604: Note: Alternative to : std :: string std :: to_string (long long int) /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/bits/basic_string.h:2610: Note: std :: string std :: to_string (long long unsigned int) /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/bits/basic_string.h:2616: Note: std :: string std :: to_string (long double)

ckockan commented 8 years ago

Your compiler version (gcc 4.4) does not support some of the newer C++11 features. For a longer explanation see: http://stackoverflow.com/questions/20090651/compilation-error-while-using-to-string-in-c-program