zeitungen / node-rpi-rgb-led-matrix

Project not maintained :( - Pilot your rgb led matrix with Nodejs ! Nodejs binding of rpi-rgb-led-matrix library https://github.com/hzeller/rpi-rgb-led-matrix
Do What The F*ck You Want To Public License
57 stars 46 forks source link

Have got it compiling but I get a matrix_hardware_mappings error when trying to use it #13

Open gausie opened 7 years ago

gausie commented 7 years ago

The error is

Error: /home/pi/node-rpi-rgb-led-matrix/build/Release/node-rpi-rgb-led-matrix.node: undefined symbol: matrix_hardware_mappings

Any ideas?

gausie commented 7 years ago

I've added all the lib files (including hardware-mappings.c) to the binding.gyp file and its running without errors.

zeitungen commented 7 years ago

Hi, Sorry for the late response. Have you solved your problem ?

gausie commented 7 years ago

I solved this problem but in general the library doesn't seem to be compatible with the most recent version of the matrix library, which I need to use due to its transformations support.

Dhanielk commented 7 years ago

Hi @gausie. How did you solve the issue? I am facing the same...

Thanks, Daniel

Dhanielk commented 7 years ago

My bad, Wrong path in "sources". However, I am now facing Assertionio.Init()' failed`. Any idea why?

zeitungen commented 7 years ago

hi @Dhanielk With your question to the other issue about using root, I guess you have try to run your program with root. Is it better ?

Dhanielk commented 7 years ago

Right, found the same yesterday. But I can't node run as root...

Thanks for reply.

michaelwschultz commented 6 years ago

@Dhanielk @zeitungen I'm having Assertion Io.Init() failed as well when I run as non root along with /dev/mem Permission denied.

I can run as root but it doesn't seem to interact with the board even though the script runs. Any ideas?

hzeller commented 6 years ago

See my comment in #14 With the old version of rpi-rgb-led-matrix used in the current state of this Node project, you need to manually apply a single-character patch.