Jump to content



Photo
- - - - -

Prizmsdk Problem?

prizmsdk programming prizm

  • Please log in to reply
No replies to this topic

#1 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 28 June 2012 - 06:18 PM

I started making my first program in a couple months and got problems making the default code.

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.




Also tagged with one or more of these keywords: prizmsdk, programming, prizm

2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users