Skip to content

Compilation error in WSL #4

@shaih

Description

@shaih

Version Information (Put N/A for Not Applicable)

Software Version(s)
WLS 2
Linux 24.04
Git
CMake 3.28.3
Compiler (GCC, Clang, etc.) gcc 13.3.0
GLIBC (ldd)
Doxygen
HEBench Common Library yes?

Describe the bug
When compiling (pulled from backend-cpu-cleartext), gets an error ‘uint8_t’ is not a member of ‘std’; did you mean ‘wint_t’? in [...]/third-party/common-lib/common-lib-src/hebench/modules/general/src/memory_buffer.cpp (lines 158 and 172).

To fix it requires adding include <cstdint> in [...]/third-party/common-lib/common-lib-src/hebench/modules/general/include/memory_buffer.h

To Reproduce
Steps to reproduce the behavior:
Just clone backend-cpu-cleartext and try to build it in WSL2

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

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