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

Document how to get working on Apple M1 + Homebrew v3 #93

Open
niftylettuce opened this issue Feb 7, 2021 · 2 comments
Open

Document how to get working on Apple M1 + Homebrew v3 #93

niftylettuce opened this issue Feb 7, 2021 · 2 comments

Comments

@niftylettuce
Copy link

On homebrew v3 the default path is /opt/homebrew, which is not included in clang search paths by default. Therefore this project will fail to build. I added the following to my zshrc/bashrc on my Apple M1 Homebrew/brew#10152 (comment) and it did the trick.

@niftylettuce
Copy link
Author

Ref: kaworu/node-quirc#16

@kaworu
Copy link
Collaborator

kaworu commented Feb 8, 2021

Hello @niftylettuce, thanks for opening this issue!

On homebrew v3 the default path is /opt/homebrew, which is not included in clang search paths by default. Therefore this project will fail to build.

If I understand correctly, this problem will arise with any project. In other words, this is an environment issue unrelated to quirc.

In my humble opinion, based on the fact that we're only providing a Makefile rather than using a build system (e.g. autotools or CMake), users of this library are expected to understand the basic of their compiler toolchain.

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