Errors compiling on mac osx, please help

support for the ARM toolchain
Post Reply
jast_im3
Posts: 2
Joined: Sun Apr 04, 2010 7:35 am

Errors compiling on mac osx, please help

Post by jast_im3 » Sun Apr 04, 2010 7:42 am

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
################################

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Errors compiling on mac osx, please help

Post by WinterMute » Sun Apr 04, 2010 10:07 am

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
Help keep devkitPro toolchains free, Donate today

Personal Blog

jast_im3
Posts: 2
Joined: Sun Apr 04, 2010 7:35 am

Re: Errors compiling on mac osx, please help

Post by jast_im3 » Sun Apr 04, 2010 5:53 pm

Just fixed it, it turned out that I didn't extract the libnds files correctly

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests