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

Problem installing on MacOS #13

Open
Hoishin opened this issue Apr 13, 2019 · 2 comments · May be fixed by #14
Open

Problem installing on MacOS #13

Hoishin opened this issue Apr 13, 2019 · 2 comments · May be fixed by #14

Comments

@Hoishin
Copy link

Hoishin commented Apr 13, 2019

In file included from crn_decomp.cpp:18:
crunch/crn_decomp.h:345:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
         ^~~~~~~~~~
1 error generated.
error: command 'clang' failed with exit status 1

The problem seems to be introduced in this commit: 6a21030#diff-99f7629e865e431d7ed8dd43d1f21ba5L345

Is it intentional?

@jleclanche
Copy link
Member

Probably not, it was rebased. Can you submit a PR fixing the issue for you please?

Also if you want to prevent this from happening again I'd love a PR that adds macOS builds on travis.

@Hoishin Hoishin linked a pull request Apr 15, 2019 that will close this issue
@macgregor
Copy link

I was able to work around this but creating a symlink to the proper malloc header:
sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/malloc/malloc.h /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/malloc.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

3 participants