>>> rue: Building testing/rue 0.3.0-r1 (using abuild 3.13.0-r5) started Sun, 29 Sep 2024 20:06:47 +0000 >>> rue: Checking sanity of /home/buildozer/aports/testing/rue/APKBUILD... >>> rue: Analyzing dependencies... >>> rue: Installing for build: build-base musl-dev glew-dev sdl2-dev sdl2_mixer-dev avdl (1/111) Installing libeconf (0.6.3-r0) (2/111) Installing libblkid (2.40.2-r3) (3/111) Installing libuuid (2.40.2-r3) (4/111) Installing libfdisk (2.40.2-r3) (5/111) Installing libmount (2.40.2-r3) (6/111) Installing libsmartcols (2.40.2-r3) (7/111) Installing sqlite (3.46.1-r0) (8/111) Installing sqlite-libs (3.46.1-r0) (9/111) Installing sqlite-dev (3.46.1-r0) (10/111) Installing util-linux (2.40.2-r3) (11/111) Installing setarch (2.40.2-r3) (12/111) Installing util-linux-misc (2.40.2-r3) (13/111) Installing linux-pam (1.6.1-r1) (14/111) Installing runuser (2.40.2-r3) (15/111) Installing mount (2.40.2-r3) (16/111) Installing losetup (2.40.2-r3) (17/111) Installing hexdump (2.40.2-r3) (18/111) Installing uuidgen (2.40.2-r3) (19/111) Installing blkid (2.40.2-r3) (20/111) Installing sfdisk (2.40.2-r3) (21/111) Installing mcookie (2.40.2-r3) (22/111) Installing agetty (2.40.2-r3) (23/111) Installing wipefs (2.40.2-r3) (24/111) Installing cfdisk (2.40.2-r3) (25/111) Installing umount (2.40.2-r3) (26/111) Installing flock (2.40.2-r3) (27/111) Installing lsblk (2.40.2-r3) (28/111) Installing libcap-ng (0.8.5-r0) (29/111) Installing setpriv (2.40.2-r3) (30/111) Installing lscpu (2.40.2-r3) (31/111) Installing logger (2.40.2-r3) (32/111) Installing partx (2.40.2-r3) (33/111) Installing fstrim (2.40.2-r3) (34/111) Installing findmnt (2.40.2-r3) (35/111) Installing util-linux-dev (2.40.2-r3) (36/111) Installing libxau (1.0.11-r4) (37/111) Installing libmd (1.1.0-r0) (38/111) Installing libbsd (0.12.2-r0) (39/111) Installing libxdmcp (1.1.5-r1) (40/111) Installing libxcb (1.16.1-r0) (41/111) Installing libx11 (1.8.10-r0) (42/111) Installing libxext (1.3.6-r2) (43/111) Installing libice (1.1.1-r6) (44/111) Installing libsm (1.2.4-r4) (45/111) Installing libxt (1.3.0-r5) (46/111) Installing libxmu (1.1.4-r2) (47/111) Installing xorgproto (2024.1-r0) (48/111) Installing libxau-dev (1.0.11-r4) (49/111) Installing libbz2 (1.0.8-r6) (50/111) Installing libffi (3.4.6-r0) (51/111) Installing gdbm (1.24-r0) (52/111) Installing xz-libs (5.6.2-r0) (53/111) Installing mpdecimal (4.0.0-r0) (54/111) Installing libpanelw (6.5_p20240601-r1) (55/111) Installing python3 (3.12.6-r0) (56/111) Installing python3-pycache-pyc0 (3.12.6-r0) (57/111) Installing pyc (3.12.6-r0) (58/111) Installing xcb-proto-pyc (1.16.0-r1) (59/111) Installing python3-pyc (3.12.6-r0) (60/111) Installing xcb-proto (1.16.0-r1) (61/111) Installing libxdmcp-dev (1.1.5-r1) (62/111) Installing libxcb-dev (1.16.1-r0) (63/111) Installing xtrans (1.5.0-r0) (64/111) Installing libx11-dev (1.8.10-r0) (65/111) Installing libxext-dev (1.3.6-r2) (66/111) Installing libice-dev (1.1.1-r6) (67/111) Installing libsm-dev (1.2.4-r4) (68/111) Installing libxt-dev (1.3.0-r5) (69/111) Installing libxmu-dev (1.1.4-r2) (70/111) Installing libxi (1.8.2-r0) (71/111) Installing libxfixes (6.0.1-r4) (72/111) Installing libxfixes-dev (6.0.1-r4) (73/111) Installing libxi-dev (1.8.2-r0) (74/111) Installing linux-headers (6.6-r0) (75/111) Installing hwdata-pci (0.387-r0) (76/111) Installing libpciaccess (0.18.1-r0) (77/111) Installing libdrm (2.4.123-r0) (78/111) Installing libpciaccess-dev (0.18.1-r0) (79/111) Installing libdrm-dev (2.4.123-r0) (80/111) Installing libxdamage (1.1.6-r5) (81/111) Installing libxdamage-dev (1.1.6-r5) (82/111) Installing libxshmfence (1.3.2-r6) (83/111) Installing libxshmfence-dev (1.3.2-r6) (84/111) Installing libxml2 (2.12.8-r0) (85/111) Installing llvm18-libs (18.1.8-r0) (86/111) Installing libelf (0.191-r0) (87/111) Installing mesa-glapi (24.2.3-r0) (88/111) Installing mesa (24.2.3-r0) (89/111) Installing wayland-libs-server (1.23.1-r0) (90/111) Installing mesa-gbm (24.2.3-r0) (91/111) Installing wayland-libs-client (1.23.1-r0) (92/111) Installing mesa-egl (24.2.3-r0) (93/111) Installing libxxf86vm (1.1.5-r6) (94/111) Installing mesa-gl (24.2.3-r0) (95/111) Installing mesa-gles (24.2.3-r0) (96/111) Installing mesa-osmesa (24.2.3-r0) (97/111) Installing mesa-xatracker (24.2.3-r0) (98/111) Installing libxxf86vm-dev (1.1.5-r6) (99/111) Installing mesa-dev (24.2.3-r0) (100/111) Installing glu (9.0.3-r3) (101/111) Installing glu-dev (9.0.3-r3) (102/111) Installing glew (2.2.0-r5) (103/111) Installing glew-dev (2.2.0-r5) (104/111) Installing sdl2 (2.30.7-r0) (105/111) Installing sdl2-dev (2.30.7-r0) (106/111) Installing sdl2_mixer (2.8.0-r0) (107/111) Installing sdl2_mixer-dev (2.8.0-r0) (108/111) Installing avdl (0.4.3-r1) (109/111) Installing .makedepends-rue (20240929.200712) (110/111) Installing util-linux-openrc (2.40.2-r3) (111/111) Installing agetty-openrc (0.55.1-r0) Executing busybox-1.36.1-r32.trigger OK: 571 MiB in 216 packages >>> rue: Cleaning up srcdir >>> rue: Cleaning up pkgdir >>> rue: Cleaning up tmpdir >>> rue: Fetching https://distfiles.alpinelinux.org/distfiles/edge/rue-0.3.0.tar.gz >>> rue: Fetching https://distfiles.alpinelinux.org/distfiles/edge/rue-0.3.0.tar.gz >>> rue: Checking sha512sums... rue-0.3.0.tar.gz: OK >>> rue: Unpacking /var/cache/distfiles/rue-0.3.0.tar.gz... mkdir -p build/native mkdir -p build/native/objects mkdir -p build/native/output avdl -c src/button.dd -o build/native/objects/button.o -I include/ --save-loc "~/.rue/saves/" --install-loc "/usr/share/rue/" --game-name "rue" --game-version "0.3.0" --game-revision "0" avdl -c src/card.dd -o build/native/objects/card.o -I include/ --save-loc "~/.rue/saves/" --install-loc "/usr/share/rue/" --game-name "rue" --game-version "0.3.0" --game-revision "0" avdl -c src/credits.dd -o build/native/objects/credits.o -I include/ --save-loc "~/.rue/saves/" --install-loc "/usr/share/rue/" --game-name "rue" --game-version "0.3.0" --game-revision "0" avdl -c src/game.dd -o build/native/objects/game.o -I include/ --save-loc "~/.rue/saves/" --install-loc "/usr/share/rue/" --game-name "rue" --game-version "0.3.0" --game-revision "0" avdl -c src/intro.dd -o build/native/objects/intro.o -I include/ --save-loc "~/.rue/saves/" --install-loc "/usr/share/rue/" --game-name "rue" --game-version "0.3.0" --game-revision "0" avdl -c src/main_game.dd -o build/native/objects/main_game.o -I include/ --save-loc "~/.rue/saves/" --install-loc "/usr/share/rue/" --game-name "rue" --game-version "0.3.0" --game-revision "0" avdl -c src/menu.dd -o build/native/objects/menu.o -I include/ --save-loc "~/.rue/saves/" --install-loc "/usr/share/rue/" --game-name "rue" --game-version "0.3.0" --game-revision "0" avdl -c src/menu_custom_game.dd -o build/native/objects/menu_custom_game.o -I include/ --save-loc "~/.rue/saves/" --install-loc "/usr/share/rue/" --game-name "rue" --game-version "0.3.0" --game-revision "0" avdl -c src/menu_home.dd -o build/native/objects/menu_home.o -I include/ --save-loc "~/.rue/saves/" --install-loc "/usr/share/rue/" --game-name "rue" --game-version "0.3.0" --game-revision "0" avdl -c src/menu_stages.dd -o build/native/objects/menu_stages.o -I include/ --save-loc "~/.rue/saves/" --install-loc "/usr/share/rue/" --game-name "rue" --game-version "0.3.0" --game-revision "0" avdl -c src/options.dd -o build/native/objects/options.o -I include/ --save-loc "~/.rue/saves/" --install-loc "/usr/share/rue/" --game-name "rue" --game-version "0.3.0" --game-revision "0" avdl -c src/overlayButtons.dd -o build/native/objects/overlayButtons.o -I include/ --save-loc "~/.rue/saves/" --install-loc "/usr/share/rue/" --game-name "rue" --game-version "0.3.0" --game-revision "0" avdl -c src/player.dd -o build/native/objects/player.o -I include/ --save-loc "~/.rue/saves/" --install-loc "/usr/share/rue/" --game-name "rue" --game-version "0.3.0" --game-revision "0" avdl -c src/saveload.dd -o build/native/objects/saveload.o -I include/ --save-loc "~/.rue/saves/" --install-loc "/usr/share/rue/" --game-name "rue" --game-version "0.3.0" --game-revision "0" avdl -c assets/button.ply -o build/native/output && touch build/native/objects/button.ply avdl -c assets/button_disabled.ply -o build/native/output && touch build/native/objects/button_disabled.ply avdl -c assets/button_exit.ply -o build/native/output && touch build/native/objects/button_exit.ply avdl -c assets/button_minus.ply -o build/native/output && touch build/native/objects/button_minus.ply avdl -c assets/button_options.ply -o build/native/output && touch build/native/objects/button_options.ply avdl -c assets/button_play.ply -o build/native/output && touch build/native/objects/button_play.ply avdl -c assets/button_plus.ply -o build/native/output && touch build/native/objects/button_plus.ply avdl -c assets/card.ply -o build/native/output && touch build/native/objects/card.ply avdl -c assets/card_border.ply -o build/native/output && touch build/native/objects/card_border.ply avdl -c assets/character.ply -o build/native/output && touch build/native/objects/character.ply avdl -c assets/eye.ply -o build/native/output && touch build/native/objects/eye.ply avdl -c assets/letter_0.ply -o build/native/output && touch build/native/objects/letter_0.ply avdl -c assets/letter_1.ply -o build/native/output && touch build/native/objects/letter_1.ply avdl -c assets/letter_2.ply -o build/native/output && touch build/native/objects/letter_2.ply avdl -c assets/letter_3.ply -o build/native/output && touch build/native/objects/letter_3.ply avdl -c assets/letter_4.ply -o build/native/output && touch build/native/objects/letter_4.ply avdl -c assets/letter_5.ply -o build/native/output && touch build/native/objects/letter_5.ply avdl -c assets/letter_6.ply -o build/native/output && touch build/native/objects/letter_6.ply avdl -c assets/letter_7.ply -o build/native/output && touch build/native/objects/letter_7.ply avdl -c assets/letter_8.ply -o build/native/output && touch build/native/objects/letter_8.ply avdl -c assets/letter_9.ply -o build/native/output && touch build/native/objects/letter_9.ply avdl -c assets/letter_a.ply -o build/native/output && touch build/native/objects/letter_a.ply avdl -c assets/letter_b.ply -o build/native/output && touch build/native/objects/letter_b.ply avdl -c assets/letter_c.ply -o build/native/output && touch build/native/objects/letter_c.ply avdl -c assets/letter_d.ply -o build/native/output && touch build/native/objects/letter_d.ply avdl -c assets/letter_e.ply -o build/native/output && touch build/native/objects/letter_e.ply avdl -c assets/letter_f.ply -o build/native/output && touch build/native/objects/letter_f.ply avdl -c assets/letter_g.ply -o build/native/output && touch build/native/objects/letter_g.ply avdl -c assets/letter_h.ply -o build/native/output && touch build/native/objects/letter_h.ply avdl -c assets/letter_i.ply -o build/native/output && touch build/native/objects/letter_i.ply avdl -c assets/letter_j.ply -o build/native/output && touch build/native/objects/letter_j.ply avdl -c assets/letter_k.ply -o build/native/output && touch build/native/objects/letter_k.ply avdl -c assets/letter_l.ply -o build/native/output && touch build/native/objects/letter_l.ply avdl -c assets/letter_m.ply -o build/native/output && touch build/native/objects/letter_m.ply avdl -c assets/letter_n.ply -o build/native/output && touch build/native/objects/letter_n.ply avdl -c assets/letter_o.ply -o build/native/output && touch build/native/objects/letter_o.ply avdl -c assets/letter_p.ply -o build/native/output && touch build/native/objects/letter_p.ply avdl -c assets/letter_q.ply -o build/native/output && touch build/native/objects/letter_q.ply avdl -c assets/letter_r.ply -o build/native/output && touch build/native/objects/letter_r.ply avdl -c assets/letter_s.ply -o build/native/output && touch build/native/objects/letter_s.ply avdl -c assets/letter_t.ply -o build/native/output && touch build/native/objects/letter_t.ply avdl -c assets/letter_u.ply -o build/native/output && touch build/native/objects/letter_u.ply avdl -c assets/letter_v.ply -o build/native/output && touch build/native/objects/letter_v.ply avdl -c assets/letter_w.ply -o build/native/output && touch build/native/objects/letter_w.ply avdl -c assets/letter_x.ply -o build/native/output && touch build/native/objects/letter_x.ply avdl -c assets/letter_y.ply -o build/native/output && touch build/native/objects/letter_y.ply avdl -c assets/letter_z.ply -o build/native/output && touch build/native/objects/letter_z.ply avdl -c assets/logo.ply -o build/native/output && touch build/native/objects/logo.ply avdl -c assets/logo_rue.ply -o build/native/output && touch build/native/objects/logo_rue.ply avdl -c assets/looking_at.ply -o build/native/output && touch build/native/objects/looking_at.ply avdl -c assets/overlay_background.ply -o build/native/output && touch build/native/objects/overlay_background.ply avdl -c assets/particle.ply -o build/native/output && touch build/native/objects/particle.ply avdl -c assets/stage_1.ply -o build/native/output && touch build/native/objects/stage_1.ply avdl -c assets/stage_2.ply -o build/native/output && touch build/native/objects/stage_2.ply avdl -c assets/table_1.ply -o build/native/output && touch build/native/objects/table_1.ply avdl -c assets/table_2.ply -o build/native/output && touch build/native/objects/table_2.ply avdl -c assets/table_arrow.ply -o build/native/output && touch build/native/objects/table_arrow.ply avdl -c assets/table_arrow_decoration.ply -o build/native/output && touch build/native/objects/table_arrow_decoration.ply avdl -c assets/ui_particle.ply -o build/native/output && touch build/native/objects/ui_particle.ply avdl -c assets/ui_particle_start.ply -o build/native/output && touch build/native/objects/ui_particle_start.ply avdl -c assets/card_approach.bmp -o build/native/output && touch build/native/objects/card_approach.bmp avdl -c assets/card_border_texture.bmp -o build/native/output && touch build/native/objects/card_border_texture.bmp avdl -c assets/card_corner_frown.bmp -o build/native/output && touch build/native/objects/card_corner_frown.bmp avdl -c assets/card_corner_heart.bmp -o build/native/output && touch build/native/objects/card_corner_heart.bmp avdl -c assets/card_corner_tear.bmp -o build/native/output && touch build/native/objects/card_corner_tear.bmp avdl -c assets/card_corner_thunder.bmp -o build/native/output && touch build/native/objects/card_corner_thunder.bmp avdl -c assets/card_empty.bmp -o build/native/output && touch build/native/objects/card_empty.bmp avdl -c assets/card_grab.bmp -o build/native/output && touch build/native/objects/card_grab.bmp avdl -c assets/card_grab_gen.bmp -o build/native/output && touch build/native/objects/card_grab_gen.bmp avdl -c assets/card_hold_one_step.bmp -o build/native/output && touch build/native/objects/card_hold_one_step.bmp avdl -c assets/card_ignore_move.bmp -o build/native/output && touch build/native/objects/card_ignore_move.bmp avdl -c assets/card_next_hand.bmp -o build/native/output && touch build/native/objects/card_next_hand.bmp avdl -c assets/card_one_step_cond.bmp -o build/native/output && touch build/native/objects/card_one_step_cond.bmp avdl -c assets/card_replace.bmp -o build/native/output && touch build/native/objects/card_replace.bmp avdl -c assets/card_rose_seeker.bmp -o build/native/output && touch build/native/objects/card_rose_seeker.bmp avdl -c assets/card_single_step.bmp -o build/native/output && touch build/native/objects/card_single_step.bmp avdl -c assets/card_trade.bmp -o build/native/output && touch build/native/objects/card_trade.bmp avdl -c assets/card_triple_step.bmp -o build/native/output && touch build/native/objects/card_triple_step.bmp avdl -c assets/card_tutorial.bmp -o build/native/output && touch build/native/objects/card_tutorial.bmp avdl -c assets/card_win.bmp -o build/native/output && touch build/native/objects/card_win.bmp avdl -c assets/character_1.bmp -o build/native/output && touch build/native/objects/character_1.bmp avdl -c assets/character_2.bmp -o build/native/output && touch build/native/objects/character_2.bmp avdl -c assets/character_3.bmp -o build/native/output && touch build/native/objects/character_3.bmp avdl -c assets/eng_white.bmp -o build/native/output && touch build/native/objects/eng_white.bmp avdl -c assets/logo_rue_texture.bmp -o build/native/output && touch build/native/objects/logo_rue_texture.bmp avdl -c assets/rose.bmp -o build/native/output && touch build/native/objects/rose.bmp avdl -c assets/table-rose.bmp -o build/native/output && touch build/native/objects/table-rose.bmp avdl -c assets/button-hover.wav -o build/native/output && touch build/native/objects/button-hover.wav avdl -c assets/button_click_big.wav -o build/native/output && touch build/native/objects/button_click_big.wav avdl -c assets/button_click_small.wav -o build/native/output && touch build/native/objects/button_click_small.wav avdl -c assets/card_deselect.wav -o build/native/output && touch build/native/objects/card_deselect.wav avdl -c assets/card_look.wav -o build/native/output && touch build/native/objects/card_look.wav avdl -c assets/card_place.wav -o build/native/output && touch build/native/objects/card_place.wav avdl -c assets/card_select.wav -o build/native/output && touch build/native/objects/card_select.wav avdl -c assets/game_theme.wav -o build/native/output && touch build/native/objects/game_theme.wav avdl -c assets/main_menu_theme.wav -o build/native/output && touch build/native/objects/main_menu_theme.wav avdl -c assets/dd_theme.ogg -o build/native/output && touch build/native/objects/dd_theme.ogg avdl -c assets/menu_copy.json -o build/native/output && touch build/native/objects/menu_copy.json build/native/objects/card.c: In function 'Card_create': build/native/objects/button.c: In function 'Button_create': build/native/objects/card.c:48:18: error: passing argument 1 of 'dd_matrix_create' from incompatible pointer type [-Wincompatible-pointer-types] 48 | dd_matrix_create(this); | ^~~~ | | | struct Card * build/native/objects/button.c:54:18: error: passing argument 1 of 'dd_matrix_create' from incompatible pointer type [-Wincompatible-pointer-types] 54 | dd_matrix_create(this); | ^~~~ | | | struct Button * In file included from /usr/include/dd_mesh.h:11, from /usr/include/dd_filetomesh.h:5, from /usr/include/avdl_cengine.h:7, from build/native/objects/button.c:1: /usr/include/dd_matrix.h:10:41: note: expected 'struct dd_matrix *' but argument is of type 'struct Button *' 10 | void dd_matrix_create(struct dd_matrix *m); | ~~~~~~~~~~~~~~~~~~^ In file included from /usr/include/dd_mesh.h:11, from /usr/include/dd_filetomesh.h:5, from /usr/include/avdl_cengine.h:7, from build/native/objects/card.c:1: /usr/include/dd_matrix.h:10:41: note: expected 'struct dd_matrix *' but argument is of type 'struct Card *' 10 | void dd_matrix_create(struct dd_matrix *m); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/button.c:74:20: error: passing argument 1 of 'dd_matrix_identity' from incompatible pointer type [-Wincompatible-pointer-types] 74 | dd_matrix_identity(this); | ^~~~ | | | struct Button * /usr/include/dd_matrix.h:16:43: note: expected 'struct dd_matrix *' but argument is of type 'struct Button *' 16 | void dd_matrix_identity(struct dd_matrix *m); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/card.c: In function 'Card_applyMatrix': build/native/objects/card.c:83:16: error: passing argument 2 of 'dd_matrix_mult' from incompatible pointer type [-Wincompatible-pointer-types] 83 | dd_multMatrixf(this); | ^~~~ | | | struct Card * /usr/include/dd_matrix.h:18:61: note: expected 'struct dd_matrix *' but argument is of type 'struct Card *' 18 | void dd_matrix_mult(struct dd_matrix *m1, struct dd_matrix *m2); | ~~~~~~~~~~~~~~~~~~^~ build/native/objects/button.c: In function 'Button_applyMatrixTransform': build/native/objects/button.c:142:16: error: passing argument 2 of 'dd_matrix_mult' from incompatible pointer type [-Wincompatible-pointer-types] 142 | dd_multMatrixf(this); | ^~~~ | | | struct Button * /usr/include/dd_matrix.h:18:61: note: expected 'struct dd_matrix *' but argument is of type 'struct Button *' 18 | void dd_matrix_mult(struct dd_matrix *m1, struct dd_matrix *m2); | ~~~~~~~~~~~~~~~~~~^~ build/native/objects/overlayButtons.c: In function 'OverlayButtons_create': build/native/objects/overlayButtons.c:71:18: error: passing argument 1 of 'dd_matrix_create' from incompatible pointer type [-Wincompatible-pointer-types] 71 | dd_matrix_create(this); | ^~~~ | | | struct OverlayButtons * In file included from /usr/include/dd_mesh.h:11, from /usr/include/dd_filetomesh.h:5, from /usr/include/avdl_cengine.h:7, from build/native/objects/overlayButtons.c:1: /usr/include/dd_matrix.h:10:41: note: expected 'struct dd_matrix *' but argument is of type 'struct OverlayButtons *' 10 | void dd_matrix_create(struct dd_matrix *m); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/main_game.c: In function 'dd_gameInit': build/native/objects/intro.c: In function 'world_intro_create': build/native/objects/main_game.c:294:1: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_menu *)' [-Wincompatible-pointer-types] 294 | dd_world_set_default(world_menu); | ^~~~~~~~~~~~~~~~~~~~ build/native/objects/intro.c:291:17: error: passing argument 1 of 'dd_world_create' from incompatible pointer type [-Wincompatible-pointer-types] 291 | dd_world_create(this); | ^~~~ | | | struct world_intro * In file included from /usr/include/avdl_cengine.h:14, from build/native/objects/intro.c:1: /usr/include/dd_world.h:41:22: note: expected 'struct dd_world *' but argument is of type 'struct world_intro *' 41 | void dd_world_create(struct dd_world *); | ^~~~~~~~~~~~~~~~~ build/native/objects/credits.c: In function 'world_credits_create': build/native/objects/intro.c:292:21: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_intro *)' [-Wincompatible-pointer-types] 292 | this->parent.create = world_intro_create; | ^ build/native/objects/intro.c:293:21: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_intro *)' [-Wincompatible-pointer-types] 293 | this->parent.onload = world_intro_onload; | ^ build/native/objects/intro.c:294:21: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_intro *)' [-Wincompatible-pointer-types] 294 | this->parent.resize = world_intro_resize; | ^ build/native/objects/intro.c:295:21: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_intro *)' [-Wincompatible-pointer-types] 295 | this->parent.update = world_intro_update; | ^ build/native/objects/intro.c:296:19: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_intro *)' [-Wincompatible-pointer-types] 296 | this->parent.draw = world_intro_draw; | ^ build/native/objects/intro.c:297:24: error: assignment to 'void (*)(struct dd_world *, unsigned char)' from incompatible pointer type 'void (*)(struct world_intro *, char)' [-Wincompatible-pointer-types] 297 | this->parent.key_input = world_intro_key_input; | ^ build/native/objects/intro.c:298:20: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_intro *)' [-Wincompatible-pointer-types] 298 | this->parent.clean = world_intro_clean; | ^ build/native/objects/credits.c:290:17: error: passing argument 1 of 'dd_world_create' from incompatible pointer type [-Wincompatible-pointer-types] 290 | dd_world_create(this); | ^~~~ | | | struct world_credits * In file included from /usr/include/avdl_cengine.h:14, from build/native/objects/credits.c:1: /usr/include/dd_world.h:41:22: note: expected 'struct dd_world *' but argument is of type 'struct world_credits *' 41 | void dd_world_create(struct dd_world *); | ^~~~~~~~~~~~~~~~~ build/native/objects/intro.c:307:23: error: passing argument 1 of 'this->logo.set_colour' from incompatible pointer type [-Wincompatible-pointer-types] 307 | this->logo.set_colour(&this->logo, 0.067000, 0.067000, 0.067000); | ^~~~~~~~~~~ | | | struct dd_meshColour * build/native/objects/intro.c:307:23: note: expected 'struct dd_mesh *' but argument is of type 'struct dd_meshColour *' build/native/objects/credits.c:291:21: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_credits *)' [-Wincompatible-pointer-types] 291 | this->parent.create = world_credits_create; | ^ build/native/objects/credits.c:292:21: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_credits *)' [-Wincompatible-pointer-types] 292 | this->parent.onload = world_credits_onload; | ^ build/native/objects/credits.c:293:21: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_credits *)' [-Wincompatible-pointer-types] 293 | this->parent.resize = world_credits_resize; | ^ build/native/objects/credits.c:294:21: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_credits *)' [-Wincompatible-pointer-types] 294 | this->parent.update = world_credits_update; | ^ build/native/objects/credits.c:295:19: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_credits *)' [-Wincompatible-pointer-types] 295 | this->parent.draw = world_credits_draw; | ^ build/native/objects/credits.c:296:24: error: assignment to 'void (*)(struct dd_world *, unsigned char)' from incompatible pointer type 'void (*)(struct world_credits *, char)' [-Wincompatible-pointer-types] 296 | this->parent.key_input = world_credits_key_input; | ^ build/native/objects/credits.c:297:26: error: assignment to 'void (*)(struct dd_world *, int, int)' from incompatible pointer type 'void (*)(struct world_credits *, int, int)' [-Wincompatible-pointer-types] 297 | this->parent.mouse_input = world_credits_mouse_input; | ^ build/native/objects/credits.c:298:20: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_credits *)' [-Wincompatible-pointer-types] 298 | this->parent.clean = world_credits_clean; | ^ build/native/objects/credits.c: In function 'world_credits_onload': build/native/objects/credits.c:325:1: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_menu *)' [-Wincompatible-pointer-types] 325 | dd_world_prepare(world_menu, 1.000000); | ^~~~~~~~~~~~~~~~ build/native/objects/intro.c: In function 'world_intro_update': build/native/objects/intro.c:373:1: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_menu *)' [-Wincompatible-pointer-types] 373 | dd_world_prepareReady(world_menu, 1); | ^~~~~~~~~~~~~~~~~~~~~ build/native/objects/credits.c: In function 'world_credits_mouse_input': build/native/objects/credits.c:394:8: error: 'return' with a value, in function returning void [-Wreturn-mismatch] 394 | return 0; | ^ build/native/objects/credits.c:385:6: note: declared here 385 | void world_credits_mouse_input(struct world_credits *this, int button, int type) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ avdl: error compiling file: build/native/objects/button.c make: *** [makefile:93: build/native/objects/button.o] Error 255 avdl: error compiling file: build/native/objects/card.c make: *** Waiting for unfinished jobs.... make: *** [makefile:93: build/native/objects/card.o] Error 255 avdl: error compiling file: build/native/objects/main_game.c make: *** [makefile:93: build/native/objects/main_game.o] Error 255 avdl: error compiling file: build/native/objects/intro.c make: *** [makefile:93: build/native/objects/intro.o] Error 255 avdl: error compiling file: build/native/objects/credits.c make: *** [makefile:93: build/native/objects/credits.o] Error 255 build/native/objects/menu_home.c: In function 'menu_home_create': build/native/objects/menu_home.c:114:18: error: passing argument 1 of 'dd_matrix_create' from incompatible pointer type [-Wincompatible-pointer-types] 114 | dd_matrix_create(this); | ^~~~ | | | struct menu_home * In file included from /usr/include/dd_mesh.h:11, from /usr/include/dd_filetomesh.h:5, from /usr/include/avdl_cengine.h:7, from build/native/objects/menu_home.c:1: /usr/include/dd_matrix.h:10:41: note: expected 'struct dd_matrix *' but argument is of type 'struct menu_home *' 10 | void dd_matrix_create(struct dd_matrix *m); | ~~~~~~~~~~~~~~~~~~^ avdl: error compiling file: build/native/objects/overlayButtons.c build/native/objects/player.c: In function 'Player_create': build/native/objects/player.c:99:18: error: passing argument 1 of 'dd_matrix_create' from incompatible pointer type [-Wincompatible-pointer-types] 99 | dd_matrix_create(this); | ^~~~ | | | struct Player * In file included from /usr/include/dd_mesh.h:11, from /usr/include/dd_filetomesh.h:5, from /usr/include/avdl_cengine.h:7, from build/native/objects/player.c:1: /usr/include/dd_matrix.h:10:41: note: expected 'struct dd_matrix *' but argument is of type 'struct Player *' 10 | void dd_matrix_create(struct dd_matrix *m); | ~~~~~~~~~~~~~~~~~~^ make: *** [makefile:93: build/native/objects/overlayButtons.o] Error 255 build/native/objects/player.c: In function 'Player_drawAI': build/native/objects/player.c:183:16: error: passing argument 2 of 'dd_matrix_mult' from incompatible pointer type [-Wincompatible-pointer-types] 183 | dd_multMatrixf(this); | ^~~~ | | | struct Player * /usr/include/dd_matrix.h:18:61: note: expected 'struct dd_matrix *' but argument is of type 'struct Player *' 18 | void dd_matrix_mult(struct dd_matrix *m1, struct dd_matrix *m2); | ~~~~~~~~~~~~~~~~~~^~ build/native/objects/menu_stages.c: In function 'menu_stages_create': build/native/objects/player.c: In function 'Player_calculateCardPositions': build/native/objects/menu_stages.c:110:18: error: passing argument 1 of 'dd_matrix_create' from incompatible pointer type [-Wincompatible-pointer-types] 110 | dd_matrix_create(this); | ^~~~ | | | struct menu_stages * In file included from /usr/include/dd_mesh.h:11, from /usr/include/dd_filetomesh.h:5, from /usr/include/avdl_cengine.h:7, from build/native/objects/menu_stages.c:1: /usr/include/dd_matrix.h:10:41: note: expected 'struct dd_matrix *' but argument is of type 'struct menu_stages *' 10 | void dd_matrix_create(struct dd_matrix *m); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/player.c:270:41: error: passing argument 2 of 'dd_matrix_mult' from incompatible pointer type [-Wincompatible-pointer-types] 270 | dd_matrix_mult(&this->cards[i]->target, this); | ^~~~ | | | struct Player * /usr/include/dd_matrix.h:18:61: note: expected 'struct dd_matrix *' but argument is of type 'struct Player *' 18 | void dd_matrix_mult(struct dd_matrix *m1, struct dd_matrix *m2); | ~~~~~~~~~~~~~~~~~~^~ build/native/objects/player.c: In function 'Player_calculateCardPositionsUser': build/native/objects/player.c:284:41: error: passing argument 2 of 'dd_matrix_mult' from incompatible pointer type [-Wincompatible-pointer-types] 284 | dd_matrix_mult(&this->cards[i]->target, this); | ^~~~ | | | struct Player * /usr/include/dd_matrix.h:18:61: note: expected 'struct dd_matrix *' but argument is of type 'struct Player *' 18 | void dd_matrix_mult(struct dd_matrix *m1, struct dd_matrix *m2); | ~~~~~~~~~~~~~~~~~~^~ build/native/objects/menu_home.c: In function 'menu_home_clean': build/native/objects/menu_home.c:300:14: error: passing argument 1 of 'Button_clean' from incompatible pointer type [-Wincompatible-pointer-types] 300 | Button_clean(&this->button); | ^~~~~~~~~~~~~ | | | struct Button (*)[5] build/native/objects/menu_home.c:49:34: note: expected 'struct Button *' but argument is of type 'struct Button (*)[5]' 49 | void Button_clean(struct Button *this); | ~~~~~~~~~~~~~~~^~~~ build/native/objects/menu_custom_game.c: In function 'menu_custom_game_create': build/native/objects/menu_custom_game.c:113:18: error: passing argument 1 of 'dd_matrix_create' from incompatible pointer type [-Wincompatible-pointer-types] 113 | dd_matrix_create(this); | ^~~~ | | | struct menu_custom_game * In file included from /usr/include/dd_mesh.h:11, from /usr/include/dd_filetomesh.h:5, from /usr/include/avdl_cengine.h:7, from build/native/objects/menu_custom_game.c:1: /usr/include/dd_matrix.h:10:41: note: expected 'struct dd_matrix *' but argument is of type 'struct menu_custom_game *' 10 | void dd_matrix_create(struct dd_matrix *m); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/menu_stages.c: In function 'menu_stages_clean': build/native/objects/menu_stages.c:332:14: error: passing argument 1 of 'Button_clean' from incompatible pointer type [-Wincompatible-pointer-types] 332 | Button_clean(&this->button); | ^~~~~~~~~~~~~ | | | struct Button (*)[7] build/native/objects/menu_stages.c:49:34: note: expected 'struct Button *' but argument is of type 'struct Button (*)[7]' 49 | void Button_clean(struct Button *this); | ~~~~~~~~~~~~~~~^~~~ build/native/objects/options.c: In function 'options_create': build/native/objects/options.c:100:18: error: passing argument 1 of 'dd_matrix_create' from incompatible pointer type [-Wincompatible-pointer-types] 100 | dd_matrix_create(this); | ^~~~ | | | struct options * In file included from /usr/include/dd_mesh.h:11, from /usr/include/dd_filetomesh.h:5, from /usr/include/avdl_cengine.h:7, from build/native/objects/options.c:1: /usr/include/dd_matrix.h:10:41: note: expected 'struct dd_matrix *' but argument is of type 'struct options *' 10 | void dd_matrix_create(struct dd_matrix *m); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/menu_custom_game.c: In function 'menu_custom_game_clean': build/native/objects/menu_custom_game.c:424:14: error: passing argument 1 of 'Button_clean' from incompatible pointer type [-Wincompatible-pointer-types] 424 | Button_clean(&this->button); | ^~~~~~~~~~~~~ | | | struct Button (*)[7] build/native/objects/menu_custom_game.c:49:34: note: expected 'struct Button *' but argument is of type 'struct Button (*)[7]' 49 | void Button_clean(struct Button *this); | ~~~~~~~~~~~~~~~^~~~ build/native/objects/options.c: In function 'options_clean': avdl: error compiling file: build/native/objects/menu_home.c avdl: error compiling file: build/native/objects/player.c build/native/objects/options.c:354:14: error: passing argument 1 of 'Button_clean' from incompatible pointer type [-Wincompatible-pointer-types] 354 | Button_clean(&this->button); | ^~~~~~~~~~~~~ | | | struct Button (*)[6] build/native/objects/options.c:49:34: note: expected 'struct Button *' but argument is of type 'struct Button (*)[6]' 49 | void Button_clean(struct Button *this); | ~~~~~~~~~~~~~~~^~~~ make: *** [makefile:93: build/native/objects/menu_home.o] Error 255 make: *** [makefile:93: build/native/objects/player.o] Error 255 avdl: error compiling file: build/native/objects/menu_stages.c make: *** [makefile:93: build/native/objects/menu_stages.o] Error 255 avdl: error compiling file: build/native/objects/menu_custom_game.c make: *** [makefile:93: build/native/objects/menu_custom_game.o] Error 255 build/native/objects/menu.c: In function 'world_menu_create': build/native/objects/menu.c:557:17: error: passing argument 1 of 'dd_world_create' from incompatible pointer type [-Wincompatible-pointer-types] 557 | dd_world_create(this); | ^~~~ | | | struct world_menu * In file included from /usr/include/avdl_cengine.h:14, from build/native/objects/menu.c:1: /usr/include/dd_world.h:41:22: note: expected 'struct dd_world *' but argument is of type 'struct world_menu *' 41 | void dd_world_create(struct dd_world *); | ^~~~~~~~~~~~~~~~~ build/native/objects/menu.c:558:21: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_menu *)' [-Wincompatible-pointer-types] 558 | this->parent.create = world_menu_create; | ^ build/native/objects/menu.c:559:21: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_menu *)' [-Wincompatible-pointer-types] 559 | this->parent.onload = world_menu_onload; | ^ build/native/objects/menu.c:560:21: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_menu *)' [-Wincompatible-pointer-types] 560 | this->parent.resize = world_menu_resize; | ^ build/native/objects/menu.c:561:21: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_menu *)' [-Wincompatible-pointer-types] 561 | this->parent.update = world_menu_update; | ^ build/native/objects/menu.c:562:19: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_menu *)' [-Wincompatible-pointer-types] 562 | this->parent.draw = world_menu_draw; | ^ build/native/objects/menu.c:563:24: error: assignment to 'void (*)(struct dd_world *, unsigned char)' from incompatible pointer type 'void (*)(struct world_menu *, char)' [-Wincompatible-pointer-types] 563 | this->parent.key_input = world_menu_key_input; | ^ build/native/objects/menu.c:564:26: error: assignment to 'void (*)(struct dd_world *, int, int)' from incompatible pointer type 'void (*)(struct world_menu *, int, int)' [-Wincompatible-pointer-types] 564 | this->parent.mouse_input = world_menu_mouse_input; | ^ build/native/objects/menu.c:565:20: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_menu *)' [-Wincompatible-pointer-types] 565 | this->parent.clean = world_menu_clean; | ^ build/native/objects/menu.c:580:61: error: passing argument 2 of 'this->bgParticleSystem.assignAsset' from incompatible pointer type [-Wincompatible-pointer-types] 580 | this->bgParticleSystem.assignAsset(&this->bgParticleSystem, &this->bgParticleMesh); | ^~~~~~~~~~~~~~~~~~~~~ | | | struct dd_meshColour * build/native/objects/menu.c:580:61: note: expected 'struct dd_mesh *' but argument is of type 'struct dd_meshColour *' avdl: error compiling file: build/native/objects/options.c make: *** [makefile:93: build/native/objects/options.o] Error 255 build/native/objects/menu.c: In function 'world_menu_mouse_input': build/native/objects/menu.c:720:1: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_credits *)' [-Wincompatible-pointer-types] 720 | dd_world_prepare(world_credits, 1.000000); | ^~~~~~~~~~~~~~~~ build/native/objects/menu.c:734:1: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_game *)' [-Wincompatible-pointer-types] 734 | dd_world_prepare(world_game, 1.000000); | ^~~~~~~~~~~~~~~~ build/native/objects/menu.c:748:1: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_game *)' [-Wincompatible-pointer-types] 748 | dd_world_prepare(world_game, 1.000000); | ^~~~~~~~~~~~~~~~ avdl: error compiling file: build/native/objects/menu.c make: *** [makefile:93: build/native/objects/menu.o] Error 255 build/native/objects/game.c: In function 'world_game_create': build/native/objects/game.c:569:17: error: passing argument 1 of 'dd_world_create' from incompatible pointer type [-Wincompatible-pointer-types] 569 | dd_world_create(this); | ^~~~ | | | struct world_game * In file included from /usr/include/avdl_cengine.h:14, from build/native/objects/game.c:1: /usr/include/dd_world.h:41:22: note: expected 'struct dd_world *' but argument is of type 'struct world_game *' 41 | void dd_world_create(struct dd_world *); | ^~~~~~~~~~~~~~~~~ build/native/objects/game.c:570:21: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_game *)' [-Wincompatible-pointer-types] 570 | this->parent.create = world_game_create; | ^ build/native/objects/game.c:571:21: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_game *)' [-Wincompatible-pointer-types] 571 | this->parent.onload = world_game_onload; | ^ build/native/objects/game.c:572:21: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_game *)' [-Wincompatible-pointer-types] 572 | this->parent.update = world_game_update; | ^ build/native/objects/game.c:573:19: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_game *)' [-Wincompatible-pointer-types] 573 | this->parent.draw = world_game_draw; | ^ build/native/objects/game.c:574:24: error: assignment to 'void (*)(struct dd_world *, unsigned char)' from incompatible pointer type 'void (*)(struct world_game *, char)' [-Wincompatible-pointer-types] 574 | this->parent.key_input = world_game_key_input; | ^ build/native/objects/game.c:575:26: error: assignment to 'void (*)(struct dd_world *, int, int)' from incompatible pointer type 'void (*)(struct world_game *, int, int)' [-Wincompatible-pointer-types] 575 | this->parent.mouse_input = world_game_mouse_input; | ^ build/native/objects/game.c:576:20: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_game *)' [-Wincompatible-pointer-types] 576 | this->parent.clean = world_game_clean; | ^ build/native/objects/game.c:755:20: error: passing argument 1 of 'dd_matrix_identity' from incompatible pointer type [-Wincompatible-pointer-types] 755 | dd_matrix_identity(&this->cards[i]); | ^~~~~~~~~~~~~~~ | | | struct Card * In file included from /usr/include/dd_mesh.h:11, from /usr/include/dd_filetomesh.h:5, from /usr/include/avdl_cengine.h:7: /usr/include/dd_matrix.h:16:43: note: expected 'struct dd_matrix *' but argument is of type 'struct Card *' 16 | void dd_matrix_identity(struct dd_matrix *m); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/game.c:912:16: error: passing argument 1 of 'dd_matrix_copy' from incompatible pointer type [-Wincompatible-pointer-types] 912 | dd_matrix_copy(&this->tutCards[i], &this->tutCards[i].target); | ^~~~~~~~~~~~~~~~~~ | | | struct Card * /usr/include/dd_matrix.h:17:39: note: expected 'struct dd_matrix *' but argument is of type 'struct Card *' 17 | void dd_matrix_copy(struct dd_matrix *m1, struct dd_matrix *m2); | ~~~~~~~~~~~~~~~~~~^~ build/native/objects/game.c:925:16: error: passing argument 1 of 'dd_matrix_copy' from incompatible pointer type [-Wincompatible-pointer-types] 925 | dd_matrix_copy(&this->cards[i], &this->cards[i].target); | ^~~~~~~~~~~~~~~ | | | struct Card * /usr/include/dd_matrix.h:17:39: note: expected 'struct dd_matrix *' but argument is of type 'struct Card *' 17 | void dd_matrix_copy(struct dd_matrix *m1, struct dd_matrix *m2); | ~~~~~~~~~~~~~~~~~~^~ build/native/objects/game.c:941:28: error: assignment to 'struct dd_meshTexture *' from incompatible pointer type 'struct dd_meshTexture (*)[15]' [-Wincompatible-pointer-types] 941 | this->player[0].cardFronts = &this->cardFront; | ^ build/native/objects/game.c:942:28: error: assignment to 'struct dd_string3d *' from incompatible pointer type 'struct dd_string3d (*)[22]' [-Wincompatible-pointer-types] 942 | this->player[0].cardLabels = &this->cardLabel; | ^ build/native/objects/game.c:953:20: error: passing argument 1 of 'dd_matrix_identity' from incompatible pointer type [-Wincompatible-pointer-types] 953 | dd_matrix_identity(&this->player[i]); | ^~~~~~~~~~~~~~~~ | | | struct Player * /usr/include/dd_matrix.h:16:43: note: expected 'struct dd_matrix *' but argument is of type 'struct Player *' 16 | void dd_matrix_identity(struct dd_matrix *m); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/game.c:954:18: error: passing argument 1 of 'dd_matrix_rotate' from incompatible pointer type [-Wincompatible-pointer-types] 954 | dd_matrix_rotate(&this->player[i], angle, 0, -1, 0); | ^~~~~~~~~~~~~~~~ | | | struct Player * /usr/include/dd_matrix.h:25:44: note: expected 'struct dd_matrix *' but argument is of type 'struct Player *' 25 | void dd_matrix_rotate (struct dd_matrix *m, float rad, float x, float y, float z); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/game.c:955:21: error: passing argument 1 of 'dd_matrix_translate' from incompatible pointer type [-Wincompatible-pointer-types] 955 | dd_matrix_translate(&this->player[i], 0, 0, 4); | ^~~~~~~~~~~~~~~~ | | | struct Player * /usr/include/dd_matrix.h:23:44: note: expected 'struct dd_matrix *' but argument is of type 'struct Player *' 23 | void dd_matrix_translate(struct dd_matrix *m, float x, float y, float z); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/game.c:958:18: error: passing argument 1 of 'dd_matrix_rotate' from incompatible pointer type [-Wincompatible-pointer-types] 958 | dd_matrix_rotate(&this->player[i], offset, 0, 1, 0); | ^~~~~~~~~~~~~~~~ | | | struct Player * /usr/include/dd_matrix.h:25:44: note: expected 'struct dd_matrix *' but argument is of type 'struct Player *' 25 | void dd_matrix_rotate (struct dd_matrix *m, float rad, float x, float y, float z); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/game.c:959:18: error: passing argument 1 of 'dd_matrix_rotate' from incompatible pointer type [-Wincompatible-pointer-types] 959 | dd_matrix_rotate(&this->player[i], 180, 0, 1, 0); | ^~~~~~~~~~~~~~~~ | | | struct Player * /usr/include/dd_matrix.h:25:44: note: expected 'struct dd_matrix *' but argument is of type 'struct Player *' 25 | void dd_matrix_rotate (struct dd_matrix *m, float rad, float x, float y, float z); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/game.c:964:28: error: assignment to 'struct dd_meshTexture *' from incompatible pointer type 'struct dd_meshTexture (*)[15]' [-Wincompatible-pointer-types] 964 | this->player[i].cardFronts = &this->cardFront; | ^ build/native/objects/game.c:977:28: error: assignment to 'struct dd_string3d *' from incompatible pointer type 'struct dd_string3d (*)[22]' [-Wincompatible-pointer-types] 977 | this->player[i].cardLabels = &this->cardLabel; | ^ build/native/objects/game.c:979:20: error: passing argument 1 of 'dd_matrix_identity' from incompatible pointer type [-Wincompatible-pointer-types] 979 | dd_matrix_identity(&this->player[0]); | ^~~~~~~~~~~~~~~~ | | | struct Player * /usr/include/dd_matrix.h:16:43: note: expected 'struct dd_matrix *' but argument is of type 'struct Player *' 16 | void dd_matrix_identity(struct dd_matrix *m); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/game.c:980:21: error: passing argument 1 of 'dd_matrix_translate' from incompatible pointer type [-Wincompatible-pointer-types] 980 | dd_matrix_translate(&this->player[0], 0, 0, 5); | ^~~~~~~~~~~~~~~~ | | | struct Player * /usr/include/dd_matrix.h:23:44: note: expected 'struct dd_matrix *' but argument is of type 'struct Player *' 23 | void dd_matrix_translate(struct dd_matrix *m, float x, float y, float z); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/game.c: In function 'world_game_update': build/native/objects/game.c:1099:16: error: passing argument 1 of 'dd_matrix_copy' from incompatible pointer type [-Wincompatible-pointer-types] 1099 | dd_matrix_copy(&this->roseCard, &this->roseCard.target); | ^~~~~~~~~~~~~~~ | | | struct Card * /usr/include/dd_matrix.h:17:39: note: expected 'struct dd_matrix *' but argument is of type 'struct Card *' 17 | void dd_matrix_copy(struct dd_matrix *m1, struct dd_matrix *m2); | ~~~~~~~~~~~~~~~~~~^~ build/native/objects/game.c:1812:20: error: passing argument 1 of 'dd_matrix_approach' from incompatible pointer type [-Wincompatible-pointer-types] 1812 | dd_matrix_approach(&this->cards[i], &this->cards[i].target, 0.100000); | ^~~~~~~~~~~~~~~ | | | struct Card * /usr/include/dd_matrix.h:26:44: note: expected 'struct dd_matrix *' but argument is of type 'struct Card *' 26 | void dd_matrix_approach (struct dd_matrix *m, struct dd_matrix *target, float counter); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/game.c:1814:20: error: passing argument 1 of 'dd_matrix_approach' from incompatible pointer type [-Wincompatible-pointer-types] 1814 | dd_matrix_approach(&this->roseCard, &this->roseCard.target, 0.100000); | ^~~~~~~~~~~~~~~ | | | struct Card * /usr/include/dd_matrix.h:26:44: note: expected 'struct dd_matrix *' but argument is of type 'struct Card *' 26 | void dd_matrix_approach (struct dd_matrix *m, struct dd_matrix *target, float counter); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/game.c:1817:20: error: passing argument 1 of 'dd_matrix_approach' from incompatible pointer type [-Wincompatible-pointer-types] 1817 | dd_matrix_approach(&this->tutCards[i], &this->tutCards[i].target, 0.100000); | ^~~~~~~~~~~~~~~~~~ | | | struct Card * /usr/include/dd_matrix.h:26:44: note: expected 'struct dd_matrix *' but argument is of type 'struct Card *' 26 | void dd_matrix_approach (struct dd_matrix *m, struct dd_matrix *target, float counter); | ~~~~~~~~~~~~~~~~~~^ build/native/objects/game.c: In function 'world_game_key_input': build/native/objects/game.c:1945:1: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_menu *)' [-Wincompatible-pointer-types] 1945 | dd_world_prepare(world_menu, 1.000000); | ^~~~~~~~~~~~~~~~ build/native/objects/game.c: In function 'world_game_clean': build/native/objects/game.c:1961:18: error: passing argument 1 of 'GameAction_clean' from incompatible pointer type [-Wincompatible-pointer-types] 1961 | GameAction_clean(&this->actions); | ^~~~~~~~~~~~~~ | | | struct GameAction (*)[100] build/native/objects/game.c:147:42: note: expected 'struct GameAction *' but argument is of type 'struct GameAction (*)[100]' 147 | void GameAction_clean(struct GameAction *this); | ~~~~~~~~~~~~~~~~~~~^~~~ build/native/objects/game.c:1962:18: error: passing argument 1 of 'GameAction_clean' from incompatible pointer type [-Wincompatible-pointer-types] 1962 | GameAction_clean(&this->injectActions); | ^~~~~~~~~~~~~~~~~~~~ | | | struct GameAction (*)[100] build/native/objects/game.c:147:42: note: expected 'struct GameAction *' but argument is of type 'struct GameAction (*)[100]' 147 | void GameAction_clean(struct GameAction *this); | ~~~~~~~~~~~~~~~~~~~^~~~ build/native/objects/game.c:1977:22: error: passing argument 1 of 'dd_meshTexture_clean' from incompatible pointer type [-Wincompatible-pointer-types] 1977 | dd_meshTexture_clean(&this->cardFront); | ^~~~~~~~~~~~~~~~ | | | struct dd_meshTexture (*)[15] In file included from /usr/include/avdl_cengine.h:11: /usr/include/dd_meshTexture.h:30:50: note: expected 'struct dd_meshTexture *' but argument is of type 'struct dd_meshTexture (*)[15]' 30 | void dd_meshTexture_clean(struct dd_meshTexture *m); | ~~~~~~~~~~~~~~~~~~~~~~~^ build/native/objects/game.c:1978:16: error: passing argument 1 of 'dd_image_clean' from incompatible pointer type [-Wincompatible-pointer-types] 1978 | dd_image_clean(&this->cardFrontTexture); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | struct dd_image (*)[15] In file included from /usr/include/dd_meshTexture.h:5: /usr/include/dd_image.h:33:38: note: expected 'struct dd_image *' but argument is of type 'struct dd_image (*)[15]' 33 | void dd_image_clean(struct dd_image *o); | ~~~~~~~~~~~~~~~~~^ build/native/objects/game.c:1979:22: error: passing argument 1 of 'dd_meshTexture_clean' from incompatible pointer type [-Wincompatible-pointer-types] 1979 | dd_meshTexture_clean(&this->cardCorner); | ^~~~~~~~~~~~~~~~~ | | | struct dd_meshTexture (*)[4] /usr/include/dd_meshTexture.h:30:50: note: expected 'struct dd_meshTexture *' but argument is of type 'struct dd_meshTexture (*)[4]' 30 | void dd_meshTexture_clean(struct dd_meshTexture *m); | ~~~~~~~~~~~~~~~~~~~~~~~^ build/native/objects/game.c:1980:16: error: passing argument 1 of 'dd_image_clean' from incompatible pointer type [-Wincompatible-pointer-types] 1980 | dd_image_clean(&this->cardCornerTexture); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | struct dd_image (*)[4] /usr/include/dd_image.h:33:38: note: expected 'struct dd_image *' but argument is of type 'struct dd_image (*)[4]' 33 | void dd_image_clean(struct dd_image *o); | ~~~~~~~~~~~~~~~~~^ build/native/objects/game.c:1981:12: error: passing argument 1 of 'Card_clean' from incompatible pointer type [-Wincompatible-pointer-types] 1981 | Card_clean(&this->cards); | ^~~~~~~~~~~~ | | | struct Card (*)[53] build/native/objects/game.c:34:30: note: expected 'struct Card *' but argument is of type 'struct Card (*)[53]' 34 | void Card_clean(struct Card *this); | ~~~~~~~~~~~~~^~~~ build/native/objects/game.c:1982:12: error: passing argument 1 of 'Card_clean' from incompatible pointer type [-Wincompatible-pointer-types] 1982 | Card_clean(&this->tutCards); | ^~~~~~~~~~~~~~~ | | | struct Card (*)[20] build/native/objects/game.c:34:30: note: expected 'struct Card *' but argument is of type 'struct Card (*)[20]' 34 | void Card_clean(struct Card *this); | ~~~~~~~~~~~~~^~~~ build/native/objects/game.c:1985:22: error: passing argument 1 of 'dd_meshTexture_clean' from incompatible pointer type [-Wincompatible-pointer-types] 1985 | dd_meshTexture_clean(&this->playerMesh); | ^~~~~~~~~~~~~~~~~ | | | struct dd_meshTexture (*)[2] /usr/include/dd_meshTexture.h:30:50: note: expected 'struct dd_meshTexture *' but argument is of type 'struct dd_meshTexture (*)[2]' 30 | void dd_meshTexture_clean(struct dd_meshTexture *m); | ~~~~~~~~~~~~~~~~~~~~~~~^ build/native/objects/game.c:1986:16: error: passing argument 1 of 'dd_image_clean' from incompatible pointer type [-Wincompatible-pointer-types] 1986 | dd_image_clean(&this->playerTexture); | ^~~~~~~~~~~~~~~~~~~~ | | | struct dd_image (*)[2] /usr/include/dd_image.h:33:38: note: expected 'struct dd_image *' but argument is of type 'struct dd_image (*)[2]' 33 | void dd_image_clean(struct dd_image *o); | ~~~~~~~~~~~~~~~~~^ build/native/objects/game.c:1987:14: error: passing argument 1 of 'Player_clean' from incompatible pointer type [-Wincompatible-pointer-types] 1987 | Player_clean(&this->player); | ^~~~~~~~~~~~~ | | | struct Player (*)[10] build/native/objects/game.c:86:34: note: expected 'struct Player *' but argument is of type 'struct Player (*)[10]' 86 | void Player_clean(struct Player *this); | ~~~~~~~~~~~~~~~^~~~ build/native/objects/game.c:1993:19: error: passing argument 1 of 'dd_string3d_clean' from incompatible pointer type [-Wincompatible-pointer-types] 1993 | dd_string3d_clean(&this->cardLabel); | ^~~~~~~~~~~~~~~~ | | | struct dd_string3d (*)[22] In file included from /usr/include/avdl_cengine.h:21: /usr/include/dd_string3d.h:51:44: note: expected 'struct dd_string3d *' but argument is of type 'struct dd_string3d (*)[22]' 51 | void dd_string3d_clean(struct dd_string3d *o); | ~~~~~~~~~~~~~~~~~~~~^ build/native/objects/game.c: In function 'world_game_mouse_input': build/native/objects/game.c:2012:1: error: assignment to 'void (*)(struct dd_world *)' from incompatible pointer type 'void (*)(struct world_menu *)' [-Wincompatible-pointer-types] 2012 | dd_world_prepare(world_menu, 1.000000); | ^~~~~~~~~~~~~~~~ build/native/objects/game.c: In function 'GameAction_create': build/native/objects/game.c:2263:18: error: passing argument 1 of 'dd_matrix_create' from incompatible pointer type [-Wincompatible-pointer-types] 2263 | dd_matrix_create(this); | ^~~~ | | | struct GameAction * /usr/include/dd_matrix.h:10:41: note: expected 'struct dd_matrix *' but argument is of type 'struct GameAction *' 10 | void dd_matrix_create(struct dd_matrix *m); | ~~~~~~~~~~~~~~~~~~^ avdl: error compiling file: build/native/objects/game.c make: *** [makefile:93: build/native/objects/game.o] Error 255 >>> ERROR: rue: build failed >>> rue: Uninstalling dependencies... (1/111) Purging .makedepends-rue (20240929.200712) (2/111) Purging glew-dev (2.2.0-r5) (3/111) Purging libxmu-dev (1.1.4-r2) (4/111) Purging libxmu (1.1.4-r2) (5/111) Purging libxi-dev (1.8.2-r0) (6/111) Purging libxi (1.8.2-r0) (7/111) Purging glew (2.2.0-r5) (8/111) Purging sdl2_mixer-dev (2.8.0-r0) (9/111) Purging sdl2_mixer (2.8.0-r0) (10/111) Purging avdl (0.4.3-r1) (11/111) Purging agetty-openrc (0.55.1-r0) (12/111) Purging agetty (2.40.2-r3) (13/111) Purging blkid (2.40.2-r3) (14/111) Purging cfdisk (2.40.2-r3) (15/111) Purging findmnt (2.40.2-r3) (16/111) Purging flock (2.40.2-r3) (17/111) Purging fstrim (2.40.2-r3) (18/111) Purging glu-dev (9.0.3-r3) (19/111) Purging glu (9.0.3-r3) (20/111) Purging hexdump (2.40.2-r3) (21/111) Purging libxt-dev (1.3.0-r5) (22/111) Purging libxt (1.3.0-r5) (23/111) Purging logger (2.40.2-r3) (24/111) Purging losetup (2.40.2-r3) (25/111) Purging lsblk (2.40.2-r3) (26/111) Purging lscpu (2.40.2-r3) (27/111) Purging mcookie (2.40.2-r3) (28/111) Purging mount (2.40.2-r3) (29/111) Purging partx (2.40.2-r3) (30/111) Purging python3-pyc (3.12.6-r0) (31/111) Purging python3-pycache-pyc0 (3.12.6-r0) (32/111) Purging xcb-proto-pyc (1.16.0-r1) (33/111) Purging pyc (3.12.6-r0) (34/111) Purging runuser (2.40.2-r3) (35/111) Purging sdl2-dev (2.30.7-r0) (36/111) Purging sdl2 (2.30.7-r0) (37/111) Purging mesa-dev (24.2.3-r0) (38/111) Purging libxdamage-dev (1.1.6-r5) (39/111) Purging libxdamage (1.1.6-r5) (40/111) Purging libxshmfence-dev (1.3.2-r6) (41/111) Purging mesa-egl (24.2.3-r0) (42/111) Purging mesa-gbm (24.2.3-r0) (43/111) Purging mesa-gl (24.2.3-r0) (44/111) Purging mesa-gles (24.2.3-r0) (45/111) Purging mesa-osmesa (24.2.3-r0) (46/111) Purging mesa-xatracker (24.2.3-r0) (47/111) Purging mesa (24.2.3-r0) (48/111) Purging setpriv (2.40.2-r3) (49/111) Purging sfdisk (2.40.2-r3) (50/111) Purging umount (2.40.2-r3) (51/111) Purging util-linux-misc (2.40.2-r3) (52/111) Purging setarch (2.40.2-r3) (53/111) Purging util-linux-openrc (2.40.2-r3) (54/111) Purging uuidgen (2.40.2-r3) (55/111) Purging wayland-libs-client (1.23.1-r0) (56/111) Purging wayland-libs-server (1.23.1-r0) (57/111) Purging wipefs (2.40.2-r3) (58/111) Purging libxxf86vm-dev (1.1.5-r6) (59/111) Purging libxxf86vm (1.1.5-r6) (60/111) Purging libxfixes-dev (6.0.1-r4) (61/111) Purging libxfixes (6.0.1-r4) (62/111) Purging libxext-dev (1.3.6-r2) (63/111) Purging libxext (1.3.6-r2) (64/111) Purging libx11-dev (1.8.10-r0) (65/111) Purging xtrans (1.5.0-r0) (66/111) Purging libx11 (1.8.10-r0) (67/111) Purging libxcb-dev (1.16.1-r0) (68/111) Purging libxcb (1.16.1-r0) (69/111) Purging xcb-proto (1.16.0-r1) (70/111) Purging python3 (3.12.6-r0) (71/111) Purging gdbm (1.24-r0) (72/111) Purging libdrm-dev (2.4.123-r0) (73/111) Purging linux-headers (6.6-r0) (74/111) Purging libdrm (2.4.123-r0) (75/111) Purging libpciaccess-dev (0.18.1-r0) (76/111) Purging libpciaccess (0.18.1-r0) (77/111) Purging hwdata-pci (0.387-r0) (78/111) Purging libsm-dev (1.2.4-r4) (79/111) Purging libsm (1.2.4-r4) (80/111) Purging util-linux-dev (2.40.2-r3) (81/111) Purging libfdisk (2.40.2-r3) (82/111) Purging libmount (2.40.2-r3) (83/111) Purging libsmartcols (2.40.2-r3) (84/111) Purging libuuid (2.40.2-r3) (85/111) Purging util-linux (2.40.2-r3) (86/111) Purging libblkid (2.40.2-r3) (87/111) Purging libxdmcp-dev (1.1.5-r1) (88/111) Purging libxdmcp (1.1.5-r1) (89/111) Purging libbsd (0.12.2-r0) (90/111) Purging libbz2 (1.0.8-r6) (91/111) Purging libcap-ng (0.8.5-r0) (92/111) Purging libeconf (0.6.3-r0) (93/111) Purging libelf (0.191-r0) (94/111) Purging llvm18-libs (18.1.8-r0) (95/111) Purging libffi (3.4.6-r0) (96/111) Purging libice-dev (1.1.1-r6) (97/111) Purging libice (1.1.1-r6) (98/111) Purging libmd (1.1.0-r0) (99/111) Purging libpanelw (6.5_p20240601-r1) (100/111) Purging libxau-dev (1.0.11-r4) (101/111) Purging libxau (1.0.11-r4) (102/111) Purging libxml2 (2.12.8-r0) (103/111) Purging libxshmfence (1.3.2-r6) (104/111) Purging linux-pam (1.6.1-r1) (105/111) Purging mesa-glapi (24.2.3-r0) (106/111) Purging mpdecimal (4.0.0-r0) (107/111) Purging sqlite-dev (3.46.1-r0) (108/111) Purging sqlite-libs (3.46.1-r0) (109/111) Purging sqlite (3.46.1-r0) (110/111) Purging xorgproto (2024.1-r0) (111/111) Purging xz-libs (5.6.2-r0) Executing busybox-1.36.1-r32.trigger OK: 251 MiB in 105 packages