I just downloaded Pixilang and the Linux Arm64 Folder is empty?
My question is, the newer Raspberry Pis are based on Arm8 and now there is also
a Raspberry OS version for 64 bit - would the Linux Arm64 version run with this?
Linux Arm64 folder is empty?
Linux Arm64 folder is empty?
Last edited by ainegil on Sat Sep 16, 2023 10:40 pm, edited 1 time in total.
- NightRadio
- Site Admin
- Posts: 3955
- Joined: Fri Jan 23, 2004 12:28 am
- Location: Ekaterinburg. Russia
- Contact:
Re: Linus Arm64 folder is empty?
You need to build this version yourself using the make/MAKE_LINUX_ARM64 scriptI just downloaded Pixilang and the Linux Arm64 Folder is empty?
Yes, it should work.My question is, the newer Raspberry Pis are based on Arm8 and now there is also
a Raspberry OS version for 64 bit - would the Linux Arm64 version run with this?
Re: Linus Arm64 folder is empty?
Ok,thanks,
I have no experience with this and the gcc but I want to to port a part of the project to C some time soon
so I have to learn some of this anyway.
For now I will use the 32 version to finish it first though.
I have no experience with this and the gcc but I want to to port a part of the project to C some time soon
so I have to learn some of this anyway.
For now I will use the 32 version to finish it first though.
Re: Linus Arm64 folder is empty?
I tried to compile it but I get errors and need some help with this.
The error log
I compile on Raspberry 400.
The filepath
RPI_SDK = /opt/vc
defined in sundog_makefile.inc
does not exist btw, do I have to change this?
I use the MAKE_LINUX_ARM64 file. I get basically the same errors with the ARM_HF file,
somehow the definitions are missing.
The error log
Code: Select all
<command-line>: error: macro names must be identifiers
../../lib_sundog/sundog.h:1:9: warning: #pragma once in main file
1 | #pragma once
| ^~~~
../../lib_sundog/sundog.h:209:6: error: #error CPUMARK not defined
209 | #error CPUMARK not defined
| ^~~~~
In file included from ../../lib_sundog/wm/wm.h:18,
from ../../lib_sundog/sundog.h:425:
../../lib_sundog/wm/wm_struct.h:614:5: error: ‘COLOR’ does not name a type
614 | COLOR color;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:615:5: error: ‘COLOR’ does not name a type
615 | COLOR backcolor;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:683:5: error: ‘COLOR’ does not name a type
683 | COLOR c;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:720:5: error: ‘COLOR’ does not name a type
720 | COLOR color;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:865:68: error: ‘COLOR’ has not been declared
865 | typedef void (*tdevice_draw_line)( int x1, int y1, int x2, int y2, COLOR color, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm_struct.h:866:73: error: ‘COLOR’ has not been declared
866 | typedef void (*tdevice_draw_frect)( int x, int y, int xsize, int ysize, COLOR color, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm_struct.h:991:5: error: ‘COLOR’ does not name a type
991 | COLOR color0;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:992:5: error: ‘COLOR’ does not name a type
992 | COLOR color1;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:993:5: error: ‘COLOR’ does not name a type
993 | COLOR color2;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:994:5: error: ‘COLOR’ does not name a type
994 | COLOR color3;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:997:5: error: ‘COLOR’ does not name a type
997 | COLOR yellow;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:998:5: error: ‘COLOR’ does not name a type
998 | COLOR green;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:999:5: error: ‘COLOR’ does not name a type
999 | COLOR red;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1000:5: error: ‘COLOR’ does not name a type
1000 | COLOR blue;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1001:5: error: ‘COLOR’ does not name a type
1001 | COLOR header_text_color;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1002:5: error: ‘COLOR’ does not name a type
1002 | COLOR alternative_text_color;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1003:5: error: ‘COLOR’ does not name a type
1003 | COLOR dialog_color;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1004:5: error: ‘COLOR’ does not name a type
1004 | COLOR decorator_color;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1005:5: error: ‘COLOR’ does not name a type
1005 | COLOR decorator_border;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1006:5: error: ‘COLOR’ does not name a type
1006 | COLOR button_color;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1007:5: error: ‘COLOR’ does not name a type
1007 | COLOR pressed_button_color;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1009:5: error: ‘COLOR’ does not name a type
1009 | COLOR menu_color;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1010:5: error: ‘COLOR’ does not name a type
1010 | COLOR selection_color;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1011:5: error: ‘COLOR’ does not name a type
1011 | COLOR text_background;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1012:5: error: ‘COLOR’ does not name a type
1012 | COLOR list_background;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1013:5: error: ‘COLOR’ does not name a type
1013 | COLOR scroll_color;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1014:5: error: ‘COLOR’ does not name a type
1014 | COLOR scroll_background_color;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1015:5: error: ‘COLOR’ does not name a type
1015 | COLOR scroll_pressed_color;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1050:5: error: ‘COLOR’ does not name a type
1050 | COLOR* screen_pixels; //Pixel screen buffer for direct read/write
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1051:5: error: ‘COLOR’ does not name a type
1051 | COLOR cur_font_color;
| ^~~~~
../../lib_sundog/wm/wm_struct.h:1139:5: error: ‘COLORPTR’ does not name a type
1139 | COLORPTR fb; //Pixel buffer for direct read/write
| ^~~~~~~~
In file included from ../../lib_sundog/sundog.h:425:
../../lib_sundog/wm/wm.h:93:5: error: ‘COLOR’ has not been declared
93 | COLOR color,
| ^~~~~
../../lib_sundog/wm/wm.h:103:5: error: ‘COLOR’ has not been declared
103 | COLOR color,
| ^~~~~
In file included from ../../lib_sundog/sundog.h:425:
../../lib_sundog/wm/wm.h:216:5: error: ‘COLOR’ has not been declared
216 | COLOR color,
| ^~~~~
../../lib_sundog/wm/wm.h:225:5: error: ‘COLOR’ has not been declared
225 | COLOR color,
| ^~~~~
../../lib_sundog/wm/wm.h:258:8: error: ‘COLOR’ does not name a type
258 | inline COLOR get_color( uint8_t r, uint8_t g, uint8_t b )
| ^~~~~
../../lib_sundog/wm/wm.h:323:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’
323 | inline int red( COLOR c )
| ^~~~~~
../../lib_sundog/wm/wm.h:323:17: error: ‘COLOR’ was not declared in this scope
323 | inline int red( COLOR c )
| ^~~~~
../../lib_sundog/wm/wm.h:367:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’
367 | inline int green( COLOR c )
| ^~~~~~
../../lib_sundog/wm/wm.h:367:19: error: ‘COLOR’ was not declared in this scope
367 | inline int green( COLOR c )
| ^~~~~
../../lib_sundog/wm/wm.h:407:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’
407 | inline int blue( COLOR c )
| ^~~~~~
../../lib_sundog/wm/wm.h:407:18: error: ‘COLOR’ was not declared in this scope
407 | inline int blue( COLOR c )
| ^~~~~
../../lib_sundog/wm/wm.h:435:8: error: ‘COLOR’ does not name a type
435 | inline COLOR correct_blend( COLOR c1, COLOR c2, uint8_t val )
| ^~~~~
../../lib_sundog/wm/wm.h:451:8: error: ‘COLOR’ does not name a type
451 | inline COLOR fast_blend( COLOR c1, COLOR c2, uint8_t val )
| ^~~~~
../../lib_sundog/wm/wm.h:554:8: error: ‘COLOR’ does not name a type
554 | inline COLOR blend( COLOR c1, COLOR c2, int val )
| ^~~~~
../../lib_sundog/wm/wm.h:561:1: error: ‘COLOR’ does not name a type
561 | COLOR get_color_from_string( char* str );
| ^~~~~
../../lib_sundog/wm/wm.h:562:57: error: ‘COLOR’ has not been declared
562 | void get_string_from_color( char* dest, uint dest_size, COLOR c );
| ^~~~~
../../lib_sundog/wm/wm.h:567:72: error: ‘COLOR’ has not been declared
567 | void win_draw_rect( WINDOWPTR win, int x, int y, int xsize, int ysize, COLOR color, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm.h:568:73: error: ‘COLOR’ has not been declared
568 | void win_draw_frect( WINDOWPTR win, int x, int y, int xsize, int ysize, COLOR color, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm.h:586:68: error: ‘COLOR’ has not been declared
586 | void win_draw_line( WINDOWPTR win, int x1, int y1, int x2, int y2, COLOR color, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm.h:607:52: error: ‘COLOR’ has not been declared
607 | void fb_draw_line( int x1, int y1, int x2, int y2, COLOR color, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm.h:608:57: error: ‘COLOR’ has not been declared
608 | void fb_draw_frect( int x, int y, int xsize, int ysize, COLOR color, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm.h:666:37: error: ‘COLOR’ has not been declared
666 | void draw_points( int16_t* coord2d, COLOR color, uint count, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm.h:667:49: error: ‘COLOR’ has not been declared
667 | void draw_line( int x1, int y1, int x2, int y2, COLOR color, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm.h:668:53: error: ‘COLOR’ has not been declared
668 | void draw_rect( int x, int y, int xsize, int ysize, COLOR color, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm.h:669:54: error: ‘COLOR’ has not been declared
669 | void draw_frect( int x, int y, int xsize, int ysize, COLOR color, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm.h:670:58: error: ‘COLOR’ has not been declared
670 | void draw_hgradient( int x, int y, int xsize, int ysize, COLOR c, int t1, int t2, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm.h:671:58: error: ‘COLOR’ has not been declared
671 | void draw_vgradient( int x, int y, int xsize, int ysize, COLOR c, int t1, int t2, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm.h:672:75: error: ‘COLOR’ has not been declared
672 | void draw_corners( int x, int y, int xsize, int ysize, int size, int len, COLOR c, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm.h:680:33: error: ‘COLOR’ has not been declared
680 | void draw_updown( int x, int y, COLOR color, int down_add, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm.h:681:36: error: ‘COLOR’ has not been declared
681 | void draw_leftright( int x, int y, COLOR color, int right_add, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm.h:749:37: error: ‘COLOR’ has not been declared
749 | void text_set_color( WINDOWPTR win, COLOR c );
| ^~~~~
../../lib_sundog/wm/wm.h:772:44: error: ‘COLOR’ has not been declared
772 | void button_set_text_color( WINDOWPTR win, COLOR c );
| ^~~~~
../../lib_sundog/wm/wm.h:887:1: error: ‘COLOR’ does not name a type
887 | COLOR colortheme_get_color( int theme, int item, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm.h:924:79: error: ‘COLOR’ has not been declared
924 | WINDOWPTR popup_menu_open( const char* name, const char* items, int x, int y, COLOR color, int prev, window_manager* wm );
| ^~~~~
../../lib_sundog/wm/wm.h:925:68: error: ‘COLOR’ has not been declared
925 | int popup_menu( const char* name, const char* items, int x, int y, COLOR color, int prev, window_manager* wm ); //INTERNAL EVENT LOOP!
| ^~~~~
../../lib_sundog/wm/wm.h:926:68: error: ‘COLOR’ has not been declared
926 | int popup_menu( const char* name, const char* items, int x, int y, COLOR color, window_manager* wm ); //INTERNAL EVENT LOOP!
| ^~~~~
make: *** [../../lib_sundog/sundog_makefile.inc:655: sundog.h.gch] Error 1
Compilation failed.
The filepath
RPI_SDK = /opt/vc
defined in sundog_makefile.inc
does not exist btw, do I have to change this?
I use the MAKE_LINUX_ARM64 file. I get basically the same errors with the ARM_HF file,
somehow the definitions are missing.
Re: Linux Arm64 folder is empty?
it seems that these files / libraries are missing because Broadcom does not provide them for 64 bit OS.
At least thats what I gather from here
https://github.com/TheRemote/Ubuntu-Ser ... -576402022
At least thats what I gather from here
https://github.com/TheRemote/Ubuntu-Ser ... -576402022
Re: Linux Arm64 folder is empty?
ok
So if an ther noob or idiot like me is running into the same thing:
1. the libraries seem to be in /usr now, build doesnt work though
2. you dont need to compile it yourself:
Thankfully, you can just run the files in bin/arm64 from the terminal for instance
ironically I had it working before, but had to switch to a new SD card and forgot about it
Have a nice day everybody
So if an ther noob or idiot like me is running into the same thing:
1. the libraries seem to be in /usr now, build doesnt work though
2. you dont need to compile it yourself:
Thankfully, you can just run the files in bin/arm64 from the terminal for instance
ironically I had it working before, but had to switch to a new SD card and forgot about it
Have a nice day everybody