Hydr8gon / sm64

A port of Super Mario 64 for the DSi
Creative Commons Zero v1.0 Universal
130 stars 9 forks source link

`error: implicit declaration of function 'enableSound'` when building using Docker #42

Closed bemxio closed 4 months ago

bemxio commented 4 months ago

Hello, I am trying to build the DSi port with Docker, however after extracting assets and building binaries, it returns:

src/nds/arm7/main.c: In function 'main':
src/nds/arm7/main.c:43:5: error: implicit declaration of function 'enableSound' [-Wimplicit-function-declaration]
   43 |     enableSound();
      |     ^~~~~~~~~~~
make: *** [Makefile:779: build/us_nds/arm7/src/nds/arm7/main.o] Error 1

Maybe devkitARM has had some major change that broke that, or perhaps it could be an issue on my side?

Hydr8gon commented 4 months ago

That's my bad for not merging #41 sooner. It should work with the latest source now.

bemxio commented 4 months ago

Hmm, seems like that's not it, I tried re-building the ROM, removing my previous downloaded images and container but it still returns that error at the same moment as before.

Hydr8gon commented 4 months ago

Oh yeah, the flag needs to be set for the ARM7 as well. It should be fixed for real this time!

bemxio commented 4 months ago

Yup, the ROM builds nicely without any errors now, thank you!