Can't build nds examples
Posted: Mon Jul 20, 2009 11:00 pm
I got some errors when trying to build the nds examples :
(I'm using Mac OS 10.5.7)
Is there something wrong with my install ?Last login: Mon Jul 20 23:56:22 on ttys000
Tael67:~ pierre$ cd '/opt/devkitpro/examples/nds/'
Tael67:nds pierre$ make
make[4]: `/opt/devkitpro/examples/nds/Graphics/3D/3D_Both_Screens/3D_Both_Screens.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/3D/BoxTest/BoxTest.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/3D/Display_List/Display_List.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/3D/Display_List_2/Display_List_2.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/3D/Env_Mapping/Env_Mapping.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/3D/Mixed_Text_3D/Mixed_Text_3D.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/3D/Ortho/Ortho.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/3D/Paletted_Cube/Paletted_Cube.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/3D/Picking/Picking.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/3D/Simple_Quad/Simple_Quad.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/3D/Simple_Tri/Simple_Tri.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/3D/Textured_Cube/Textured_Cube.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/3D/Textured_Quad/Textured_Quad.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/3D/Toon_Shading/Toon_Shading.nds' is up to date.
make[5]: `/opt/devkitpro/examples/nds/Graphics/3D/nehe/lesson01/lesson01.nds' is up to date.
make[5]: `/opt/devkitpro/examples/nds/Graphics/3D/nehe/lesson02/lesson02.nds' is up to date.
make[5]: `/opt/devkitpro/examples/nds/Graphics/3D/nehe/lesson03/lesson03.nds' is up to date.
make[5]: `/opt/devkitpro/examples/nds/Graphics/3D/nehe/lesson04/lesson04.nds' is up to date.
make[5]: `/opt/devkitpro/examples/nds/Graphics/3D/nehe/lesson05/lesson05.nds' is up to date.
make[5]: `/opt/devkitpro/examples/nds/Graphics/3D/nehe/lesson06/lesson06.nds' is up to date.
make[5]: `/opt/devkitpro/examples/nds/Graphics/3D/nehe/lesson07/lesson07.nds' is up to date.
make[5]: `/opt/devkitpro/examples/nds/Graphics/3D/nehe/lesson08/lesson08.nds' is up to date.
make[5]: `/opt/devkitpro/examples/nds/Graphics/3D/nehe/lesson09/lesson09.nds' is up to date.
make[5]: `/opt/devkitpro/examples/nds/Graphics/3D/nehe/lesson10/lesson10.nds' is up to date.
make[5]: `/opt/devkitpro/examples/nds/Graphics/3D/nehe/lesson10b/lesson10b.nds' is up to date.
make[5]: `/opt/devkitpro/examples/nds/Graphics/3D/nehe/lesson11/lesson11.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/Backgrounds/16bit_color_bmp/16bit_color_bmp.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/Backgrounds/256_color_bmp/256_color_bmp.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/Backgrounds/Double_Buffer/Double_Buffer.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/Backgrounds/all_in_one/all_in_one.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/Backgrounds/rotation/rotation.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/Printing/ansi_console/ansi_console.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/Printing/console_windows/console_windows.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/Printing/custom_font/custom_font.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/Printing/print_both_screens/print_both_screens.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/Printing/rotscale_text/rotscale_text.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/Sprites/allocation_test/allocation_test.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/Sprites/animate_simple/animate_simple.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/Sprites/bitmap_sprites/bitmap_sprites.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/Sprites/fire_and_sprites/fire_and_sprites.nds' is up to date.
make[4]: `/opt/devkitpro/examples/nds/Graphics/Sprites/simple/simple.nds' is up to date.
template.c
arm-eabi-gcc -MMD -MP -MF /opt/devkitpro/examples/nds/Graphics/Sprites/sprite_extended_palettes/build/template.d -g -Wall -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/opt/devkitpro/examples/nds/Graphics/Sprites/sprite_extended_palettes/include -I/opt/devkitpro/libnds/include -I/opt/devkitpro/libnds/include -I/opt/devkitpro/examples/nds/Graphics/Sprites/sprite_extended_palettes/build -DARM9 -c /opt/devkitpro/examples/nds/Graphics/Sprites/sprite_extended_palettes/source/template.c -o template.o
/opt/devkitpro/examples/nds/Graphics/Sprites/sprite_extended_palettes/source/template.c: In function 'main':
/opt/devkitpro/examples/nds/Graphics/Sprites/sprite_extended_palettes/source/template.c:42: error: incompatible types when assigning to type '_palette' from type 'int'
/opt/devkitpro/examples/nds/Graphics/Sprites/sprite_extended_palettes/source/template.c:43: error: incompatible types when assigning to type '_palette' from type 'int'
make[4]: *** [template.o] Error 1
make[3]: *** [build] Error 2
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make: *** [examples] Error 1
Tael67:nds pierre$
(I'm using Mac OS 10.5.7)