gba-examples icon indicating copy to clipboard operation
gba-examples copied to clipboard

Examples do not build on latest toolchain

Open aronson opened this issue 1 year ago • 2 comments

Bug Report

I tried to build the examples here on the latest devkitARM on my Mac.

What's the issue you encountered?

~/sources/gba-examples ❯ make

ScoutSplash.pcx
tune.bgf
PlayBoyScout.c
/Users/isaac/sources/gba-examples/audio/PlayBoyScout/source/PlayBoyScout.c:8:10: fatal error: pcx.h: No such file or directory
    8 | #include <pcx.h>
      |          ^~~~~~~
compilation terminated.
make[3]: *** [PlayBoyScout.o] Error 1
make[2]: *** [build] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1

How can the issue be reproduced?

Build the examples with the latest toolchain.

Environment?

  • What host OS are you using?
                    'c.          [email protected]
                 ,xNMM.          --------------------
               .OMMMMo           OS: macOS 14.4.1 23E224 arm64
               OMMM0,            Host: MacBookPro18,2
     .;loddo:' loolloddol;.      Kernel: 23.4.0
   cKMMMMMMMMMMNWMMMMMMMMMM0:    Uptime: 2 days, 21 mins
 .KMMMMMMMMMMMMMMMMMMMMMMMWd.    Packages: 493 (brew)
 XMMMMMMMMMMMMMMMMMMMMMMMX.      Shell: zsh 5.9
;MMMMMMMMMMMMMMMMMMMMMMMM:       Resolution: 2056x1329
:MMMMMMMMMMMMMMMMMMMMMMMM:       DE: Aqua
.MMMMMMMMMMMMMMMMMMMMMMMMX.      WM: Quartz Compositor
 kMMMMMMMMMMMMMMMMMMMMMMMMWd.    WM Theme: Blue (Dark)
 .XMMMMMMMMMMMMMMMMMMMMMMMMMMk   Terminal: WarpTerminal
  .XMMMMMMMMMMMMMMMMMMMMMMMMK.   CPU: Apple M1 Max
    kMMMMMMMMMMMMMMMMMMMMMMd     GPU: Apple M1 Max
     ;KMMMMMMMWXXWMMMMMMMk.      Memory: 8718MiB / 65536MiB
       .cooc,.    .,coo:.
  • Official release or unofficial/self-compiled build:
    • Official.

Additional context?

  • Additional info about your environment:
    • This happens in a fresh VM as well.

aronson avatar May 14 '24 06:05 aronson

The same happens on Windows.

GValiente avatar May 14 '24 06:05 GValiente

It also happens on Linux.

PlayBoyScout.c
/home/jack/Downloads/tonc/gba-examples-master/audio/PlayBoyScout/source/PlayBoyScout.c:8:10: fatal error: pcx.h: No such file or directory
    8 | #include <pcx.h>
      |          ^~~~~~~
compilation terminated.

jackgriffith03 avatar May 20 '24 03:05 jackgriffith03