rpi-rgb-led-matrix icon indicating copy to clipboard operation
rpi-rgb-led-matrix copied to clipboard

Code not running in 64-bit Raspbian OS, any Solution?

Open anandrajgupta opened this issue 2 years ago • 5 comments

Hello Mr. @hzeller,

Thank you.

I was wondering if this code can be run on a Raspberry Pi 3 having a 64-bit Raspbian OS? Directly running fails, any possible solution will be appreciated.

Thank you once again...

anandrajgupta avatar Sep 09 '22 10:09 anandrajgupta

As shown in the following picture, the compilation fails ↓ image

anandrajgupta avatar Sep 09 '22 11:09 anandrajgupta

Also, if i try to run the pre-compiled code then it says "no such file or directory"!

I do that by the following steps:

→ Compile the code in Raspberry Pi 32-bit OS, compiled successfully and running perfectly → Then transfer the compiled files into the 64-bit version → Then convert the file into executable by sudo chmod +x command → Then if i hit sudo ./compiledExecutableFile then also it fails saying no such file or directory

Note: I am trying to run it in 64-bit OS in a hope to get better frame-rate in 64-bit OS as compared to 32-bit OS!

anandrajgupta avatar Sep 09 '22 11:09 anandrajgupta

Greetings, First, link or exact version of your 64-bit OS ?

davemaster avatar Sep 09 '22 16:09 davemaster

It looks like you maybe copied over the version from a 32bit compile, then of course the object files don't work there.

First, make clean, then make again.

hzeller avatar Sep 09 '22 17:09 hzeller

Thank you very much, i will try...

anandrajgupta avatar Sep 10 '22 03:09 anandrajgupta

Thank you so much. make clean worked! Now it is able to run on 64-bit OS also, but no improvement in frame rate with it! Thank you again.

Closing it now...

anandrajgupta avatar Oct 05 '22 09:10 anandrajgupta