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.

DS development > Problem with compiling..

#79932 - Kamjin - Mon Apr 17, 2006 9:43 am

I seem to have some sort of makefile/path problem, with compiling source outside of the examples included, and small stuff I've written myself with the template makefile (they work fine)..
here's an example when trying to compile scumm, it seems to happen with everything I've downloaded so far to test with.
Code:

                 from ../source/cdaudio.cpp:20:
c:/devkitPro/msys/home/bob/scummvm/backends/ds/arm9/../../../common/scummsys.h
:300:25: error: nds/jtypes.h: No such file or directory
In file included from ../source/cdaudio.cpp:24:
c:/devkitPro/msys/home/bob/scummvm/backends/ds/arm9/source/dsmain.h:4:17: error: nds.h: No such file or directory
In file included from ../source/cdaudio.cpp:25:
c:/devkitPro/msys/home/bob/scummvm/backends/ds/arm9/../commoninclude/nds/ipc.h
:36:20: error: jtypes.h: No such file or directory
make[2]: *** [../source/cdaudio.o] Error 1
make[1]: *** [build] Error 2
make: *** [all] Error 2


What am I missing?

#79935 - swimgod - Mon Apr 17, 2006 10:00 am

jtypes.h
thats what...
you said this in your error
Code:

jtypes.h: No such file or directory


so your missing jtypes.h :P
_________________

1x WII 2x remotes
2x NDS/L(FMv7-ORG:v4,FMv7-org:DSL)
1x GBAMP
2x 1gb (MicroDrive{typeII}&SanDisk{typeI})
1x SuperPass2
1x Supercard-CF

MoonShell skins

#79938 - Kamjin - Mon Apr 17, 2006 10:33 am

Code:
main.cpp
arm-elf-g++ -MM -g -Wall -O2 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer
 -ffast-math -mthumb-interwork -I/home/bob/scummvm/backends/ds/arm7//C/devkitP
ro/libnds/include -I- -I/home/bob/scummvm/backends/ds/arm7/../commoninclude -I
/home/bob/scummvm/backends/ds/arm7/build -DARM7 -o main.d /home/bob/scummvm/
backends/ds/arm7/source/main.cpp
cc1plus.exe: note: obsolete option -I- used, please use -iquote instead
cc1plus.exe: note: obsolete option -I- used, please use -iquote instead
C:/devkitPro/msys/home/bob/scummvm/backends/ds/arm7/source/main.cpp:28:17: err
or: nds.h: No such file or directory
C:/devkitPro/msys/home/bob/scummvm/backends/ds/arm7/source/main.cpp:30:18: err
or: bios.h: No such file or directory
C:/devkitPro/msys/home/bob/scummvm/backends/ds/arm7/source/main.cpp:31:24: err
or: arm7/touch.h: No such file or directory
C:/devkitPro/msys/home/bob/scummvm/backends/ds/arm7/source/main.cpp:32:24: err
or: arm7/clock.h: No such file or directory
C:/devkitPro/msys/home/bob/scummvm/backends/ds/arm7/source/main.cpp:45: error:
 's32' does not name a type


Same logic would then also mean I'm missing nds.h...
as I mentioned b4 the built in examples, and anything I make using the template makefile doesn't seem to have a problem with the include paths..

#79939 - wintermute - Mon Apr 17, 2006 10:52 am

which would suggest that the scumm build process is broken, quite badly from the look of things.
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog