Could someone compile this for me? main.c inside

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
fabry20
Posts: 1
Joined: Wed Sep 21, 2005 12:06 am

Could someone compile this for me? main.c inside

Post by fabry20 »

As the title says...
My old PC's died two days ago , and i can't be able to get the SDK compiler to work on the laptop..
so...
here is the main.c ..

http://fabry20.altervista.org/main.c PLEEEEEASE
User avatar
EdwardFMA
Posts: 40
Joined: Wed Jul 06, 2005 11:47 am

Post by EdwardFMA »

psp-gcc -I. -IC:/PSPDev/psp/sdk/include -O2 -G0 -Wall -c -o main.o main.c
main.c:24:22: error: pspsircs.h: No such file or directory
main.c: In function 'send_code':
main.c:48: error: storage size of 'sd' isn't known
main.c:56: warning: implicit declaration of function 'sceSircsSend'
main.c:48: warning: unused variable 'sd'
main.c: In function 'main':
main.c:98: error: 'SceCtrlData' undeclared (first use in this function)
main.c:98: error: (Each undeclared identifier is reported only once
main.c:98: error: for each function it appears in.)
main.c:98: error: parse error before 'pad'
main.c:109: error: 'PSP_CTRL_MODE_ANALOG' undeclared (first use in this function)
main.c:133: error: 'pad' undeclared (first use in this function)
main.c:194: error: 'PSP_CTRL_SELECT' undeclared (first use in this function)
main.c:194: error: 'PSP_CTRL_LTRIGGER' undeclared (first use in this function)
main.c:200: error: 'PSP_CTRL_START' undeclared (first use in this function)
main.c:206: error: 'PSP_CTRL_RTRIGGER' undeclared (first use in this function)
main.c:233: error: 'PSP_CTRL_SQUARE' undeclared (first use in this function)
main.c:238: error: 'PSP_CTRL_CIRCLE' undeclared (first use in this function)
main.c:243: error: 'PSP_CTRL_TRIANGLE' undeclared (first use in this function)
main.c:248: error: 'PSP_CTRL_CROSS' undeclared (first use in this function)
main.c:253: error: 'PSP_CTRL_UP' undeclared (first use in this function)
main.c:258: error: 'PSP_CTRL_DOWN' undeclared (first use in this function)
main.c:263: error: 'PSP_CTRL_LEFT' undeclared (first use in this function)
main.c:268: error: 'PSP_CTRL_RIGHT' undeclared (first use in this function)
main.c:442:2: warning: no newline at end of file
make: *** [main.o] Error 1
Ok i got your link to work,but this is what i get when i try to compile it
EdwardFMA/IchigoKurosaki - PSP Expert
Athlon 64 - Socket 939 - 3000+
1GB 333 DDR-Ram
Geforce 6600 GT PCI-Express

Orbis PSP Development
Open-Source Development
Post Reply