Compiling MAME4ALL for Dreamcast with DCDev R2 ISO
I need a bit of help with the subject...
I installed the DCDev environment with the ISO with no problems.
I then extracted MAME4ALL to my home folder in c:/cygwin/home/user/mame4all
Then renamed makefile.dc to makefile and typed make. This is what it shows up:
User@Laptop /home/user/mame
$ make
kos-c++ -c src/mame.cpp -o src/mame.o
In file included from src/sdl/gp2x_mame.h:13,
from src/driver.h:15,
from src/mame.cpp:1:
src/sdl/minimal.h:23:17: SDL.h: No such file or directory
In file included from src/sdl/gp2x_mame.h:13,
from src/driver.h:15,
from src/mame.cpp:1:
src/sdl/minimal.h:72: error: expected init-declarator before '*' token
src/sdl/minimal.h:72: error: expected `,' or `;' before '*' token
src/mame.cpp: In function `int updatescreen()':
src/mame.cpp:385: error: `SDL_Delay' undeclared (first use this function)
src/mame.cpp:385: error: (Each undeclared identifier is reported only once for e
ach function it appears in.)
make: *** [src/mame.o] Error 1
User@Laptop /home/user/mame
$
Can someone please tell me what I am doing wrong or point me in the right direction?
I also tried compiling the GP2X version by renaming makefile.gp2x to makefile. This is what it shows up this time:
User@Laptop /home/user/mame
$ make
arm-linux-g++ -mcpu=arm920 -mtune=arm920t -msoft-float -mstructure-size-boundar
y=8 -DGP2X -IE:/tmp/franxis/devkitGP2X/sysroot/usr/include -O3 -DDATA_PREFIX=\"d
ata/\" -DROM_PREFIX=\"example\" -O3 -fstrict-aliasing -fexpensive-optimizations
-falign-functions -fweb -frename-registers -fomit-frame-pointer -ffast-math -fi
nline -finline-functions -fno-builtin -fno-common -Isrc -Isrc/gp2x -DLSB_FIRST -
DSIGNED_SAMPLES -DACORN -DINLINE="static __inline__" -Isrc/z80 -Isrc/m6502 -Isrc
/m6809 -Isrc/i86 -Isrc/tms34010 -Isrc/tms9900 -DUSE_Z80_GP -DNO_DRIVER_GENERIC_
8BIT -DNO_DRIVER_TMS -DUSE_M68000_GP -DUSE_CYCLONE -DNO_DRIVER_TMNT -DNO_DRIVER_
SYSTEM16 -DUSE_M6809_GP -DUSE_M6502_GP -DNO_DRIVER_CPS1 -DUSE_I8039_GP -DUSE_I80
85_GP -DNO_DRIVER_NEOGEO -DUSE_YM2151_GP -DUSE_YM2XXX_GP -DUSE_AY8910_GP -DUSE_A
DPCM_GP -DUSE_OKIM6295_GP -DUSE_MSM5205_GP -DMITSHM -DGP2X_SDLWRAPPER_NODOUBLEBU
FFER -DNO_Z80_BIG_FLAGS_ARRAY -DNO_SPLASH -DUSE_CPLUS -DSND_CHANNELS_REDUCTION -
DFAME_N_ENTRIES=64 -DUNZIP_SUPPORT -DZLIB -DHAVE_MKSTEMP -DHAVE_STRINGS_H '-DACC
EPT_SIZE_T=int' -c -o src/mame.o src/mame.cpp
/bin/sh: arm-linux-g++: command not found
make: *** [src/mame.o] Error 127
User@Laptop /home/user/mame
$
I'm fighting with devkitGP2X this time. I changed the makefile so it says DEVKIT=/home/user/devkitGP2X/
But it still doesn't find arm-linux-g++.
Any clues?
TIA