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

Update macOS Build Instructions #680

Merged
merged 1 commit into from
May 11, 2022
Merged

Conversation

dechilders
Copy link
Contributor

Added build instructions for gr-osmosdr since it is no longer available from Homebrew.
Added pybind11 as a dependency for building gr-osmosdr.

Added build instructions for gr-osmosdr since it is no longer available from Homebrew.
Added pybind11 as a dependency for building gr-osmosdr.
@robotastic robotastic merged commit 4ffaf6b into robotastic:master May 11, 2022
@robotastic
Copy link
Owner

Ah Good catch! Thanks for making the update

@e850205
Copy link
Contributor

e850205 commented May 11, 2022

I had to use a different path for openssl to build on Mac - /opt/homebrew/Cellar/openssl@3/3.0.3

So the command for me was:
cmake ../source -DOPENSSL_ROOT_DIR=/opt/homebrew/Cellar/openssl@3/3.0.3

@e850205
Copy link
Contributor

e850205 commented May 11, 2022

Can't make on Mac right now anyways

"In file included from /Users//trunk-recorder/source/trunk-recorder/systems/system_impl.cc:1:
/Users/
/trunk-recorder/source/trunk-recorder/systems/system.h:40:59: error: unknown type name 'ß'"

@taclane
Copy link
Contributor

taclane commented May 11, 2022

I had to use a different path for openssl to build on Mac - /opt/homebrew/Cellar/openssl@3/3.0.3

So the command for me was: cmake ../source -DOPENSSL_ROOT_DIR=/opt/homebrew/Cellar/openssl@3/3.0.3

Homebrew installs in /opt/homebrew on apple silicon, and /usr/local on intel.
To keep both bases covered, the cmake command using homebrew could simply be:

cmake .. -DOPENSSL_ROOT_DIR=$(brew --prefix openssl)

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

Successfully merging this pull request may close these issues.

None yet

4 participants