Skip to content

has this been tested on a macOS M1 ? #8

@stephanschulz

Description

@stephanschulz

I am following the sets here https://github.com/pololu/pololu-tic-software/blob/master/BUILDING.md to build on a Mac book pro with M1 chipset. On an M1 brew installs most things in /opt/homebrew/Cellar/ but I think the Pololu make script is looking for things in usr/local

Is there a work around I can do?

I get this error message after running all the commands listed:

stephanschulz@Stephans-Komputer ~ % pkg-config libusbp-1 --cflags
Package libusbp-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusbp-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusbp-1' found

ibusbp-1 or ibusbp can not be found

stephanschulz@Stephans-Komputer ~ % brew list libusbp-1
Error: No available formula with the name "libusbp-1". Did you mean libusb?

brew install pkg-config cmake qt5 prints out

==> Downloading https://formulae.brew.sh/api/formula.jws.json
######################################################################### 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
######################################################################### 100.0%
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake
Warning: pkg-config 0.29.2_3 is already installed and up-to-date.
To reinstall 0.29.2_3, run:
  brew reinstall pkg-config
Warning: cmake 3.26.4 is already installed and up-to-date.
To reinstall 3.26.4, run:
  brew reinstall cmake
Warning: qt@5 5.15.8_3 is already installed and up-to-date.
To reinstall 5.15.8_3, run:
  brew reinstall qt@5
stephanschulz@Stephans-Komputer ~ % brew list qt@5
/opt/homebrew/Cellar/qt@5/5.15.8_3/bin/balsam
/opt/homebrew/Cellar/qt@5/5.15.8_3/bin/canbusutil
/opt/homebrew/Cellar/qt@5/5.15.8_3/bin/fixqt4headers.pl
/opt/homebrew/Cellar/qt@5/5.15.8_3/bin/lconvert
AND MANY MORE

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions