opal
opal copied to clipboard
no member named 'abs' in namespace 'std';
I got this error while trying to execute make
g++ -std=c++11 -march=native -Wall -O3 -c opal.cpp opal.cpp:1169:45: error: no member named 'abs' in namespace 'std'; did you mean simply 'abs'? if (M * std::min(Q, T) - gapPenalty(std::abs(Q - T), Go, Ge) >= k) { ^~~~~~~~ abs /usr/include/stdlib.h:129:6: note: 'abs' declared here int abs(int) __pure2; ^ 1 error generated. make: *** [opal.o] Error 1
Thanks @FadelBerakdar : what is the operating system that you are executing this on?