Skip to content
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

Trouble compiling on raspi 4 #2

Open
joevand opened this issue Feb 27, 2020 · 1 comment
Open

Trouble compiling on raspi 4 #2

joevand opened this issue Feb 27, 2020 · 1 comment

Comments

@joevand
Copy link

joevand commented Feb 27, 2020

Hello! I would like to try this out as I believe it is the solution I am looking for in displaying graphics over video on my raspi device. I am not very familiar with c++ and I am having tons of trouble getting it to compile (missing files on compilation). Would you be able to provide a pre compiled binary?

@fernandorpardo
Copy link
Owner

I am sorry I haven’t any Pi 4.
The example was initially worked for a PI 3. The following is what I have done on a Pi Zero to try to find the issue you are reporting. I see there are many changes in the firmware part for the Pi 4 so let’s try this and let me know where it fails so I can guide you further.
(1) Go to https://github.com/raspberrypi/firmware and download the firmware-master.zip
(2) Unzip and ftp the files into the Raspberry. Create the directory /home/pi/firmware-master and download the files into it.
(3) Create directory /home/pi/fox. Download the fox code from GitHub (DispmanX-master.zip), unzip and ftp into the /home/pi/fox directory just created
(4) Edit /home/pi/fox/Makefile and change SDKSTAGE to point to the directory where you have placed the firmware files
SDKSTAGE=/home/pi/firmware-master
(5) Go to /home/pi/fox and type make
The outcome is the exec file fox that the Makefile places into /home/pi/bin that I have in my PATH environment variable. You probably need either to create that same directory /home/pi/bin or to change the Makefile to place the exec file where you need.
(6) From an SSH session run fox and press the right arrow key to see the bottom side of the screen changes color.
If any of all this does not happen then please get back with the point it failed and I will try to support you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants