Here is the error:
flyingfisch@flyingfisch-Office-Computer:~/Desktop/PrizmSDK-0.3/projects/ballistics$ make/usr/local/cross/bin/sh3eb-elf-gcc -MMD -MP -MF /home/flyingfisch/Desktop/PrizmSDK-0.3/projects/ballistics/build/ballistics.d -Os -Wall -mb -m4a-nofpu -mhitachi -nostdlib -I/home/flyingfisch/Desktop/PrizmSDK-0.3/projects/ballistics/build -I/home/flyingfisch/Desktop/PrizmSDK-0.3/include -std=c99 -c /home/flyingfisch/Desktop/PrizmSDK-0.3/projects/ballistics/src/ballistics.c -o ballistics.o /home/flyingfisch/Desktop/PrizmSDK-0.3/projects/ballistics/src/ballistics.c:4:6: warning: return type of 'main' is not 'int' [-Wmain]/home/flyingfisch/Desktop/PrizmSDK-0.3/projects/ballistics/src/ballistics.c: In function 'main':/home/flyingfisch/Desktop/PrizmSDK-0.3/projects/ballistics/src/ballistics.c:6:10: warning: variable 'blah' set but not used [-Wunused-but-set-variable]/usr/local/cross/bin/sh3eb-elf-gcc ballistics.o -mb -m4a-nofpu -mhitachi -nostdlib -T/home/flyingfisch/Desktop/PrizmSDK-0.3/common/prizm.ld -Wl,-static -Wl,-gc-sections -L/home/flyingfisch/Desktop/PrizmSDK-0.3/lib -lfxcg -lgcc -o /home/flyingfisch/Desktop/PrizmSDK-0.3/projects/ballistics/ballistics.binmkg3a -n basic:ballistics -i uns:../unselected.bmp -i sel:../selected.bmp /home/flyingfisch/Desktop/PrizmSDK-0.3/projects/ballistics/ballistics.bin /home/flyingfisch/Desktop/PrizmSDK-0.3/projects/ballistics/ballistics.g3aUnsupported PNG bit depth or color type, must be RGB-8make[1]: *** [/home/flyingfisch/Desktop/PrizmSDK-0.3/projects/ballistics/ballistics.g3a] Segmentation faultmake: *** [build] Error 2
And here is the code:
#include <display_syscalls.h> #include <keyboard_syscalls.h> void main(void) { int key; char blah[10]; blah[1]='k'; while (1) { Bdisp_AllClr_VRAM(); GetKey(&key); switch (key) { } } return; }
Could anyone help me out?
EDIT:
Turned out it was just a bad icon set.
Edited by flyingfisch, 28 June 2012 - 06:32 PM.