Skip to content

Compile problems on Linux #7

@braddabug

Description

@braddabug

I had to make a few tweaks to get this to build on Linux:

  1. add "set(CMAKE_CXX_STANDARD 11)" to CMakeLists.txt (otherwise things like static_assert() caused compiler errors)
  2. add #include <malloc.h> to the top of Memory.cpp, otherwise memalign() wasn't found
  3. add a semicolon to line 134 of Memory.cpp (the line that says "return memalign(alignment, size)". It's missing a semicolon.)

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