Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile problems on Linux #7

Open
braddabug opened this issue Feb 16, 2017 · 0 comments
Open

Compile problems on Linux #7

braddabug opened this issue Feb 16, 2017 · 0 comments

Comments

@braddabug
Copy link

braddabug commented Feb 16, 2017

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.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant