-
Notifications
You must be signed in to change notification settings - Fork 61
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
Examples not building on Linux #1
Comments
Hi, I have been able to build some examples, the tests and Butano Fighter on a fresh installation of Ubuntu 20. Have you been able to build some of the devkitARM examples? |
It seems that most of the devkitARM examples build, but a few don't XD . |
Update: |
Good! Could you do a full rebuild of a butano project ( |
I forgot to say about five hours ago that when I built it in an Ubuntu VM it worked, so it may actually be a problem with my system's compiler for some reason (likely a change I made), so a reinstall would fix it. |
Reinstalling GCC did work, it built... |
Hey, you are not the first one with compiler issues :) I'm glad it worked. Thanks for looking at it (and keep trying until it worked). |
/opt/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/ld: btn_hw_audio.o: in function
btn::hw::audio::init()': /home/farlandercraft/2Drive/GBADev/butano/butano/hw/src/btn_hw_audio.cpp:139: undefined reference to
_btn_audio_soundbank_bin'collect2: error: ld returned 1 exit status
make[1]: *** [/opt/devkitpro/devkitARM/gba_rules:25: /home/farlandercraft/2Drive/GBADev/butano/tests/tests.elf] Error 1
make: *** [/home/farlandercraft/2Drive/GBADev/butano/butano/butano.mak:137: build] Error 2
I get an error saying "butano/hw/src/btn_hw_audio.cpp:139: undefined reference to
_btn_audio_soundbank_bin
"every time I try to build any of the examples, or Butano Fighter. Please fix this soon ;-; ...
(Arch Linux, Kernel 5.9.1-arch1-1, gcc version 10.2.0.)
The text was updated successfully, but these errors were encountered: