aidenlab / straw

Extract data quickly from Juicebox via straw
MIT License
61 stars 36 forks source link

Had to add an include statement in the straw.cpp file #136

Open princeps091-binf opened 4 months ago

princeps091-binf commented 4 months ago

Describe the bug Hello, just wanted to report that in order to complete the compilation, I needed to manually modify the straw.cpp file after I cloned the repository on my local machine.

To Reproduce More specifically, after cloning the repository, I tried compiling the tool from the C++ folder using the following command on my linux machine.

g++ -std=c++0x -o straw main.cpp straw.cpp -lcurl -lz

This produced a series of errors indicating that various variables or data types were not delcared in this scope. Some examples include:

etc...

I then followed the compilers suggestion and added the following line in the straw.cpp file as part of the "include" block (line 39)

include \<cstdint>

Following this addition, the compilation went smoothly and the tool works as expected.