isovic / graphmap

GraphMap - A highly sensitive and accurate mapper for long, error-prone reads http://www.nature.com/ncomms/2016/160415/ncomms11307/full/ncomms11307.html Note: This was the original repository which will no longer be officially maintained. Please use the new official repository here:
https://github.com/lbcb-sci/graphmap2
MIT License
178 stars 44 forks source link

compile error: 'pow' is not a member of 'std' #36

Closed tolot27 closed 7 years ago

tolot27 commented 7 years ago

The build fails on Ubuntu 14.04 on the src\index\ source files with the error: 'pow' is not a member of 'std'.

This can be fixed by adding #include <cmath> to src/index/index.h.

isovic commented 7 years ago

Hi, I added the missing header as per your suggestion, you can try git pull; make modules; make. Let me know if it doesn't work. Best regards, Ivan.