OpenHantek / OpenHantek6022

OpenHantek6022 is a DSO software for Hantek USB digital signal oscilloscopes 6022BE / BL. Development OS is Debian Linux, but the program also works on FreeBSD, MacOS, RaspberryPi and Windows. No support for non-Linux related issues unless a volunteer steps in!
GNU General Public License v3.0
858 stars 152 forks source link

Build doesn't work on macOS 13 #399

Closed diogenescreosote closed 7 months ago

diogenescreosote commented 7 months ago

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:

diogenescreosote commented 7 months ago

🙏