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

Building on macOS #188

Open
kazu-yamamoto opened this issue Oct 26, 2018 · 1 comment
Open

Building on macOS #188

kazu-yamamoto opened this issue Oct 26, 2018 · 1 comment

Comments

@kazu-yamamoto
Copy link

Mojave does not provide "/usr/include", sigh. I needed to add the following to CMkaeLists.htxt:

SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include")
@meritozh
Copy link

Actually, you can install system dev headers by /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg.

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

2 participants