Page 1 of 1

Errors compiling on mac osx, please help

Posted: Sun Apr 04, 2010 7:42 am
by jast_im3
Hi there,

just started looking into devkitPro and ran into a problem where when i type make to compile the simple hello_world example it produces this error
"failed to open input file"


I am sure that i installed everything correctly and set the shell's environment variables correctly,

please help

###############################
jast_im3$ make
main.cpp
arm-eabi-g++ -MMD -MP -MF /Users/jast_im3/devkitPro/examples/nds/card/eeprom/build/main.d -g -Wall -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/Users/jast_im3/devkitPro/examples/nds/card/eeprom/include -I/Users/jast_im3/devkitPro/libnds/include -I/Users/jast_im3/devkitPro/libnds/include -I/Users/jast_im3/devkitPro/examples/nds/card/eeprom/build -DARM9 -fno-rtti -fno-exceptions -c /Users/jast_im3/devkitPro/examples/nds/card/eeprom/source/main.cpp -o main.o
linking eeprom.elf
Nintendo DS rom tool 1.47 - Mar 25 2010
by Rafael Vuijk, Dave Murphy, Alexei Karpenko
failed to open input file
make[2]: *** [/Users/jast_im3/devkitPro/examples/nds/card/eeprom/eeprom.nds] Error 1
make[1]: *** [build] Error 2
make: *** [all] Error 1
################################

Re: Errors compiling on mac osx, please help

Posted: Sun Apr 04, 2010 10:07 am
by WinterMute
Sorry, keep meaning to make those errors more meaningful. You haven't installed the default arm7 binary

http://wiki.devkitpro.org/index.php/Get ... /devkitARM

Re: Errors compiling on mac osx, please help

Posted: Sun Apr 04, 2010 5:53 pm
by jast_im3
Just fixed it, it turned out that I didn't extract the libnds files correctly