samuelsadok / fibre-cpp Goto Github PK
View Code? Open in Web Editor NEWC++ implementation of Fibre
C++ implementation of Fibre
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.