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

Fix sixpair build guide for macOS #1048

Open
Nickellick opened this issue Jul 25, 2024 · 0 comments
Open

Fix sixpair build guide for macOS #1048

Nickellick opened this issue Jul 25, 2024 · 0 comments

Comments

@Nickellick
Copy link

BlueRetro firmware version

v24.04_hw1

BlueRetro firmware specification

HW1

BlueRetro firmware variant

Universal

BlueRetro hardware type

External adapter dongle (1 port only)

Manufacturer

Unknown

System used

Sony PlayStation 2

Bluetooth controller brand & name

DualShock 3

What is problem? (only list ONE problem per report)

In DS3 macOS pair guide, after executing brew install wget libusub libusb-compat and downloading sixpair.c file, it fails to build. The error message is

fatal error: 'usb.h' file not found

To resolve this, you have to just link library and header

gcc -o sixpair sixpair.c -I/opt/homebrew/Cellar/libusb-compat/0.1.8/include -L/opt/homebrew/Cellar/libusb-compat/0.1.8/lib -lusb

replace 0.1.8 with installed libusb-compat version, if needed

What did you expect to happen?

Sixpair app built successfully

Attach files like logs or Bluetooth traces here

No response

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