bskari / pi-rc

Turn your Raspberry Pi into a radio controller for RC toys.
GNU General Public License v2.0
139 stars 38 forks source link

Can't compile pi-rc #25

Closed kohlmai closed 6 years ago

kohlmai commented 6 years ago

Hey, I just tried to follow your "Getting Started" instructions. Unfortunatelly it fails on the command 'scons'

-> scons: *** No SConstruct file found. File "/usr/lib/scons/SCons/Script/Main.py", line 912, in _main

I had a look into the pi-rc directory and found a Makefile, so I decided to make. Now, when I try to ./pi_pcm -v my raspberry freezes.

What am I doing wrong? Any help is highly appreciated.

Thanks!

quesojim commented 6 years ago

Just type make to run the included make file. Had the same issue and this worked for me.

bskari commented 6 years ago

Hey, thank you for the report. I removed the references to scons in README.md and replaced them with instructions for running make. I also fixed a bug that was preventing it from broadcasting.

Could you check with this latest version and see if you're still having problems with your Pi freezing? I just ran it on my Pi Zero W with Raspbian GNU/Linux 9 and didn't have any problems, but there might be a problem with another Pi or OS. Also, could you elaborate about what you mean exactly by freezing? I did have a problem a few weeks where I was connected over SSH, and my network connection would drop completely for about 2 seconds every 8 seconds (including ping), but it persisted after I killed pi-rc so I'm not sure if they were related.

kohlmai commented 6 years ago

Hey, I just checked the latest version. I am connected to my PI via VNC. When I run ./pi_pmc from the console (in maximised window) my PI doesn't freeze. However, if I run ./pi_pmc in a console that is NOT maximised and I try to move it, the PI freezes.

And by freezing I mean that I cannot do anything about it. The only way is to unplug the PI from the power.