Giter VIP home page Giter VIP logo

fibre-cpp's People

Contributors

madcowswe avatar mbiegert avatar samuelsadok avatar wetmelon avatar

Stargazers

 avatar  avatar

Watchers

 avatar

fibre-cpp's Issues

M1 Mac (Apple silicon) make issues

I have been trying to build this app on a M1 mac but haven't had any luck. I have libusb install via homebrew but when I try to run make I get the following error:

Makefile:25: *** commands commence before first target. Stop.

I feel like it might be something simple I am missing but haven't been able to make much progress. I have tried reinstalling libusb, moving the folder out of /opt/local to ~/Desktop, and a few other things that I don't exactly remember.

Has anyone had luck using this on an M1 mac? Any specific steps I need to take? Is my issue not at all related to the computer architecture?

P.S.

(If it is at all helpful I am trying to compile from source as that is what the error recommends when I try to install odrivetool):

fibre-cpp % python -m pip install --upgrade odrive
Defaulting to user installation because normal site-packages is not writeable
Collecting odrive
  Using cached odrive-0.5.4.tar.gz (1.6 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/1w/cryb3hyd6656h0_39q7mrzz80000gn/T/pip-install-__vwapou/odrive_b0e6274eb31c413485667cec0191470a/setup.py", line 61, in <module>
          import odrive.version
        File "/private/var/folders/1w/cryb3hyd6656h0_39q7mrzz80000gn/T/pip-install-__vwapou/odrive_b0e6274eb31c413485667cec0191470a/odrive/__init__.py", line 9, in <module>
          import fibre
        File "/private/var/folders/1w/cryb3hyd6656h0_39q7mrzz80000gn/T/pip-install-__vwapou/odrive_b0e6274eb31c413485667cec0191470a/odrive/pyfibre/fibre/__init__.py", line 4, in <module>
          from .libfibre import Domain, ObjectLostError
        File "/private/var/folders/1w/cryb3hyd6656h0_39q7mrzz80000gn/T/pip-install-__vwapou/odrive_b0e6274eb31c413485667cec0191470a/odrive/pyfibre/fibre/libfibre.py", line 53, in <module>
          raise ModuleNotFoundError("libfibre is not supported on your platform ({} {}). {}".format(*system_desc, instructions))
      ModuleNotFoundError: libfibre is not supported on your platform (Darwin arm64). Go to https://github.com/samuelsadok/fibre-cpp for instructions on how to compile libfibre. Once you have compiled it, add it to this folder.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.