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

Build doesn't work on macOS 13 #399

Closed
diogenescreosote opened this issue Mar 5, 2024 · 1 comment
Closed

Build doesn't work on macOS 13 #399

diogenescreosote opened this issue Mar 5, 2024 · 1 comment

Comments

@diogenescreosote
Copy link

Describe the bug
The build instructions fails o the current version of homebrew on macOS, because the directories in the following step do not exist:

# the next two commands (hack from @warpme) fix #314
mkdir -p /usr/local/opt/qt5/lib/libgcc_s.1.1.dylib.framework
ln -sf /usr/local/opt/gcc/lib/gcc/11/libgcc_s.1.1.dylib \
  /usr/local/opt/qt5/lib/libgcc_s.1.1.dylib.framework/libgcc_s.1.1.dylib

However, I find I am able to get it to work just fine without the symlink.

The following would seem to be the updated way to get a similar link, but I'm not sure it's needed:

sudo mkdir -p /opt/homebrew/opt/qt@5/lib/libgcc_s.1.1.dylib.framework
sudo ln -sf /opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current/libgcc_s.1.1.dylib /opt/homebrew/opt/qt@5/lib/libgcc_s.1.1.dylib.framework/libgcc_s.1.1.dylib

(also note the sudo is missing from the mkdir line in the present build instructions)

Computer environment:

  • OpenHantek version: commit 3ac5c3a
  • OS: macOS 13.2 on Apple Silicon
  • Qt version: 5.15.12 (installed through homebrew)
  • C++ compiler version: Apple clang version 14.0.0, cmake 3.28.3
@Ho-Ro Ho-Ro closed this as completed in 9c1e9e8 Mar 5, 2024
@diogenescreosote
Copy link
Author

🙏

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