lbcb-sci / graphmap2

GraphMap - A highly sensitive and accurate mapper for long, error-prone reads http://www.nature.com/ncomms/2016/160415/ncomms11307/full/ncomms11307.html https://www.biorxiv.org/content/10.1101/720458v1
MIT License
67 stars 6 forks source link

Compile error? #9

Closed woodoo46 closed 4 years ago

woodoo46 commented 4 years ago

I downloaded graphmap2-0.6.3, and tried to compile it, I got this error:

In file included from src/aligner/anchor_aligner.h:13:0, from src/aligner/anchor_aligner.cc:8: ./src/containers/results.h:14:37: fatal error: utility/utility_general.h: No such file or directory compilation terminated. make: *** [obj_linux/src/aligner/anchor_aligner.o] Error 1

jmaricb commented 4 years ago

Hi. I just tried to clone and build the repository and it worked. Can you tell me how did you try to compile the code. What were the steps? Did you run: git clone https://github.com/lbcb-sci/graphmap2
cd graphmap2
make modules
make

woodoo46 commented 4 years ago

I downloaded graphmap2-0.6.3.zip, and unzip graphmap2-0.6.3.zip cd graphmap2-0.6.3 make Then, I got the error.

jmaricb commented 4 years ago

That is because you didn't pull the modules that are being used. You are missing 'make modules' command. Can you try the steps I have put in the previous post? If not, I will see how to run it by donwloading zip.

woodoo46 commented 4 years ago

Ya. It worked when I followed your steps.