Description
Hello Scott,
I installed your magnificent instrument-panel on my windows computer.
It works very well with MS2020, so i can expand building my cockpit in a very beautiful and exciting way.
But now I tried to install the program on a raspberry pi 3B. I followed your steps.
I Followed your instructions for installing the allegro-5 software.
But the download of the instrument-panel did not work well. You can see what happened below:
pi@raspberrypi:~ $ tag=curl -s https://github.com/scott-vincent/instrument-panel/releases/latest|cut -d'"' -f 2|cut -d'/' -f 8
;wget https://github.com/scott-vincent/instrument-panel/releases/download/$tag/instrument-panel-$tag-raspi4.tar.gz
--2022-12-28 14:06:53-- https://github.com/scott-vincent/instrument-panel/releases/download//instrument-panel--raspi4.tar.gz
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-12-28 14:06:53 ERROR 404: Not Found.
pi@raspberrypi:~ $ tar -xf instrument-panel-v* --one-top-level
tar: unrecognized option '--one-top-level'
Try 'tar --help' or 'tar --usage' for more information.
pi@raspberrypi:~ $ rm instrument-panel-v*.gz
rm: cannot remove ‘instrument-panel-v*.gz’: No such file or directory
pi@raspberrypi:~ $
Then I downloaded the instrument-panel-v1.7.2-raspi4.tar.gz from your latest releases first on my windows computer. After that I copied this file to the raspberry pi. Then I unpacked the file in the next directory: /home/pi/instrument-panel
If I start the program with the programpicto, only a black window appears.
Then I tried to start the program with the commands you mentioned, the following happened
pi@raspberrypi:~ $ cd instrument-panel-v*/release/*
bash: cd: instrument-panel-v*/release/*: No such file or directory
pi@raspberrypi:~ $ nano settings/instrument-panel.json (change HOST to the IP address of your PC)
bash: syntax error near unexpected token `('
pi@raspberrypi:~ $ ./instrument-panel
bash: ./instrument-panel: Is a directory
pi@raspberrypi:~ $
Nothing seems to work.
Also I tried your allegro-test:
pi@raspberrypi:~/allegro-test $ ./make.sh
Building allegro_test
allegro_test.cpp: In function ‘bool init()’:
allegro_test.cpp:82:29: error: could not convert ‘al_init_font_addon()’ from ‘void’ to ‘bool’
if (!al_init_font_addon()) {
^
allegro_test.cpp:82:29: error: in argument to unary !
allegro_test.cpp:107:43: error: ‘al_set_new_window_title’ was not declared in this scope
al_set_new_window_title("Allegro Test");
^
allegro_test.cpp:122:63: error: ‘ALLEGRO_OPENGL_ES_PROFILE’ was not declared in this scope
al_set_new_display_flags(flags | ALLEGRO_OPENGL_3_0 | ALLEGRO_OPENGL_ES_PROFILE);
Again only a black window appears.
When i ping between the window computer and the raspberry pi, that does go well.
The big question is, what am i doing wrong? And might you be able help me?
It would be really great, cause it would be a real nice upgrade to the cockpit i am building.
With regards,
Peter
Ps i’m dutch so english is not my native language so please excuse me for any grammar mistakes.