examples not compiling
Posted: Tue Feb 10, 2009 6:32 am
i'm trying to make the transition from pa-lib. Having some trouble however. When i wipe my whole devkitpro folder and do a fresh install of the latest toolchain, i can't get any of the examples to compile. Here is the message from the hello world example:
I noticed that when i download and install using the updater, i have issues with everything being in unix format (linefeed characters with no carriage returns). Even after i do a bunch of conversions (which is a pain because i can't find the tool i used to use, so i'm trying a bunch of different tools that all suck. anyone have a good crlf converter that can do whole directories including subdirectories at once?), i still get errors. Any ideas what i'm doing wrong?
Code: Select all
C:\devkitpro\examples\nds\Graphics\2D\hello_world>make clean
clean ...
C:\devkitpro\examples\nds\Graphics\2D\hello_world>make
main.cpp
arm-eabi-g++ -MMD -MP -MF /c/devkitpro/examples/nds/Graphics/2D/hello_world/buil
d/main.d -g -Wall -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffas
t-math -mthumb -mthumb-interwork -I/c/devkitpro/examples/nds/Graphics/2D/hello_w
orld/include -I/c/devkitpro/examples/nds/Graphics/2D/hello_world/build -I/c/devk
itPro/libnds/include -I/c/devkitPro/libnds/include -I/c/devkitpro/examples/nds/G
raphics/2D/hello_world/build -DARM9 -fno-rtti -fno-exceptions -c /c/devkitpro/ex
amples/nds/Graphics/2D/hello_world/source/main.cpp -o main.o
make[1]: execvp: arm-eabi-g++: Bad file number
make[1]: *** [main.o] Error 127
make: *** [build] Error 2
C:\devkitpro\examples\nds\Graphics\2D\hello_world>pause
Press any key to continue . . .