3DS examples not compiling for me

Post Reply
Posts: 2
Joined: Sun Jun 15, 2014 10:07 am

3DS examples not compiling for me

Post by TheCodingBrony » Wed Sep 16, 2015 3:44 am

So I've updated devKitARM to the latest toolchain release alongside libctru so I can start tinkering with 3DS homebrew development out of curiosity. It took me a short while to compile picasso myself so I can compile the GPU accelerated graphics examples but there seems to be something wrong with the toolchain's header files according to the following make output.

Code: Select all

arm-none-eabi-gcc -MMD -MP -MF /c/devkitpro/examples/3ds/graphics/gpu/textured_cube/build/3dmath.d -g -Wall -O2 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -tune=mpcore -mfloat-abi=hard -I/c/devkitpro/examples/3ds/graphics/gpu/textured_cube/include -I/c/devkitPro/libctru/include -I/c/devkitpro/examples/3ds/graphics/gpu/textured_cube/build -ARM11 -D_3DS -c /c/devkitpro/examples/3ds/graphics/gpu/textured_cube/source/3dmath.c -o 3dmath.o
In file included from c:\devkitpro\devkitarm\arm-none-eabi\include\sys\reent.h:15:0,
                 from c:\devkitpro\devkitarm\arm-none-eabi\include\math.h:5,
                 from c:/devkitpro/examples/3ds/graphics/gpu/textured_cube/source/3dmath.h:9,
                 from c:/devkitpro/examples/3ds/graphics/gpu/textured_cube/source/3dmath.c:1:
c:\devkitpro\devkitarm\arm-none-eabi\include\sys\_types.h:76:5: error: unknown type name 'wint_t'
     wint_t __wch;
make[1]: *** [3dmath.o] Error 1
make: *** [build] Error 2
This only happens when using devKitARM to compile 3DS examples but not the DS examples for some reason.

Any useful help will be greatly appreciated...

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests