Skip to content

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

@princeps091-binf

Description

@princeps091-binf

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:

  • straw.cpp:1015:5: error: ‘uint64_t’ was not declared in this scope
  • straw.cpp:1016:5: error: ‘nRecords’ was not declared in this scope

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions