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 x86_64 #158

Open
TQMatvey opened this issue Jan 12, 2023 · 2 comments
Open

Building on MacOS x86_64 #158

TQMatvey opened this issue Jan 12, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@TQMatvey
Copy link

Describe the bug
Building qFlipper on Mac OS Ventura and earlier with X86_64 architecture

To Reproduce
Steps to reproduce the behavior:

  1. Get qt, libusb packages from brew
  2. ./build_mac.sh
  3. Project ERROR: libusb-1.0 development package not found

Expected behavior
i should be able to download flipper's libusb with brew install libusb_universal

Actual behavior
running brew install libusb_universal throws libusb_universal: The arm64 architecture is **required** for this software

Additional troubleshooting
I tried googling, installing other libusb packages with brew, pip3

The report must also include at least one of the following:
Screenshot_QEMU_4
Screenshot_QEMU_5

@TQMatvey TQMatvey added the bug Something isn't working label Jan 12, 2023
@gsurkov
Copy link
Member

gsurkov commented Jan 12, 2023

This build process was designed for our automatic build server, which is running on an ARM mac, so it wasn't tested for x86_64 much.

We'll try to adapt it so it would work on any architecture, but it may take some time. (Pull requests will be greatly appreciated!)

Qt and libusb must not necessarily be installed from the flipper tap, however, it's possible to use the regular brew versions, depending on your needs (should be sufficient for development purposes, for example).

@sprrw
Copy link

sprrw commented Feb 27, 2023

It would be great to have qflipper formula/cask in brew though. Even better, also have fbt as a brew formula.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants