gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Audio > Compiling AAS examples

#28802 - doudou - Sat Nov 06, 2004 3:42 pm

I try to compile the AAS first example using the makefile and I have this error :

C:\Projets\GBA\tools\AAS\AASExample>make
rm -f *.o AASExample.gba AASExample.tmp symbols.h map.out
process_begin: CreateProcess((null), rm -f *.o AASExample.gba AASExample.tmp symbols.h map.out, ...) failed.
make (e=2): Le fichier specifie est introuvable. (this means unable to find specified file)
make: *** [clean] Error 2

#28803 - tepples - Sat Nov 06, 2004 4:48 pm

You need 'rm' (the UNIX equivalent of 'del') on your path to run this makefile. Try downloading and installing MSYS (a port of a few common UNIX commands to Windows, a smaller alternative to Cygwin) and then running the makefile from within MSYS.

But still, why a makefile's default target would delete things is beyond me. Isn't that the job of 'make clean' and friends?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#28836 - doudou - Sun Nov 07, 2004 3:15 pm

Great, i finally compiled the c++ example. Do I absolutly have to work in a UNIX shell to have those makefiles working ? If I change the rm by del would it work, is there any other commands to change ?

#28838 - Krakken - Sun Nov 07, 2004 3:25 pm

No, mSys will do it. Look again at tepples' post.