-
Notifications
You must be signed in to change notification settings - Fork 17
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
Failed to install with "unknown type name 'cpu_set_t'" #5
Comments
I got that too when installing on mac, but when running on Rpi it was fine. Yes it is annoying not sure what is the solution, but for now I have made a separate branch for mac development that does not have the dependency in it. |
cpu_set_t is a core affinity setting thing that is linux only, not on macOS. |
Install as optional dependency with ´npm install easybotics-rpi-rgb-led-matrix —save-optional’. NPM will ignore compilation error. It then should work on a RPi, not on other platform but ´npm install’ won’t be blocked anymore if you do some debuging on a Mac (for example) |
this issue only comes about on non linux envs only |
Sorry, how would i prove that? I just had the default Raspbien OS on the rpi. Is it mandatory for this library for it to be running on macos on the pi - i didnt even know you could do that! Sorry, this is my first ever project with a rpi - although i am a backend dev for a living so i'm not completely out of my depth :) |
Sorry Ill take another look |
@redandinvisible because http://man7.org/linux/man-pages/man3/CPU_SET.3.html is it possible you were sshing into a raspi and accidentally tried to build this from the mac you were sshing from? |
I noticed you committed a fix for Issue #1 (Many thanks). I tried to install the latest version from npm, at version 0.3.0, but I get the following error.
I removed all my old node_modules in case there was a clash with my local workaround but, same error. Fingers crossed it's something at my end...
The text was updated successfully, but these errors were encountered: